XInclude validation problem
Posted: Tue Mar 07, 2006 11:43 am
Hi,
I have a DocBook DTD 4.4 article with XIncludes and I cannot validate it. Is anything wrong with my Oxygen 7/WinXP configuration or with my source file?
I get the following messages:
The XPath expression is correct, I have checked it directly in introduction.xml and it returns the required elements.
Thanks,
-Zby
I have a DocBook DTD 4.4 article with XIncludes and I cannot validate it. Is anything wrong with my Oxygen 7/WinXP configuration or with my source file?
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
<!ENTITY % xinclude SYSTEM "../../../../xinclude.mod" >
%xinclude;
]>
<article>
<title>Release Notes</title>
<section>
<title>Getting help</title>
<xi:include href="introduction.xml"
xpointer="xpointer(/preface/section[@id='getting_help']/*)"
xmlns:xi="http://www.w3.org/2001/XInclude" />
</section>
</article>
How can I fix it?Description: W SchemeUnsupported: The XPointer scheme 'xpointer' is not supported.
Description: W Include operation failed, reverting to fallback. Resource error reading file as XML (href='introduction.xml'). Reason: XPointer resolution unsuccessful.
Description: F An 'include' failed, and no 'fallback' element was found.
The XPath expression is correct, I have checked it directly in introduction.xml and it returns the required elements.
Thanks,
-Zby