[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: DocBook with ozonedoc.zip (was: Ozone Doc Project)



On Wed, 30 May 2001 10:52:20 +0200
"Per Nyfelt" <per.nyfelt@nordicwave.com> wrote:

> > This looks like you perhaps have a different TRAX API in your classpath.
> > Perhaps try to set CLASSPATH="" and then try the tools. The download was
> > designed so you wouldn't have to have any libs in your classpath prior
> > to running the transforms.
> 
> OK i tried again with a clear classpath, now both html and pdf fails. Any
> chance you could explain the interaction and flow of the various components?
> That would make it much easier for me to find the cause of this (i've never
> heard of TRAX before, what does it do?). I have %OZONE_HOME%\bin in my path
> so that i have ant. here's the output, any ideas would be much appreciated.
> Also if there is anybody else out there on Windows that could give it a try
> that would be very good so i don't waste everybody's time in case it is a
> personal problem instead of a platform one:
> 
> Buildfile: build.xml
> 
> prepare:
> 
> htmldocs:
>      [java]
>      [java] XSLT Error
> (javax.xml.transform.TransformerConfigurationException):
> javax.xml.transform.TransformerException:
> javax.xml.transform.TransformerException: method can not be multiply defined
> at the same import level! Old value = xml; New value = html
>      [java] Java Result: -1
> 
> pdfdocs:
>      [java]
> file:///D:/Project/Ozone/Documentation/ozonedoc/docbook/fo/docbook.xsl; Line
> 80; Column 16; Making portrait pages on USletter paper (8.5in
> x11in)
>      [java]
>      [java] XSLT Error (javax.xml.transform.TransformerException):
> java.net.UnknownHostException: www.oasis-open.org
>      [java] Java Result: -1
>      [java] FOP 0.17.0 DEV
>      [java] using SAX parser org.apache.xerces.parsers.SAXParser
>      [java] using renderer org.apache.fop.render.pdf.PDFRenderer
>      [java] using element mapping org.apache.fop.fo.StandardElementMapping
>      [java] using element mapping org.apache.fop.svg.SVGElementMapping
>      [java] using element mapping
> org.apache.fop.extensions.ExtensionElementMapping
>      [java] using property list mapping
> org.apache.fop.fo.StandardPropertyListMapping
>      [java] using property list mapping
> org.apache.fop.svg.SVGPropertyListMapping
>      [java] using property list mapping
> org.apache.fop.extensions.ExtensionPropertyListMapping
>      [java] building formatting object tree
>      [java] FATAL ERROR: The root element is required in a well-formed
> document.
>      [java] Java Result: 1
> 
> all:
> 
> BUILD SUCCESSFUL
> 
> Total time: 15 seconds
> 

Hi Per,
please check out the ozoneDoc module from CVS. This module is based on
Eric's DocBook package but addtionally contains build scripts and the
Ant build environment. With this you can use this ozoneDoc module without
dependencies on other modules like the Ozone core package.

Btw. Do you have an internet connection on Windows? XSL/XSLT tries to
download the proper DTDs from www.oasis-group.org and it seems that
DocBook is not able to connect to this host or at least resolve the host
name. (UnknownHostException) But I'm not sure how important this DTD
really is.

Regards,
Lars
--
______________________________________________________________________
Lars Martin                                    mailto:lars@smb-tec.com
SMB GmbH                                        http://www.smb-tec.com