Dave,
the xs:any can have a namespace attribute, which, if not present,
defaults to "##any", which means that the content can be in any
namespace whatsoever or no namespace.
I think that solves your problem.
- Wing Yew

-----Original Message-----
From: dave [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, February 12, 2008 1:00 PM
To: Henry S. Thompson
Cc: [email protected]
Subject: Re: how to restrict validation to part of the W3C schema?


is there a way to instruct the validator to ignore
namespace as well for this 'noValidation' element's
children?

Thanks
-D

--- "Henry S. Thompson" <[EMAIL PROTECTED]> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> dave writes:
> 
> >  1. How would I specify in the Schema that
> > 'noValidation' element should not get validated?
> Is
> > using ANY a valid use case in this situation
> although
> > it's not used for Schema extension purpose here?
> CDATA
> > may not be a good choice because I would NOT be
> able
> > to parse anything under 'noValidation'. 
> 
> <xs:element name="noValidation">
>  <xs:complexType mixed="true">
>   <xs:sequence>
>    <xs:any processContents='skip' minOccurs="0"
> maxOccurs="unbounded"/>
>   </xs:sequence>
>  </xs:complexType>
> </xs:element>
> 



 
________________________________________________________________________
____________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Notice:  This email message, together with any attachments, may contain 
information  of  BEA Systems,  Inc.,  its subsidiaries  and  affiliated 
entities,  that may be confidential,  proprietary,  copyrighted  and/or legally 
privileged, and is intended solely for the use of the individual or entity 
named in this message. If you are not the intended recipient, and have received 
this message in error, please immediately return this by email and then delete 
it.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to