- From: <bugzilla@wiggum.w3.org>
- Date: Fri, 09 Sep 2005 03:31:12 +0000
- To: www-xml-schema-comments@w3.org
- Cc:
http://www.w3.org/Bugs/Public/show_bug.cgi?id=2088
Summary: R-098: Question about the canonical rep'n of QName
Product: XML Schema
Version: 1.0
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: XSD Part 2: Datatypes
AssignedTo: cmsmcq@w3.org
ReportedBy: sandygao@ca.ibm.com
QAContact: www-xml-schema-comments@w3.org
The lexical representation of a QName has the form "prefix:localpart"
(or "localpart"), and the value of a QName is a tuple {namespace, localpart}.
How is a QName value converted to its canonical representation?
This problem occurs when a default/fixed attribute/element value is of type
QName. In this case, how is it applied to the instance? For example:
<attribute name="att" type="QName" xmlns:p1="my_uri" default="p1:local"/>
If the above attribute doesn't appear in an instance, we should add a new
attribute. But what would be the (string) value of the added attribute? (Note
that the prefix "p1" might not be declared in the instance, or it's possible to
be bound to a different namespace uri.)
See question 1 from:
http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001OctDec/0222.html
Received on Friday, 9 September 2005 03:31:17 UTC