[Bug 2441] xqx: character references

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





------- Comment #14 from maxim.orgiyan@oracle.com  2006-09-28 17:43 -------
Also, you say "string literals in XQueryX should just encode the string in XML
not the XML encoding of  the XQuery encoding of the string. "

So, for example, string-length("<"), should in fact be encoded as:

<xqx:stringConstantExpr>
   <xqx:value>&lt;</xqx:value>
</xqx:stringConstantExpr>

So which characters should be replaced by entity refs when producing XQueryX? 
Seems that the stylesheet assumes ",',<,> should be replaced but not &?

Received on Thursday, 28 September 2006 17:43:57 UTC