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/04/10 21:42:19 UTC
DO NOT REPLY [Bug 7927] -
schema in multiple files with same target namespace
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=7927>.
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=7927
schema in multiple files with same target namespace
------- Additional Comments From sandygao@ca.ibm.com 2002-04-10 19:42 -------
Xerces enforces a one-grammar-per-namespace rule. So when the parser sees the
second xsi:schemaLocation attribute, it uses the grammar previously resolved
for that namespace, instead of loading a new one.
You can have a new xsd file (say API.xsd), and have it include all schema
documents for your namespace. Then always refer to API.xsd in your instance.
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org