OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: 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




[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]