Apache Xerces 3.0.1 XInclude를 사용하고 있습니다. xinclude 메커니즘을 사용하여 XML 파일을 포함하고자합니다. 세 개의 XML 파일이 모두 같은 디렉토리에 있습니다. test_a.xml에는 test_c.xml이 xincludes 인 test_b.xml이 포함됩니다. test_a.xml xinclude test_b.xml 만 있으면 작동합니다. 그러나 test_b.xml xinclude test_c.xml 때 다음 명령 줄 오류가 발생합니다.xerces xinclude error
C : \ digital_receiver \ test> XInclude.exe test_a.xml test_z.xml 진행중인 test_a.xml 구문 분석 ... 파일 C : \ digital_receiver \ test/test_a.xml, 3 행, char 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>
.
감사합니다. Dan. 나는 제대로 기능하기 위해 단일 계층의 포함을 얻을 수있다. 나는 그들이 버그를 고칠 때까지 기다릴 수 있다고 생각한다. – sizzle