You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xerces.apache.org by Benson Cheng <Be...@viacore.net> on 2002/01/18 18:20:14 UTC
xsd:include - version 1.4.3 vs 1.4.4
I am trying to switch to Xerces 1.4.4 from 1.4.3, and having a problem with
the xsd:include. In my code calls parser's "setEntityResolver()" before the
parse/validate, so when the schema has <xsd:include schemaLocation=.../>,
Xerces will call my "resolveEntity()" and the entity resolver can provide
the correct InputSource to Xerces, this works fine in 1.4.3. But in 1.4.4
Xerces never calls my "resolveEntity()" and always try resolve itself by
looking at the current folder. Is this a bug or there are something
different I have to do in 1.4.4? Please help.
Here is part of the my schema that has the xsd:include tag.
<?xml version="1.0" encoding="UTF-8" ?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:include schemaLocation="common.xsd"/>
..............
</xsd:schema>
Thanks,
Benson.
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org