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

Re: 1.0 errata section 10 (complex type validation clarification)

From: Steven Pemberton <steven.pemberton@cwi.nl>
Date: Wed, 02 Aug 2006 17:49:04 +0200
To: "Aaron Reed" <aaronr@us.ibm.com>, www-forms@w3.org
Message-ID: <op.tdnx72d6smjzpq@acer3010.lan>

Aaron,

The working group discussed this today, and couldn't see how you came to  
your conclusion. We think that you should be talking to the schema group  
for this clarification.

Best wishes,

Steven

On Fri, 21 Jul 2006 22:10:02 +0200, Aaron Reed <aaronr@us.ibm.com> wrote:

>
> Hi,
>
> I have a question after reading 10.1 at:  
> http://www.w3.org/2006/03/REC-xforms-20060314-errata.html#E10
>
> 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 (§2.2.1.2) or Complex Type Definition  
> (§2.2.1.3) 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?
>
> Thanks,
> --Aaron
>
>
>
Received on Wednesday, 2 August 2006 15:49:27 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 10 March 2012 06:22:06 GMT