[Bug 4967] [XQTS] XQueryX version of Constr-attr-ws-1

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

           Summary: [XQTS] XQueryX version of Constr-attr-ws-1
           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: oliver@cbcl.co.uk
         QAContact: public-qt-comments@w3.org


Constr-attr-ws-1 is the following test:

<elem attr="
"/>

with the new line being #xA#xD.

The XQueryX version of this test reads as follows:

<xqx:module xmlns:xqx="http://www.w3.org/2005/XQueryX"
            xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
            xsi:schemaLocation="http://www.w3.org/2005/XQueryX
                                http://www.w3.org/2005/XQueryX/xqueryx.xsd">
  <xqx:mainModule>
    <xqx:queryBody>
      <xqx:elementConstructor>
        <xqx:tagName>elem</xqx:tagName>
        <xqx:attributeList>
          <xqx:attributeConstructor>
            <xqx:attributeName>attr</xqx:attributeName>
            <xqx:attributeValue>  </xqx:attributeValue>
          </xqx:attributeConstructor>
        </xqx:attributeList>
      </xqx:elementConstructor>
    </xqx:queryBody>
  </xqx:mainModule>
</xqx:module>

The #xA and #xD characters have been converted to spaces, but this should only
happen after #xD#xA has been normalized to #xA, and so the attribute should be
a single space, not two.

Received on Monday, 20 August 2007 15:13:36 UTC