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

fop and /etc/xml/catalog



Anyone have any suggestions how to get fop to use /etc/xml/catalog?

When I run fop, I keep getting,

$ fop -xml icaatom.html -xsl icaatom.xsl icaatom.pdf
6-Oct-2009 6:38:12 PM org.apache.fop.cli.InputHandler warning
WARNING: Can not load requested doc: Server returned HTTP response code: 503 for URL: http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd
$ 

AFAICT from /etc/xml/catalog, fop should be using the local
file /etc/xml/w3c-dtd-xhtml.xml instead

I installed libxml-commons-resolver1.1-java

I set prefer=public in /etc/xml/resolver/CatalogManager.properties

I tried copying /usr/share/java/xml-commons-resolver-1.1.jar to
resolver.jar in the current working directory

I tried executing fop with CLASSPATH=/etc/xml/resolver

- and still I get the same error

Any suggestions?


Reply to: