Re: [xsl] Newbie Q: Genealogy Example and Saxon

Subject: Re: [xsl] Newbie Q: Genealogy Example and Saxon
From: "L Rutker" <lrutker@xxxxxxxxxxx>
Date: Fri, 31 Aug 2001 10:39:48 -0400
I tried a few other things including downloading the code from the first version of the list. Same error.
I tried using the -D java option to explicitly set saxon yet it doesn't work (-Djavax.xml.transform.TransformerFactory=com.icl.saxon. TransformerFactoryImpl).
Classpath is working well and can use saxon(I am using the -classpath setting to explicitly make sure that I have the right classpath).
and yes it does find the input file and xsl.


Any one have any ideas?
Thanks
Lou



From: "L Rutker" <lrutker@xxxxxxxxxxx>
Subject: [xsl] Newbie Q: Genealogy Example and Saxon
Date: Thu, 30 Aug 2001 16:39:15 -0400

Hi,
I am trying to use the code in Michael Kay's book (second ed).
The first thing I tried was converting the gedcom to xml using the
GedcomParser.
Here is what I tried from the command line:
C:\family-tree>java -classpath c:\jars\saxon.jar  com.icl.saxon.StyleSheet
-x GedcomParser Kennedy.ged normalize.xsl >test.xml

I am getting the error of "Failed to load GedcomParser" (see stack trace
below).
I tried it with both Sasxon 6.22 and 6.3.
I even tried recompiling the classes from the code that I downloaded from
wrox.com The code compiled but the error didnt go away when I tried to do
the transform.
What am I doing wrong?

Thanks Lou

Exception in thread "main"
javax.xml.transform.TransformerFactoryConfigurationEr
ror: javax.xml.transform.TransformerException: Failed to load GedcomParser
       at
com.icl.saxon.TransformerFactoryImpl.makeParser(TransformerFactoryImp
l.java:496)
       at
com.icl.saxon.TransformerFactoryImpl.getSourceParser(TransformerFacto
ryImpl.java:456)
       at com.icl.saxon.StyleSheet.doMain(StyleSheet.java:279)
       at com.icl.saxon.StyleSheet.main(StyleSheet.java:62)


XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list

_________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list



Current Thread