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-04-01 06:49 -------
>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.

I tried to validate BPML schema. It has three references to XMLSchema elements 
so I tried to include the schema for schemas. When I try to validate it with 
xerces I get: 

[Error] XMLSchema.xsd:1308:45: st-props-correct.4.1: The type definition is not 
a valid restriction with repect to the base type 'xs:anySimpleType'.
[Error] XMLSchema.xsd:1308:45: cos-applicable-facets: Facet 'whiteSpace' is not 
allowed by this type.
[Error] XMLSchema.xsd:1326:45: st-props-correct.4.1: The type definition is not 
a valid restriction with repect to the base type 'xs:anySimpleType'.
[Error] XMLSchema.xsd:1326:45: cos-applicable-facets: Facet 'whiteSpace' is not 
allowed by this type.
[Error] XMLSchema.xsd:1350:45: st-props-correct.4.1: The type definition is not 
a valid restriction with repect to the base type 'xs:anySimpleType'.
[Error] XMLSchema.xsd:1350:45: cos-applicable-facets: Facet 'whiteSpace' is not 
allowed by this type.
[Error] XMLSchema.xsd:1374:45: st-props-correct.4.1: The type definition is not 
a valid restriction with repect to the base type 'xs:anySimpleType'.
[Error] XMLSchema.xsd:1374:45: cos-applicable-facets: Facet 'whiteSpace' is not 
allowed by this type.

If I remove the import then I get:

[Error] BPML.xsd:124:50: src-resolve.4: Components from 
namespace 'http://www.w3.org/2001/XMLSchema' are not referenceable from schema 
document 'file:///D:/users/george/notebook/store/bpml/BPML.xsd'.
[Error] BPML.xsd:61:44: src-resolve.4: Components from 
namespace 'http://www.w3.org/2001/XMLSchema' are not referenceable from schema 
document 'file:///D:/users/george/notebook/store/bpml/BPML.xsd'.
[Error] BPML.xsd:62:48: src-resolve.4: Components from 
namespace 'http://www.w3.org/2001/XMLSchema' are not referenceable from schema 
document 'file:///D:/users/george/notebook/store/bpml/BPML.xsd'.

What will be the solution for such a situation ?

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

Reply via email to