[Bug 2441] xqx: character references

http://www.w3.org/Bugs/Public/show_bug.cgi?id=2441





------- Comment #25 from maxim.orgiyan@oracle.com  2006-09-29 17:51 -------
(In reply to comment #22)
> (In reply to comment #21)
> 
> > > For example:
> > > 
> > > <!--<?&-&lt;&#x20;><![CDATA[x]]>-->
> 
> Note also that this thread is about character and entity references, but that
> example does not have any character or entity references (just as it does not
> have any PI constructor or CDATA section) so is not really an example of
> anything discussed here. 
> 

I think this is definitely relevant. This is about encoding "&"
correctly, with the entity reference &amp;.

Moreover, I was commenting on the suggestion to 
" fix the xqueryx files in the distribution (running
sed -e s/&amp;/&/
over them all would do the job)", which would not be correct
given what the current generator outputs.

In any case, thanks for the feedback... I am making a tentative
modification to the generator
based on the common-sense interpretation of entity/character
ref processing, but will await Jim's confirmation before committing.

Received on Friday, 29 September 2006 17:52:01 UTC