[Bug 13457] Schema has default value for xsi:type

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[Bug 13457] Schema has default value for xsi:type

Bugzilla from bugzilla@jessica.w3.org
http://www.w3.org/Bugs/Public/show_bug.cgi?id=13457

Sandy Gao <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--- Comment #2 from Sandy Gao <[hidden email]> 2011-10-14 03:36:34 UTC ---
Both Element Locally Valid (Complex Type) (§3.4.4.2) and Attribute Default
Value (§3.4.5.1) refer the definition of "defaulted attribute"

http://www.w3.org/TR/xmlschema11-1/#key-dflt-att

This definition excludes the built-in xsi: attributes, and use-defined
attributes can't be in the xsi: namespace.

Because the default xsi:type value is not applied, 3.4.5.1 doesn't apply
either.

If the default QName value is on a non-xsi attribute, then the implementation
can choose to perform namespace fix-up or not. But I don't think the attribute
will be deemed invalid either way. Defaulted attributes are not validated
again.

--
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.