Hello Saurav,
I can reproduce your error - by removing saxon.jar from the classpath. =
I'm pretty sure you're picking up the default xalan XSLT transformer =
that comes with Java 1.5, which has issues, and which is causing this =
problem. If you configure your app to use saxon.jar (have it in the =
classpath and load the configuration.xml file just like the consoleapp), =
or if you add recent versions of xalan or saxon to a directory called =
endorsed under your JRE lib directory (see the Getting Started link), =
I'm confident that this will work.
Best regards,
Daniel
----- Original Message -----=20
From: Saurav Suman=20
To: ser...@li...=20
Sent: Thursday, March 15, 2007 9:34 AM
Subject: [Servingxml-help] dear all help needed on this..the java code =
doesnot compile with jre1.5
swath.xml
hiresources-swath2pipe.xml
com.servingxml.util.ServingXmlException: Error in element =
sx:subtreeRecordMap. Transform failed.. Could not compile stylesheet
at =
com.servingxml.ioc.ResourceContainerImpl.load(ResourceContainerImpl.java:=
133)
at com.servingxml.app.AppDriver.startup(AppDriver.java:131)
at com.servingxml.app.AppDriver.startup(AppDriver.java:101)
at com.servingxml.app.AppDriver.startup(AppDriver.java:55)
at XmlToFlat.startup(XmlToFlat.java:52)
at XmlToFlat.doTransform2(XmlToFlat.java:101)
at XmlToFlat.main(XmlToFlat.java:74)
swath
java.lang.NullPointerException
at =
com.servingxml.app.DefaultServiceContext.<init>(DefaultServiceContext.jav=
a:64)
at XmlToFlat.doTransform2(XmlToFlat.java:114)
at XmlToFlat.main(XmlToFlat.java:74)
***The information transmitted is intended only for the person or =
entity to which it is addressed and may contain confidential and/or =
privileged material. Any review,retransmission,dissemination or other =
use of, or taking of any action in reliance upon, this information by =
persons or entities other than the intended recipient is prohibited. If =
you received this in error, please contact the sender and delete the =
material from any computer.***=20
-------------------------------------------------------------------------=
-----
=
-------------------------------------------------------------------------=
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to =
share your
opinions on IT & business topics through brief surveys-and earn cash
=
http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D=
DEVDEV
-------------------------------------------------------------------------=
-----
_______________________________________________
Servingxml-help mailing list
Ser...@li...
https://lists.sourceforge.net/lists/listinfo/servingxml-help
|