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 4966 - XQueryX: K2-DirectConElemNamespace-17 and K2-DirectConElemNamespace-18
Summary: XQueryX: K2-DirectConElemNamespace-17 and K2-DirectConElemNamespace-18
Status: CLOSED INVALID
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:00 UTC by Oliver Hallam
Modified: 2008-02-07 14:00 UTC (History)
0 users

See Also:


Attachments

Description Oliver Hallam 2007-08-20 15:00:47 UTC
The essence of K2-DirectConElemNamespace-17 is that 
<e xmlns="content{{"/> is invalid.

However the XQueryX version of this test is:
<?xml version="1.0"?>
<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>e</xqx:tagName>
        <xqx:attributeList>
          <xqx:namespaceDeclaration>
            <xqx:uri>content{</xqx:uri>
          </xqx:namespaceDeclaration>
        </xqx:attributeList>
      </xqx:elementConstructor>
    </xqx:queryBody>
  </xqx:mainModule>
</xqx:module>

As far as I can tell this should be valid, and equivalent to
<e xmlns="content&#x7b;" />
and as such is not an appropriate test.

The XQueryX version of K2-DirectConElemNamespace-18 suffers a similar flaw.
Comment 1 Oliver Hallam 2007-11-13 13:02:33 UTC
The expected result of K2-DirectConElementNamespace-17 has been changed as described in bug #5083, and so this bug is no longer valid.