Re: [xml] LibXml automatically expanding default entities like &quot

On Wed, Aug 31, 2005 at 07:33:54PM +0530, Arun S K (RBIN/EDM3) * wrote:
I use LibXml in perl and I get the following ambiguities

The default entities like "&quot" get expanded automatically if I parse
an xml file even though I have set "$parser->expand_entities(0);"

Could any body tell me how to suppress this expansion.

  You can't . Those are defined in the XML recommendation, and as far as I
can tell parser are expected to substitute them.


Daniel Veillard      | Red Hat Desktop team
veillard redhat com  | libxml GNOME XML XSLT toolkit | Rpmfind RPM search engine

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