This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 4967 - [XQTS] XQueryX version of Constr-attr-ws-1
Summary: [XQTS] XQueryX version of Constr-attr-ws-1
Status: CLOSED FIXED
Alias: None
Product: XML Query Test Suite
Classification: Unclassified
Component: XML Query Test Suite (show other bugs)
Version: unspecified
Hardware: PC Windows NT
: P2 normal
Target Milestone: ---
Assignee: Andrew Eisenberg
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-20 15:13 UTC by Oliver Hallam
Modified: 2007-08-30 10:24 UTC (History)
0 users

See Also:


Attachments

Description Oliver Hallam 2007-08-20 15:13:32 UTC
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.
Comment 1 Andrew Eisenberg 2007-08-23 20:32:01 UTC
This problem has been fixed as you suggest. The version of XQTS_current.zip
committed earlier today reflects these changes.

Please close this bug report if you agree with this resolution.
Comment 2 Oliver Hallam 2007-08-30 10:24:14 UTC
Thanks