On a related note, Is there a way to strip off only
the namespace prefix for all the children(elements and
attrs) under certain namespace prefixed element?

-D
--- Wing Yew Poon <[EMAIL PROTECTED]> wrote:

> 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>



      
____________________________________________________________________________________
Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs

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

Reply via email to