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

Stylesheets cannot be used from the CDN #19

Open
Boobies opened this issue Jan 11, 2020 · 1 comment
Open

Stylesheets cannot be used from the CDN #19

Boobies opened this issue Jan 11, 2020 · 1 comment

Comments

@Boobies
Copy link

Boobies commented Jan 11, 2020

I believe there is an issue with the DocBook CDN, but I am not sure precisely what it is. Try using the stylesheets directly from the CDN. Note that the old SourceForge links do not produce these errors.

xsltproc's complaint:

error : Unknown IO error
warning: failed to load external entity "http://cdn.docbook.org/release/xsl/current/manpages/docbook.xsl"
cannot parse http://cdn.docbook.org/release/xsl/current/manpages/docbook.xsl`

Saxon 6's complaint:

Error on line 1 column 1 of http://cdn.docbook.org/release/xsl/manpages/docbook.xsl:
Error reported by XML parser: Content is not allowed in prolog.
Transformation failed: Failed to parse stylesheet`

@ndw
Copy link
Contributor

ndw commented Jul 14, 2020

Try https://

I think what's happening is http:// is returning a redirect, perhaps with an HTML page, and that's not XML.

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

No branches or pull requests

2 participants