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

RE: any and its processContents and namespace attribute

From: Shlomo Yona <S.Yona@F5.com>
Date: Wed, 29 Aug 2007 05:14:30 -0700
Message-ID: <AB313AF70F994447A667F4D942CA655707CE00F5@excheight.olympus.f5net.com>
To: "Paul Kiel" <paul@xmlhelpline.com>, <xmlschema-dev@w3.org>
RE: any and its processContents and namespace attribute
Thanks.

Would this be the general answer? I mean, for every value of processContents and any value of namespace and any combination of them?

I mean, do you say that processContents takes precedence?

 

Shlomo.

 

________________________________

From: Paul Kiel [mailto:paul@xmlhelpline.com] 
Sent: ã 29 àåâåñè 2007 14:56
To: Shlomo Yona; xmlschema-dev@w3.org
Subject: RE: any and its processContents and namespace attribute

 

Seems like the skip would take precedence because it tells the parser to not even look for a schema let alone examine its ns.

 

 

 

________________________________

From: xmlschema-dev-request@w3.org [mailto:xmlschema-dev-request@w3.org] On Behalf Of Shlomo Yona
Sent: Wednesday, August 29, 2007 1:31 AM
To: xmlschema-dev@w3.org
Subject: xsd:any and its processContents and namespace attribute

 

Hello,

 

When using both processContents and namespace attributes in an xsd:any which one of the two has precedence?

 

For example:

<xsd:any namespace=”##other” processContents=”skip”/>

 

Should I just skip when processing or should I skip only if the namespace of the observed element in the XML instance is from a namespace other than the target namespace of the schema?

 

Thanks.

 

Shlomo.
Received on Wednesday, 29 August 2007 12:14:12 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.