- From: <bugzilla@wiggum.w3.org>
- Date: Thu, 15 Mar 2007 17:40:52 +0000
- To: www-xml-schema-comments@w3.org
- CC:
http://www.w3.org/Bugs/Public/show_bug.cgi?id=4396 Summary: Note on QName considered misleading or false Product: XML Schema Version: 1.0/1.1 both Platform: Macintosh OS/Version: All Status: NEW Severity: normal Priority: P2 Component: Datatypes: XSD Part 2 AssignedTo: cmsmcq@w3.org ReportedBy: cmsmcq@w3.org QAContact: www-xml-schema-comments@w3.org Both 1.0 and 1.1 have a Note in the section on QNames which reads: 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. Read literally, this appears to say that given a schema containing <xsd:attribute name="my-qname" type="xsd:QName"/> then in the document <test tns:my-qname="foo"/> there is no mapping for "foo", because there is no namespace declaration anywhere around. I think that that's (a) not a good idea and (b) not what we intended. The Note should be changed to say something like "The mapping ... depends on the set of namespace declarations in scope."
Received on Thursday, 15 March 2007 17:41:00 UTC