Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install docbook-xml to have DTD locally #12

Merged
merged 1 commit into from
Nov 11, 2020

Conversation

danielgustafsson
Copy link
Contributor

When running xmllint to validate the docs tree, the dtd will be
source locally before trying to load as external entity. Since
the oasis-open.org entity was moved to redirect to HTTPS this
no longer works as xmllint only supports http. Fix by installing
the DTD locally via the docbook-xml package (as per the postgres
documentation).

Below is the errormessage incurred:

/usr/bin/xmllint --path . --noout --valid postgres.sgml

error : Unknown IO error
postgres.sgml:21: warning: failed to load external entity "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"

When running xmllint to validate the docs tree, the dtd will be
source locally before trying to load as external entity.  Since
the oasis-open.org entity was moved to redirect to HTTPS this
no longer works as xmllint only supports http. Fix by installing
the DTD locally via the docbook-xml package (as per the postgres
documentation).

Below is the errormessage incurred:

/usr/bin/xmllint --path . --noout --valid postgres.sgml

error : Unknown IO error
postgres.sgml:21: warning: failed to load external entity "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"
@macdice macdice merged commit 3109052 into macdice:master Nov 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants