Re: [xml] disabling entity replacement



On Tue, Apr 18, 2006 at 07:43:09PM -0400, Alex Khesin wrote:
I am building Atom/RSS SAX2 parser using libxml, and in order to
implement http://www.atomenabled.org/developers/syndication/#text for
type="xhtml", I need to be able to completely disable entity
replacement.

  What kind of entities ?
if you mean the 5 predefined entities, any XML parser will have to
substitute them for their code point value in the generated infoset.
Like for character references like A
Requiring a different behaviour is contrary to what an XML parser should
do.

Daniel

-- 
Daniel Veillard      | Red Hat http://redhat.com/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]