W3C home > Mailing lists > Public > xmlschema-dev@w3.org > October 2003

[xmlschema-dev] <none>

From: Mark Thomson <marktt@excite.com>
Date: Fri, 24 Oct 2003 19:50:43 -0400 (EDT)
To: xmlschema-dev@w3.org
Cc:
Message-Id: <20031024235043.812D13CE5@xmxpita.excite.com>


Suppose a schema <include>s two other schemas. The first one has a global attribute declared as follows:

<attribute name="AA">
  <simpleType>
    <restriction base="xsd:float"/>
   <simpleType>
</attribute>

and the second one has the same attribute, but declared as follows:


<attribute name="AA" type="xsd:float"/>


Is this ok? or should it be reported as an error? (i.e., are the types equivalent?) (I didn't see anything in the specs that disallows empty <restriction> elements).

Thanks.



_______________________________________________
Join Excite! - http://www.excite.com
The most personalized portal on the Web!
Received on Friday, 24 October 2003 19:50:43 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:40 GMT