[Bug 2748] wd-22: Applying default values of type QName (and NOTATION)

http://www.w3.org/Bugs/Public/show_bug.cgi?id=2748

           Summary: wd-22: Applying default values of type QName (and
                    NOTATION)
           Product: XML Schema
           Version: 1.1 only
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Keywords: needsAgreement
          Severity: normal
          Priority: P2
         Component: Structures: XSD Part 1
        AssignedTo: ht@w3.org
        ReportedBy: holstege@mathling.com
         QAContact: www-xml-schema-comments@w3.org


When a default/fixed attribute/element value is of type QName/NOTATION, 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.)

Error concerning
Part 1
Schema Information Set Contribution: Attribute Default Value
Part 2
QName
NOTATION

Discussion history
12 Dec 2000 (http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2000Dec/0028.
html), 17 Jan 2001 (http://www.w3.org/2000/12/xmlschema-crcomments.html#sisc-
attdefault), 2 Mar 2001 (http://lists.w3.org/Archives/Public/www-xml-schema-
comments/2001JanMar/0286), 6 May 2005 (http://lists.w3.org/Archives/Member/w3c-
xml-schema-ig/2005May/att-0028/2005-05-06minutes.html)

Transition history
raised on 8 Dec 2004 by Sandy Gao (http://lists.w3.org/Archives/Public/www-xml-
schema-comments/2004OctDec/0032.html)

Received on Friday, 20 January 2006 21:31:51 UTC