This is the mail archive of the
mailing list .
FWD: URL not reachable with xalan - http proxy server
- To: docbook <docbook-apps at lists dot oasis-open dot org>
- Subject: DOCBOOK-APPS: FWD: URL not reachable with xalan - http proxy server
- From: Eric Richardson <eric at milagrosoft dot com>
- Date: Wed, 30 May 2001 14:10:48 -0700
- Organization: MilagroSoft Inc.
"Estey, Robert" wrote:
> > C:\ozonedoc\ozonedoc>ant -verbose
> > Ant version 1.3 compiled on March 2 2001
> > Buildfile: build.xml
> > Detected Java Version: 1.3
> > Detected OS: Windows 2000
> > parsing buildfile C:\ozonedoc\ozonedoc\build.xml with URI =
> > file:C:/ozonedoc/ozo
> > nedoc/build.xml
> > Project base dir set to: C:\ozonedoc\ozonedoc
> > Build sequence for target `htmldocs' is [prepare, htmldocs]
> > Complete build sequence is [prepare, htmldocs, pdfdocs, clean, all]
> > prepare:
> > htmldocs:
> > [java] Forking java -classpath
> > C:\ozonedoc\ozonedoc\xalan-j_1_2_2\xalan.jar
> > 1_2_
> > 2\bsf.jar org.apache.xalan.xslt.Process -IN ozone.xml -XSL
> > drivers/xhtmldriver.x
> > sl -OUT ozone.html
> > [java] ========= Parsing
> > file:C:/ozonedoc/ozonedoc/drivers/xhtmldriver.xsl
> > ==========
> > [java] Parse of file:C:/ozonedoc/ozonedoc/drivers/xhtmldriver.xsl
> > 7541
> > milliseconds
> > [java] ========= Parsing file:C:/ozonedoc/ozonedoc/ozone.xml
> > [java] XSL Error: Could not parse file:C:/ozonedoc/ozonedoc/ozone.xml
> > docum
> > ent!
> > [java] XSLT: Operation timed out: connect
> eric richardson email@example.com wrote:
> This may be trying to retreive the DTD from the network based on the
> doctype. Is that url reachable?
> <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
We confirmed that this won't work behind an HTTP proxy server. I don't
know if there are any ways to control this. Xalan-j 1.2.2 has validation
off unless you use the -VALIDATE option. We are just using the command
line version to transform docbook.
There have been discussions about local dtds and catalog code etc. but
now that I forced to figure out what to do I'm not sure. If we have a
non-changing relative path as the stuff is coming out of cvs as a
module; would that be a good option?
The Xerces v1 faq states:
Do not reference an external DTD or internal DTD subset at all. In this
case, no DTD will be read.
Couldn't figure out this but was able to do something like this but
don't know if that will work on windows.
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
Any ideas would be appreciated.
To unsubscribe from this elist send a message with the single word
"unsubscribe" in the body to: firstname.lastname@example.org