DocBook Validation difference in v.10 and 8.2
Oxygen general issues.
-
- Posts: 21
- Joined: Sun Jan 15, 2006 11:36 am
DocBook Validation difference in v.10 and 8.2
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?
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: DocBook Validation difference in v.10 and 8.2
Post by sorin_ristache »
Hello,
The built-in XML validator was improved from version 8.2 to version 10.0 so the differences can be caused by that.
Regards,
Sorin
The built-in XML validator was improved from version 8.2 to version 10.0 so the differences can be caused by that.
Other cause may be a validation scenario used in version 8.2 for validating the entity files so that they are valid but not used in version 10.0 so that they are invalid.robert3L wrote: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.
I cannot reproduce that. I get the same result in versions 8.2 and 10.0: it validates everything and flags errors in any of the entity files. Please send sample files for reproducing the problem.robert3L wrote: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.
Regards,
Sorin
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service