DocBook Validation difference in v.10 and 8.2
Posted: Wed Oct 29, 2008 6:19 pm
My production tool for DocBook has been XML Editor v. 8.2. I just installed v. 10 to try to see if my projects are OK. I opened the project in the Author application. I have a DocBook project with main book file like so...
In v. 8.2 when I edit any of the entity files, they show as valid. When I edit them in v. 10 they show as invalid, caused by links pointing outside the file. E.g links in userguide.xml that point to IDs in reference.xml cause the userguide.xml file to show up as invalid in Author v. 10, but not in 8.2. When I run Validate on the book file in 8.2 it validates everything and flags errors in any of the entity files. When I run Validate on the book file in v. 10, it reports a valid document, yet the individual component file report errors. So it looks like only the book file is being validated in v. 10.
What's changed? What should I believe about the validity of my files?
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "file:///c:/docbook-xml-4.4/docbookx.dtd" [
<!ENTITY userguide.xml SYSTEM "userguide.xml">
<!ENTITY adminguide.xml SYSTEM "adminguide.xml">
<!ENTITY reference.xml SYSTEM "reference.xml">
<!ENTITY user_reference.xml SYSTEM "user_reference.xml">]>
<book>
...
&userguide.xml;
&adminguide.xml;
&reference.xml;
&user_reference.xml;
</book>
What's changed? What should I believe about the validity of my files?