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=7167>.
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=7167

parser does not validate the XML Schema Schema correctly





------- Additional Comments From [EMAIL PROTECTED]  2002-03-21 23:50 -------
> which could be read to say that ...

The first sentense in 3.14.6 is "All simple type definitions (see Simple Type 
Definitions (�3.14)) must satisfy the following constraints." Note 
it's "constraints", so "Derivation Valid (Restriction, Simple) (�3.14.6)." must 
always be satisfied.

Of course "anySimpleType" can be the base type of other types: primitive types; 
list types; union types. But not <restriction base="anySimpleType">.

The schema for schemas was not written to be parsed as a normal schema 
document, or to validate an instance, so its "normativeness" shouldn't be used 
here.

What's said in 3.14.1 is clearly valid, and clearly the intention of the spec. 
3.14.6 also states the base type of an atomic type must be either an atomic 
simple type or a primitive one, but anySimpleType is neither. Even in 
the "normative" schema for schemas:
"These definitions are for information only, the real built-in definitions are 
magic.  Note in particular that there is no type named 'anySimpleType'.  The 
primitives should really be derived from no type at all, and anySimpleType 
should be derived as a union of all the primitives."

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to