There do not appear to be any rules saying that line endings in XQuery text are normalized. This means that the query: <a> gotcha! </a> will return a different infoset depending on how the text editor used to prepare the query represents line endings, and it will potentially produce a different infoset from the one produced by an XML parser when applied to the same input. I would recommend that line endings within XQuery input text should be normalized in the same way as XML line endings. And to avoid having to change the rules in the future, I would suggest that we use the XML 1.1 rules rather than the XML 1.0 rules. This rule should not apply to XPath; preprocessing of XPath input is the job of the host language. Michael Kay Software AGReceived on Friday, 21 November 2003 17:27:55 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:14:03 GMT