- From: <bugzilla@wiggum.w3.org>
- Date: Tue, 14 Aug 2007 20:17:41 +0000
- To: public-qt-comments@w3.org
- CC:
http://www.w3.org/Bugs/Public/show_bug.cgi?id=4765
------- Comment #3 from andrew.eisenberg@us.ibm.com 2007-08-14 20:17 -------
I'd like to add a further explanation to Jim's response.
Both of the fragments that you've provided will produce attr="	" when the
XQueryX stylesheet is applied.
The XQueryX generated for some of the Const-attr-ws-* test cases was likely
incorrect until I applied a fix a week or so ago.
Let's consider Constr-attr-ws-2:
(: Name: Constr-attr-ws-2 :)
(: Written by: Andreas Behm :)
(: Description: Attribute normalization tab :)
<elem attr=" "/>
The XQueryX generate for this is now includes the following fragment:
<xqx:attributeConstructor>
<xqx:attributeName>attr</xqx:attributeName>
<xqx:attributeValue> </xqx:attributeValue>
</xqx:attributeConstructor>
The tab in the XQuery has become a space in XQueryX, so that both will generate
the same result.
Now consider Constr-attr-ws-5:
(: Name: Constr-attr-ws-5 :)
(: Written by: Andreas Behm :)
(: Description: Attribute normalization char ref 	 :)
<elem attr="	"/>
The XQueryX generate for this is now includes the following fragment:
<xqx:attributeConstructor>
<xqx:attributeName>attr</xqx:attributeName>
<xqx:attributeValue>	</xqx:attributeValue>
</xqx:attributeConstructor>
Again, both the XQuery and XQueryX will produce the same result.
Received on Tuesday, 14 August 2007 20:17:47 UTC