[XMLSCHEMA-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

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

From: Zafar Abbas <Zafar.Abbas@microsoft.com>
Date: Mon, 9 Oct 2006 12:20:10 -0700
Message-ID: <81BA5E955D6B4B4DB2F05075C345A5DE08394D0C@RED-MSG-42.redmond.corp.microsoft.com>
To: "Bryan Rasmussen" <BRS@itst.dk>, Xan Gregg <xan.gregg@jmp.com>
CC: <lists@jeffrafter.com>, <xmlschema-dev@w3.org>
RE: SV: SV: Any wildcard and the .NET validator?

Bryan,
What error do you get when validating it through .NET? And which version
of the .NET framework are you using?

Thanks,
Zafar Abbas

-----Original Message-----
From: xmlschema-dev-request@w3.org [mailto:xmlschema-dev-request@w3.org]
On Behalf Of Bryan Rasmussen
Sent: Monday, October 09, 2006 6:14 AM
To: Xan Gregg
Cc: lists@jeffrafter.com; xmlschema-dev@w3.org
Subject: SV: SV: SV: Any wildcard and the .NET validator?


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. 

Cheers,
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.

xan

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 19:24:14 GMT

Subscribe to the Stylus Scoop newsletter for helpful XML tips and tutorials.
Email
First Name
Last Name
Company

Download Stylus Studio 6 XML Enterprise Edition

Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2007 All Rights Reserved.