DocBook4.1 validation
This should cover W3C XML Schema, Relax NG and DTD related problems.
-
- Posts: 30
- Joined: Fri Dec 10, 2010 9:43 pm
DocBook4.1 validation
Hello,
I'm having a similar issue. My doc type declaration is:
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" "http://www.oasis-open.org/docbook/xml/4 ... cbookx.dtd">
But the document won't parse and I keep getting the following timeout error:
F [Xerces] HttpException-The host did not accept the connection within timeout of 20000 ms (http://www.oasis-open.org/docbook/xml/4 ... cbookx.dtd) when trying to display Author mode.
And
SystemID: /Users/jspychka/Documents/_Taleo/svn/reportinganalyticsdoc800/trunk/universedictionaries/staffing/DictionaryGenerator_v100_StaffingReportingUniverse.xml
Engine name: Saxon6.5.5
Severity: error
Description: The host did not accept the connection within timeout of 20000 ms (http://www.oasis-open.org/docbook/xml/4 ... cbookx.dtd)
when trying to generate a PDF from the out of the box DocBook PDF transformation.
Any ideas on how to fix?
Thanks,
John
I'm having a similar issue. My doc type declaration is:
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" "http://www.oasis-open.org/docbook/xml/4 ... cbookx.dtd">
But the document won't parse and I keep getting the following timeout error:
F [Xerces] HttpException-The host did not accept the connection within timeout of 20000 ms (http://www.oasis-open.org/docbook/xml/4 ... cbookx.dtd) when trying to display Author mode.
And
SystemID: /Users/jspychka/Documents/_Taleo/svn/reportinganalyticsdoc800/trunk/universedictionaries/staffing/DictionaryGenerator_v100_StaffingReportingUniverse.xml
Engine name: Saxon6.5.5
Severity: error
Description: The host did not accept the connection within timeout of 20000 ms (http://www.oasis-open.org/docbook/xml/4 ... cbookx.dtd)
when trying to generate a PDF from the out of the box DocBook PDF transformation.
Any ideas on how to fix?
Thanks,
John
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: DocBook4.1 validation
Post by sorin_ristache »
Hi,
It seems the www.oasis-open.org server is busy. You can avoid this HTTP connection error by mapping the URL of this remote DocBook 4.1.2 DTD to a local copy of the same DTD using the built-in DocBook XML catalog of Oxygen, that is the file [Oxygen-install-dir]/frameworks/docbook/catalog.xml. This XML catalog already maps the DocBook DTDs and XSDs for versions 4.2 up to 5.0 to their local copies that come with the Oxygen install kit, but for older versions like 4.1.2 you have to add the mapping to the DocBook XML catalog manually. Just add the element:
in the XML catalog file [Oxygen-install-dir]/frameworks/docbook/catalog.xml and add all the 4.1.2 DTD files in a new directory [Oxygen-install-dir]/frameworks/docbook/4.1.2/dtd which you will create on disk.
If the 4.2 version is also good for you then you can avoid downloading and adding the 4.1.2 DTD files to Oxygen by declaring the DocBook 4.2 DTD in your XML file since the 4.2 DTD files are already installed by the Oxygen install kit and mapped to the local copy in the DocBook XML catalog:
Regards,
Sorin
It seems the www.oasis-open.org server is busy. You can avoid this HTTP connection error by mapping the URL of this remote DocBook 4.1.2 DTD to a local copy of the same DTD using the built-in DocBook XML catalog of Oxygen, that is the file [Oxygen-install-dir]/frameworks/docbook/catalog.xml. This XML catalog already maps the DocBook DTDs and XSDs for versions 4.2 up to 5.0 to their local copies that come with the Oxygen install kit, but for older versions like 4.1.2 you have to add the mapping to the DocBook XML catalog manually. Just add the element:
Code: Select all
<rewriteSystem
systemIdStartString="http://www.oasis-open.org/docbook/xml/4.1.2/"
rewritePrefix="4.1.2/dtd/"/>
If the 4.2 version is also good for you then you can avoid downloading and adding the 4.1.2 DTD files to Oxygen by declaring the DocBook 4.2 DTD in your XML file since the 4.2 DTD files are already installed by the Oxygen install kit and mapped to the local copy in the DocBook XML catalog:
Code: Select all
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
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