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

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

Sandy Gao <sandygao@ca.ibm.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sandygao@ca.ibm.com

--- Comment #2 from Sandy Gao <sandygao@ca.ibm.com> 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.

Received on Friday, 14 October 2011 03:36:42 UTC