[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: Re: DOCBOOK-APPS: xsltproc processing error
On Thu, Jul 04, 2002 at 02:51:32PM +0100, fyl2xp1 wrote: > "file:///C:/docbook/docbkx412/docbookx.dtd", > > "file:///C:\docbook\docbkx412\docbookx.dtd", > > "file:/C:/docbook/docbkx412/docbookx.dtd", > > and > > "file:/C:\docbook\docbkx412\docbookx.dtd" > > all produce the same errors Well, you just switched from specifying the location of the XSL file on the command line to the location of the DocBook DTD in a system identifier. I assume that was just a typing error. I'm able to use the following with xsltproc (1.0.18) on Windows XP for the XSL location on the command line: file:///C:/docbook/docbook-xsl/html/docbook.xsl /docbook/docbook-xsl/html/docbook.xsl ../docbook-xsl/html/docbook.xsl For the DTD location, I'm able to use these in the DOCTYPE system identifier: "file:///C:/docbook/docbkx412/docbookx.dtd" "C:/docbook/docbkx412/docbookx.dtd" "../docbkx412/docbookx.dtd" In no case does xsltproc understand backward slashes in pathnames, it seems. > > ----- Original Message ----- > From: "Daniel Veillard" <veillard@redhat.com> > To: "fyl2xp1" <vnhu38f93@subdimension.com> > Cc: "docbook-apps" <docbook-apps@lists.oasis-open.org> > Sent: Thursday, July 04, 2002 2:35 PM > Subject: Re: DOCBOOK-APPS: xsltproc processing error > > > > On Thu, Jul 04, 2002 at 02:14:10PM +0100, fyl2xp1 wrote: > > > This is probably a really pathetic question so please excuse me, > > [...] > > > I execute the command sequence: > > > > > > C:\>xsltproc C:\docbook\docbook-xsl\html\docbook.xsl DocBook.xml > > test.html > > > > > > I get 64 errors all of the form > > > > > > warning: failed to load external entity "../VERSION" > > [...] > > > xsl document, why is this happening? > > > > Because C:\docbook\docbook-xsl\html\docbook.xsl is not an URI base > > and the internal URI layer of libxml2 just won't compute the URI reference > > ../VERSION according to this "base". > > That's a problem with the Windows port. Try C:/docbook/... instead > > this might work. > > > > Daniel > > > > -- > > Daniel Veillard | Red Hat Network https://rhn.redhat.com/ > > veillard@redhat.com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ > > http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/ > -- Bob Stayton 400 Encinal Street Publications Architect Santa Cruz, CA 95060 Technical Publications voice: (831) 427-7796 Caldera International, Inc. fax: (831) 429-1887 email: bobs@caldera.com
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC