W3C home > Mailing lists > Public > xmlschema-dev@w3.org > August 2007

RE: any and its processContents and namespace attribute

From: Paul Kiel <paul@xmlhelpline.com>
Date: Wed, 29 Aug 2007 07:56:28 -0400
To: "'Shlomo Yona'" <S.Yona@F5.com>, <xmlschema-dev@w3.org>
Message-ID: <B0AA455797F642548BD4E8B7D5790C65@xmlguy>
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




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?




Received on Wednesday, 29 August 2007 11:56:32 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:15:43 UTC