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 2001/09/25 21:00:03 UTC
DO NOT REPLY [Bug 3821] New: -
Schema with uri: http://www.w3.org/2001/XMLSchema fails validation
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=3821>.
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=3821
Schema with uri: http://www.w3.org/2001/XMLSchema fails validation
Summary: Schema with uri: http://www.w3.org/2001/XMLSchema fails
validation
Product: Xerces-J
Version: 1.4.3
Platform: All
OS/Version: Other
Status: NEW
Severity: Blocker
Priority: Other
Component: Other
AssignedTo: xerces-j-dev@xml.apache.org
ReportedBy: mpetres@netcom.ca
The parser fails to validate a schema with the following message:
General Schema Error: Grammar with uri: http://www.w3.org/2001/XMLSchema , can
not be found; schema namespace may be wrong: Xerces supports schemas from
the "http://www.w3.org/2001/XMLSchema" namespace or the instance document's
namespace may not match the targetNamespace of the schema.
Apparently it is complaining about: xmlns:xsd="http://www.w3.org/2001/XMLSchema
in the schema.
I cannot see any difference between the "http://www.w3.org/2001/XMLSchema"
different from the "http://www.w3.org/2001/XMLSchema" namespace the parser is
looking for? Perhaps something else is wrong, in that case the error message is
misleading...
P.S. XMLSpy will validate this schema without errors...
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org