Apache Xerces 3.0.1 XInclude を使用しています。xinclude メカニズムを使用して XML ファイルをインクルードしたいと考えています。同じディレクトリに 3 つの XML ファイルがあります。test_a.xml は、test_c.xml を xinclude する test_b.xml を xinclude します。test_a.xml xinclude test_b.xml があれば、うまくいきます。ただし、test_b.xml xinclude test_c.xml があると、次のコマンド ライン エラーが発生します。
C:\digital_receiver\test>XInclude.exe test_a.xml test_z.xml 解析中の test_a.xml ...ファイル C:\digital_receiver\test/test_a.xml、行 3、文字 34 で致命的なエラー メッセージ: スキームが見つかりませんURIで終了しました。
test_a.xml:
<?xml version="1.0" encoding="ISO-8859-1"?>
<test_a xmlns:xi="http://www.w3.org/2001/XInclude">
<xi:include href="test_b.xml"/>
</test_a>
test_b.xml:
<?xml version="1.0" encoding="ISO-8859-1"?>
<test_b xmlns:xi="http://www.w3.org/2001/XInclude">
<ch>5</ch>
<xi:include href="test_c.xml"/>
</test_b>
test_c:xml:
<?xml version="1.0" encoding="ISO-8859-1"?>
<test_c>
<channel>1</channel>
</test_c>
どんな助けでも大歓迎です。