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

Re: Duplicate attribute uses (Xerces bug?)

From: Kasimier Buchcik <kbuchcik@4commerce.de>
Date: Mon, 12 Sep 2005 14:02:08 +0200
To: George Cristian Bina <george@sync.ro>
Cc: XML-SCHEMA <xmlschema-dev@w3.org>
Message-Id: <1126526528.1272.21.camel@librax>
xerces bug

On Mon, 2005-09-12 at 15:00 +0300, George Cristian Bina wrote:
> Hi,
> 
> See http://www.w3.org/TR/xmlschema-1/#ct-props-correct
> 4 Two distinct attribute declarations in the {attribute uses} must not 
> have identical {name}s and {target namespace}s.

Yes, but in
http://www.w3.org/TR/xmlschema-1/#Attribute_Declaration_details

we have
"if the <attribute> element information item has <complexType> or
<attributeGroup> as an ancestor and the ref [attribute] is absent, it
corresponds to an attribute use with properties as follows (unless
use='prohibited', in which case the item corresponds to nothing at
all):"

Prohibiting an attribute use does not create an attribute use, thus
we don't have duplicate attribute uses at the component level here.

But I'm not sure if it was intended to rule out duplicates at the
XML representation level as well.

Regards,

Kasimier
Received on Monday, 12 September 2005 12:06:53 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.