This is the mail archive of the xsl-list@mulberrytech.com mailing list .


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

Newbie Q: Genealogy Example and Saxon


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)


_________________________________________________________________
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


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