[Bug 5275] 1.0.3dev: Constr-attr-id-2, Constr-compattr-id-2, K2-ComputeConAttr-48

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

           Summary: 1.0.3dev: Constr-attr-id-2, Constr-compattr-id-2, K2-
                    ComputeConAttr-48
           Product: XML Query Test Suite
           Version: unspecified
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XML Query Test Suite
        AssignedTo: andrew.eisenberg@us.ibm.com
        ReportedBy: tim@cbcl.co.uk
         QAContact: public-qt-comments@w3.org


In queries Constr-attr-id-2, Constr-compattr-id-2 and K2-ComputeConAttr-48, the
error XQDY0091 may be raised.

After normalization and collapsing of whitespace, these attributes have value
'ab c d' - not valid NCNames.

"An implementation MAY raise a dynamic error if an xml:id error, as defined in
[XML ID], is encountered during construction of an attribute named xml:id."

http://www.w3.org/TR/xml-id/#processing

"The normalized value of the attribute is an NCName according to the Namespaces
in XML Recommendation which has the same version as the document in which this
attribute occurs (NCName for XML 1.0, or NCName for XML 1.1)."

(: Name: Constr-attr-id 2 :)
(: Written by: Andreas Behm :)
(: Description: attribute xml:id - content is to be further normalized :)

<elem xml:id="    a{'b    c


d','        '}"/>

Received on Monday, 19 November 2007 14:57:46 UTC