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

Subject: Re: [xsl] Newbie Q: Genealogy Example and Saxon
From: "L Rutker" <lrutker@xxxxxxxxxxx>
Date: Tue, 04 Sep 2001 11:55:49 -0400
I changed my classpath and removed all references to jdom xalan and xerces.
The error message changed to the following:

Error
 The SAX2 parser does not support a required namespace feature
Transformation failed

Is this progressing? :)
I would appreciate any help
Thanks
Lou
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



Current Thread