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
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">
    <restriction base="xsd:float"/>

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).


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

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:56:03 UTC