Next in thread → Next in month →

Re: [xml-dev] XML Parsers and how they handle internal entities (amp, quote, apos, etc...)

From
Karl Waclawek <>
To
Daniel Shane <>,
Date
2002-11-22T19:49:09Z
ID
<019801c29260$39930f90$9e539696@citkwaclaww2k>
Thread
Re: [xml-dev] XML Parsers and how they handle internal entities (amp, quote, apos, etc...)
> I have a small question here... when an XML parser parses a document, doest
> it have to expand internal entities like &apos; &quote; &lt; &gt; and &amp;?
> I am asking this question because expat seems to expand &apos; and &quote;
> but not &amp; and it is causing me some trouble. Is this a normal behavior?

You have to give specific examples, since entity expansion
can be tricky - see
http://www.w3.org/TR/REC-xml.html#intern-replacement ,
http://www.w3.org/TR/REC-xml.html#entproc and
http://www.w3.org/TR/REC-xml.html#sec-entexpand

Karl
Next in thread → Next in month →