[Zope] RDFSummary issue

Dieter Maurer dieter at handshake.de
Thu Jul 22 15:03:09 EDT 2004


David Chandek-Stark wrote at 2004-7-20 15:46 -0400:
>It appears that either this product or a Python XML parsing function is 
>converting "&" into "&", instead of "&". Browsers don't 
>seem to mind, but Zope's TAL parser evidently doesn't recognize "&" 
>as an entity (not that it should)

The XML spec (following the SGML spec) allows "&#[0-9]+;"
as character entity references. Therfore, the "0" is not necessary
and "&" is perfectly valid.

I fear however, that the HTML parser used by TAL does not recognize
any entity reference but passes them unchanged.

If they happen to appear in a place where HTML quoting is active
they get quoted.

-- 
Dieter


More information about the Zope mailing list