[Bug 400277] [NEW] Use XML Catalogs in saxonb-xslt
Dominique Hazael-Massieux
dominique.hazael-massieux at centraliens.net
Thu Jul 16 15:19:59 UTC 2009
Public bug reported:
It would be nice if the script provided in /usr/bin/saxonb-xslt would
use /etc/xml/catalog and org.apache.xml.resolver so that it wouldn't hit
the network each time it tries to transform XML documents with a doctype
(e.g. XHTML documents).
The following script would do:
#!/bin/sh
if [-f /usr/share/java/xml-commons-resolver-1.1.jar and -f /etc/xml/catalog ]
then exec java -cp /usr/share/java/xml-commons-resolver-1.1.jar:/usr/share/java/saxonb.jar -Dxml.catalog.files=/etc/xml/catalog -Dxml.catalog.verbosity=1 net.sf.saxon.Transform -novw -r org.apache.xml.resolver.tools.CatalogResolver -x org.apache.xml.resolver.tools.ResolvingXMLReader -y org.apache.xml.resolver.tools.ResolvingXMLReader "$@"
else
exec java -classpath /usr/share/java/saxonb.jar net.sf.saxon.Transform "$@"
fi
It would probably be worth adding libxml-commons-resolver1.1-java as a
suggested package in that case.
** Affects: saxonb (Ubuntu)
Importance: Undecided
Status: New
--
Use XML Catalogs in saxonb-xslt
https://bugs.launchpad.net/bugs/400277
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
More information about the universe-bugs
mailing list