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

http://issues.apache.org/bugzilla/show_bug.cgi?id=25271

Adding element in complexType derivation by restriction

[EMAIL PROTECTED] changed:

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



------- Additional Comments From [EMAIL PROTECTED]  2004-03-19 21:26 -------
The parser will report that this schema is invalid, however you must turn on 
the schema-full-checking [1] feature. Particle unique attribution constraint 
checking and particle derivation restriction checking will only be performed 
when this feature is set to true. It is false by default.

When I turned the feature on for your schema, I got the following errors:

[Error] xsi.xsd:9:33: cos-particle-restrict.2: Forbidden particle 
restriction: 'all:choice,sequence,elt'.
[Error] xsi.xsd:9:33: derivation-ok-restriction.5.4.2: Error for 
type 'derived'.  The particle of the type is not a valid restriction of the 
particle of the base.

[1] http://xml.apache.org/xerces2-j/features.html#validation.schema-full-
checking

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

Reply via email to