This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
[docbook-apps] DOCTYPE Windows path for file attribute
- From: "Don Adams" <dga at sgi dot com>
- To: <docbook-apps at lists dot oasis-open dot org>
- Date: Wed, 28 Jan 2004 16:27:56 -0600
- Subject: [docbook-apps] DOCTYPE Windows path for file attribute
This post is just to document in the archives a "newbie" mistake that I made
that caused me a lot of grief over the last two days.
I was trying to get the Windows versions of xmllint, xsltproc, and saxon
working with my local version of the DocBook DTD. No matter
what I tried, none of the applications would find the DTD.
It turns out that I didn't notice that you need three slashes after "file:"
in the DOCTYPE declaration in order for the path to work in Windows. For
example:
<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
"file:///H:/DocBook/docbook4.2/docbookx.dtd">
My problem was that I was assuming the root directory would
be the drive letter and I had two slashes like this:
file://H:/DocBook/docbook4.2/docbookx.dtd.
--
Don Adams
To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.