[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Conformance Test question
- From: Gary Stephenson <garys@ihug.com.au>
- To: xml-dev@lists.xml.org
- Date: Wed, 15 Aug 2001 20:28:09 +1000
Hi Rick,
> Yes. A parameter entity is text. Markup is only parsed when a reference
> is replaced. When the entity is being read, the parser is interested in "
> not < or &.
>
> Similarly,
> <!ENTITY % x "¬hing;" >
> where there is no declaration for nothing is not an error until x is
actually referenced.
Yes. Thanks for clearing that up for me. I had accepted this to be the case
after the aforementioned posts from Rob Lugt, and had adjusted my processor
accordingly.
But of recent times I have been working with the Expat C parser, and it
appears to me to be impossible to support the above interpretation using Expat
"out-of-the-box". For this reason I wanted to confirm that the above was
indeed the correct interpretation before fumbling around trying to modify
Expat to conform (I'm afraid I'm a wee bit "C-challenged" <g>).
cheers,
gary