W3C home > Mailing lists > Public > xmlschema-dev@w3.org > October 2006

SV: SV: SV: Any wildcard and the .NET validator?

From: Bryan Rasmussen <BRS@itst.dk>
Date: Mon, 9 Oct 2006 15:14:28 +0200
Message-ID: <A2DF252098C9AD4B9781453BE4C5422B0129B363@excw2k301.koncern.local>
To: "Xan Gregg" <xan.gregg@jmp.com>
Cc: <lists@jeffrafter.com>, <xmlschema-dev@w3.org>

Oops you're right, I didn't notice that mixed was set to true. In that case I
would assume that All validators but .Net are correct in this instance. 

Bryan Rasmussen

-----Oprindelig meddelelse-----
Fra: Xan Gregg [mailto:xan.gregg@jmp.com]
Sendt: 9. oktober 2006 15:10
Til: Bryan Rasmussen
Cc: lists@jeffrafter.com; xmlschema-dev@w3.org
Emne: Re: SV: SV: Any wildcard and the .NET validator?

I don't see what the confusion is. Text nodes are allowed because  
DescriptionType has mixed=true, and xhtml element nodes are allowed  
because of the <any> particle. The lax value only means that  
unrecognized xhtml element nodes won't be assessed for validity, but  
recognized xhtml element nodes will be assessed. Element nodes in  
other namespaces (e.g., RDF) are disallowed outright.


On Oct 9, 2006, at 6:50 AM, Bryan Rasmussen wrote:

> Well I think no matter which is right the spec at this point is  
> unclear
> (unless clarified at some other place in the spec in which case it  
> is just
> convoluted)
>> -----Oprindelig meddelelse-----
>> Fra: Jeff Rafter
>> Til: xmlschema-dev@w3.org
>> Emne: Any wildcard and the .NET validator?
>> Does anyone here have information on the .NET XML Schema validator  
>> and
>> their position on lax validation of wildcards?
>> i.e.:
>>   <complexType name="DescriptionType" mixed="true">
>>     <sequence>
>>       <any minOccurs="0" maxOccurs="unbounded"
>>         namespace="http://www.w3.org/1999/xhtml"  
>> processContents="lax"/>
>>     </sequence>
>>   </complexType>
>>     <description xmlns:html="http://www.w3.org/1999/xhtml">Blah
>> Blah<html:em>blah</html:em>.<html:br/>Blah<html:strong>blah</ 
>> html:strong>
>> blah!</description>
Received on Monday, 9 October 2006 13:15:35 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:56:11 UTC