- From: <bugzilla@wiggum.w3.org>
- Date: Wed, 13 Jun 2007 18:35:12 +0000
- To: public-qt-comments@w3.org
- CC:
http://www.w3.org/Bugs/Public/show_bug.cgi?id=4646 Summary: K2-DirectConOther-59 Product: XML Query Test Suite Version: unspecified Platform: PC OS/Version: Windows XP Status: NEW Severity: normal Priority: P2 Component: XML Query Test Suite AssignedTo: frans.englich@telia.com ReportedBy: andrew.eisenberg@us.ibm.com QAContact: public-qt-comments@w3.org The query for this test case is: <elem attr=' '/> The expected result has an attribute value of: <elem attr=" "/> I believe that it should be: <elem attr=" "/> In case it does not display correctly, this attribute contains 111 space characters. In 3.7.1.1 Attributes, bullet 1 says: "Each consecutive sequence of literal characters in the attribute content is treated as a string containing those characters. Attribute value normalization is then applied to normalize whitespace and expand character references and predefined entity references. ... In either case, the normalization rules are applied as though the type of the attribute were CDATA (leading and trailing whitespace characters are not stripped.) ..." XML, section 3.3.3 Attribute-Value Normalization says: "If the attribute type is not CDATA, then the XML processor MUST further process the normalized attribute value by discarding any leading and trailing space (#x20) characters, and by replacing sequences of space (#x20) characters by a single space (#x20) character."
Received on Wednesday, 13 June 2007 18:35:14 UTC