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=5757>. 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=5757 Parser cannot handle circular inclusion of schemas [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID ------- Additional Comments From [EMAIL PROTECTED] 2002-01-10 10:26 ------- How did you validate the instance? parser.parse("C:\test\circ1.xml") or parser.parse("http://localhost/test/circ1.xml") I suspect it's the former, according to the error message. Now you are referring to "circtest1.xsd" in two ways: one from the instance document, so the location is relative to c":\test\"; one from "circtest2.xsd", and the location is relative to "http://localhost/test/". There is no way for the parser to tell that the two references to "circtest1.xsd" are in fact the same. Could you try to parse the instance using the second way above? Or you can modify the xsd files to use Windoes paths, instead of "http://...". In fact, if you are sure that the two xsd files are always in the same folder, you can simply say: <xs:include schemaLocation="circtest1.xsd"/> and <xs:include schemaLocation="circtest2.xsd"/> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
