This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Saxon and Catalog classes


I tried running saxon with Norman Walsh´s catalog classes. But I run
into problems. When I execute the following command-line:

jan@magic:.../xml > java -cp /opt/catalog-1.0.1/catalog.jar:/opt/catalog-1.0.1/catalog-apps.jar:/opt/saxon-5.5.1/saxon.jar:/opt/saxon-5.5.1/. -Dxml.catalog.files=/etc/sgml/catalog com.icl.saxon.StyleSheet -o test2.html test2.xml /usr/local/share/xml/stylesheets/docbook-xsl-1.24/html/docbook.xsl

I get this result:

Exception in thread "main" java.lang.NoSuchMethodError: org.xml.sax.Attributes: method getQName(I)Ljava/lang/String; not found
	at com.icl.saxon.tree.Builder.startElement(Builder.java:380)
	at com.icl.saxon.tree.Stripper.startElement(Stripper.java:165)
	at com.icl.saxon.aelfred.SAXDriver.startElement(SAXDriver.java:723)
	at com.icl.saxon.aelfred.XmlParser.parseElement(XmlParser.java:1029)
	at com.icl.saxon.aelfred.XmlParser.parseDocument(XmlParser.java:499)
	at com.icl.saxon.aelfred.XmlParser.doParse(XmlParser.java:151)
	at com.icl.saxon.aelfred.SAXDriver.parse(SAXDriver.java:313)
	at com.icl.saxon.tree.Builder.build(Builder.java:252)
	at com.icl.saxon.PreparedStyleSheet.prepare(PreparedStyleSheet.java:102)	at com.icl.saxon.StyleSheet.doMain(StyleSheet.java:307)
	at com.icl.saxon.StyleSheet.main(StyleSheet.java:72)
jan@magic:.../xml > 

Saxon is working without the catalog classes.
Any hints? What am I doing wrong?

Jan
-- 
Jan Blunck                          Technische Universität Hamburg-Harburg
J.Blunck@tu-harburg.de                 http://www.tu-harburg.de/~sejb3103/

PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]