As far as XML is concerned, numeric character references are identical to 
the characters they represent. The XML APIs shouldn't make any 
distinction.

For implementation reasons, you *may* find that SAX delivers these as 
separate characters() events. But that is not guaranteed.

No XML application should ever care whether your document contains &, 
&#38;, &#x26;, or <![CDATA[&]]>... so I'd suggest that if you think you 
need this information, your design is probably broken and should be 
reconsidered.

______________________________________
"... Three things see no end: A loop with exit code done wrong,
A semaphore untested, And the change that comes along. ..."
  -- "Threes" Rev 1.1 - Duane Elms / Leslie Fish (
http://www.ovff.org/pegasus/songs/threes-rev-11.html)

Reply via email to