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

xsd:anyType and xsd:any

  • From: "Shlomo Yona" <S.Yona@F...>
  • To: <xml-dev@l...>
  • Date: Tue, 20 Mar 2007 08:08:26 -0700

xsd:anyType and xsd:any

Hello,

 

I was not able to fully understand the difference between an xsd:any and an element with a type xsd:anyType.

 

  • Is there any difference?
  • Do both wildcard methods refer to any child element(s) or does one or both refer to a wildcard subtree?
  • What should be the parse mode (parserContents) for processing xsd:anyType? Should is be same as xsd:any’s “skip” or “lax” or “strict” or perhaps to something else?

The section 3.4.7 Built-in Complex Type Definition (in http://www.w3.org/TR/xmlschema-1/) says, if I understand correctly, that the subtree should be processed in “lax”. Is that so?

What’s the difference, if any between the following wildcard definitions (with regards to the depth of subtree they refer to, the processing mode and any other issue):

·         xsd:any

·         element definition with type=”xsd:anyType”

·         a complexContent that has a restriction base=”xsd:anyType” with an xsd:anyAttribute namespace=”##other” and processorContents=”lax”

·         a complexContent that has a restriction base=”xsd:anyType” with an xsd:anyAttribute namespace=”##other” and processorContents=”skip”

Thanks.

 

Shlomo.



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

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-2013 All Rights Reserved.