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

Question about xs:anyAttribute and xs:any

From: David Kruppke <kruppke@gefeg.com>
Date: Tue, 9 Nov 2004 10:04:08 +0100
To: <xmlschema-dev@w3.org>
Message-ID: <LLEDKHHMAPLJOFPJMNJNCENACKAA.kruppke@gefeg.com>
xs anyattribute

Dear All,

I have a question concerning restrictions of xs:any and  xs:anyAttribute.


If I understand the rules right then it is possible to have more than one
attribute in the inherit type that matches the namespace requirements of one
xs:anyAttribute in the base type.

Am I right?

But as I understand it is different for xs:any. I interpret the rules so
that I can only replace the xs:any with one xs:element. If I want to have
more than one I have to replace the xs:any with xs:sequence, xs:choice or
xs:all.

Am I right?

If I try to check these conditions using the newest XERCES, it allows me to
replace one xs:any with more than one elements (depending on minOccurs and
maxOccurs).


Any comments appreciated.


Many thanks


David
Received on Tuesday, 9 November 2004 09:10:06 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.