On Wed, 10 Nov 2010 11:42:27 +0530
"SriKrishnan" <> wrote:
> Hi Friends,
>
>
>
> I am working in Windows XP professional system.
>
>
>
> I am trying to convert FO file from Docbook xml using xml catalog.
>
>
>
> I have copied Saxon in the following path
> "C:\saxonhe9-2-1-5j\saxon9he.jar"
>
> I have copied fop in the following path "C:\fop-1.0\"
>
> I have copied "CatalogManager.properties" in "C:\fop-1.0\"
>
>
>
> Also I have copied all the relevant files and folders as per I typed
> in the following syntax:
>
>
>
> F:\ADVENT\APP\xslf0_samples\DOCBOOK-samples\completed>java -cp
> "C:/saxonhe9-2-1-5j/saxon9he.jar;C:/docbook-xsl-1.76.1-RC
>
> 2/extensions/saxon65.jar;C:/xml-commons-resolver-1.2/resolver.jar;C:/fop-1.0
> /" net.sf.saxon.Transform -x org.apache.xml.
>
> resolver.tools.ResolvingXMLReader -y
> org.apache.xml.resolver.tools.ResolvingXMLReader -r
> org.apache.xml.resolver.tools.C
>
> atalogResolver -u -o "DK1182_C003.fo" "DK1182_C003.xml"
> "L:\xml\docbook-xsl-ns-1.76.1-RC2\fo\docbook.xsl"
>
> Transformation failed: Malformed URL
> L:\xml\docbook-xsl-ns-1.76.1-RC2\fo\docbook.xsl(base
> file:/F:/ADVENT/APP/xslf0_samp
>
> les/DOCBOOK-samples/completed/)
>
>
>
> Can anybody tell me the reason for the error?
Saxon expects uri's you aren't providing them
http://www.dpawson.co.uk/xsl/sect4/uriIncl.html
may help.
file://c:/xml/docbook-xsl-ns-1.76.1-RC2/fo/docbook.xsl"
Note: All forward slashes, you are dealing with Java,
not windows.
HTH
--
regards
--
Dave Pawson
XSLT XSL-FO FAQ.
http://www.dpawson.co.uk