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 2004/03/19 22:26:30 UTC
DO NOT REPLY [Bug 25271] -
Adding element in complexType derivation by restriction
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
mrglavas@ca.ibm.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
------- Additional Comments From mrglavas@ca.ibm.com 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: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org