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 2002/05/13 19:45:40 UTC
DO NOT REPLY [Bug 9021] -
Failing to set external-schemaLocation
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=9021>.
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=9021
Failing to set external-schemaLocation
------- Additional Comments From maxhearn@aol.com 2002-05-13 17:45 -------
What does your instance document look like? Your instance document still
needs to reference the targetNamespace that you are specifying in the
setProperty. The setProperty statement just says where to find the schema.
It doesn't indicate that the schema should actually be used for validation.
For example, in your instance document, you might have a top level element that
looks something like:
<x xmlns="http://www.imsproject.org/xsd/imsep_rootv1p01"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.imsproject.org/xsd/imsep_rootv1p01 xxx.xsd">
The xxx.xsd in the instance document will be ignored, and imsep_rootv1p01.xsd
will be used because of the setProperty.
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org