- From: Databinding Issue Tracker <dean+cgi@w3.org>
- Date: Fri, 12 May 2006 13:33:13 +0000 (GMT)
- To: public-xsd-databinding@w3.org
ISSUE-51: attribute and element name clashes
http://www.w3.org/2005/06/tracker/databinding/issues/51
Raised by: Paul Downey
On product: Basic
The following schema caused a name clash in a
Java databinding tool:
<xs:complexType name="Product">
<xs:sequence>
<xs:element name="name" type="xs:string"/>
<xs:element name="inStock" type="xs:int"/>
</xs:sequence>
<xs:attribute name="name" type="xs:string" />
</xs:complexType>
Should we advise against using the same names
for elements and attributes directly under the same element
in Basic patters?
Received on Friday, 12 May 2006 13:33:22 UTC