This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[docbook-apps] xsltproc fails with file URL for Ext DTD


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/.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]