You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by bu...@apache.org on 2002/10/11 18:40:08 UTC

DO NOT REPLY [Bug 12430] - Derivation of restriction of Elements

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12430>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12430

Derivation of restriction of Elements

sandygao@ca.ibm.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID



------- Additional Comments From sandygao@ca.ibm.com  2002-10-11 16:40 -------
> ... types of the attributes must be explicitly specified.

If they are not specified, "xs:anySimpleType" is assumed.

> even though they could be inferred from the base complex type ...

The spec said nothing about such inferring. But it does say that the type of an 
atribute in the derived type must be a valid restriction of that of the 
attribute with the same name in the base type. [1] 
Apparently "xs:anySimpleType" is not a valid restriction of "xs:int".

[1] http://www.w3.org/TR/xmlschema-1/#derivation-ok-restriction

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org