Re: [xml] use of ctxt->replaceEntities



On Mon, Mar 12, 2001 at 11:43:16AM +0100, paul-libxml sponagl de wrote:
Hi,

i tried to use ctxt->replaceEntities = 0 to prevent the HTMLparser
from replacing the Entities :) I noticed that this will not work in
this way as htmlParseReference is not using this flag.

bug || feature || missunderstanding ?

  This is a feature of the XML parser. HTML entities are just
character references and are always replaced with their character
equivalent at parsing time.

Daniel

-- 
Daniel Veillard      | Red Hat Network http://redhat.com/products/network/
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]