W3C home > Mailing lists > Public > www-forms@w3.org > July 2006

1.0 errata section 10 (complex type validation clarification)

From: Aaron Reed <aaronr@us.ibm.com>
Date: Fri, 21 Jul 2006 15:10:02 -0500
To: www-forms@w3.org
Message-ID: <e9rcas$vn5$1@sea.gmane.org>


I have a question after reading 10.1 at: 

I understand that to mean that the selected node value must be valid for 
the type MIP, xsi:type AND as defined by schema (internal or external). 
  But I was looking through XML Schema 1.1 part 1 spec this week and I saw:

"The Simple Type Definition (§ or Complex Type Definition 
(§ used in ·validation· of an element is usually determined by 
reference to the appropriate schema components. An element information 
item in an instance may, however, explicitly assert its type using the 
attribute xsi:type."

Which reads to me that if xsi:type is present then any type applied via 
internal or external schema will be ignored.  Could you please clarify 
which behavior an implementor should exhibit?

Received on Friday, 21 July 2006 20:11:43 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:36:18 UTC