[xmlschema-dev] <none>

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 UTC