W3C home > Mailing lists > Public > public-xml-schema-testsuite@w3.org > December 2006

[Bug 4053] DataTypes tests: QName009

From: <bugzilla@wiggum.w3.org>
Date: Fri, 08 Dec 2006 22:53:37 +0000
To: public-xml-schema-testsuite@w3.org
Message-Id: <E1Gsob3-0000gP-51@wiggum.w3.org>


           Summary: DataTypes tests: QName009
           Product: XML Schema Test Suite
           Version: 2006-11-06
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Microsoft tests
        AssignedTo: ht@inf.ed.ac.uk
        ReportedBy: mike@saxonica.com
         QAContact: public-xml-schema-testsuite@w3.org

In the Microsoft DataTypes tests, test QName009, the following instance is
considered to be valid

<?xml version='1.0'?>
<root xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
       xsi:noNamespaceSchemaLocation="QName.xsd" >

where simpleTest is of type QName. The spec says (in a Note!) "The mapping
between literals in the ·lexical space· and values in the ·value space· of
QName requires a namespace declaration to be in scope for the context in which
QName is used." 

According to the Infoset (and the same is true of XDM) "[in-scope namespaces]
does not contain an item with the prefix xmlns (used for declaring namespaces),
since an application can never encounter an element or attribute with that

Therefore I think that xmlns:xsi is an invalid QName and this instance is
therefore invalid.
Received on Friday, 8 December 2006 22:54:00 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:08:48 UTC