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]

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


Strange, this works when I test it under this version of xsltproc under
cygwin:

Using libxml 20605, 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

The only difference is libxml 20605, although it says xsltproc was compiled
under libxml 20604 like your version.  I guess the libxml 20605 fixed the
problem.

Bob Stayton
Sagehill Enterprises
DocBook Consulting
bobs@sagehill.net


----- Original Message ----- 
From: "Jeffery B. Rancier" <jeff.rancier@softechnics.com>
To: <docbook-apps@lists.oasis-open.org>
Sent: Friday, February 27, 2004 8:43 AM
Subject: [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/docbo
okx.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/docbo
okx.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/.
>
>
>



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]