This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
[docbook-apps] xsltproc fails with file URL for Ext DTD
- From: jeff dot rancier at softechnics dot com (Jeffery B. Rancier)
- To: docbook-apps at lists dot oasis-open dot org
- Date: Fri, 27 Feb 2004 11:43:44 -0500
- Subject: [docbook-apps] xsltproc fails with file URL for Ext DTD
- Cancel-lock: sha1:zBq6eO/ZUKxFSVp64qDEpWvdXaA=
I looked over the bugs at the libxsl site and did see this, but the
following DOCTYPE line works:
,----
| <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
| "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" []>
`----
whereas the following:
,----
| <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
| "file:///c:/usr/pkg/emacs-21.3/site-lisp/xae-1.0beta7/doctypes/docbook/docbookx.dtd" []>
`----
produces the following error:
,----
| dummy.xml:7:warning: failed to load external entity
| "file:///c:/usr/pkg/emacs-21.3/site-lisp/xae-1.0beta7/doctypes/docbook/docbookx.dtd"
| //c:/usr/pkg/emacs-21.3/site-lisp/xae-1.0beta7/doctypes/docbook/docbookx.dtd" []
| ^
`----
It does appear to be lopping off (or that's what's being reported) the
'file:/' portion of the URL. This seems to work with Saxon. I tried
removing the DTD name, and making the DTD local by changing it from
PUBLIC to SYSTEM, but it still resulted in the same error.
I'm using the cygwin version:
,----
| Using libxml 20604, libxslt 10102 and libexslt 802
| xsltproc was compiled against libxml 20604, libxslt 10102 and libexslt 802
| libxslt 10102 was compiled against libxml 20604
| libexslt 802 was compiled against libxml 20604
`----
Any ideas would be appreciated. If I was always connected this
wouldn't be a problem.
--
Thanks,
Jeff
To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.