cougaar 12.4 and saxon 9
Todd Wright
twright at bbn.com
Tue Jan 22 15:42:15 EST 2008
Where is this exception being thrown? Is it in
org.cougaar.core.node.XSLTransformer.findXmlStylesheetTransformerHandler
http://cougaar.org/cgi-bin/viewcvs.cgi/core/src/org/cougaar/core/node/XSLTransformer.java?annotate=1.4&cvsroot=core#390
?
If so, I can modify this method to return null if an exception is thrown.
Please reply with the exception stacktrace.
The Cougaar XSLT parser checks for an optional stylesheet tag in the XML file.
My understanding is that this tag is *optional*, since the user may want to
apply different stylesheets to the same XML data file, in which case the
stylesheet should be specified at runtime (as Cougaar does) instead of in the
XML file. I can't see why the new Saxon XSLT parser would throw an exception
in this case. Hopefully the stacktrace will help explain the problem.
Todd
Michiel Kamermans wrote:
> Cougaar 12.4 seems to incompatible with the new generation of Saxon XSLT
> parsers, suffering from the same problem as outlined in
> http://osdir.com/ml/text.xml.o-xml/2003-12/msg00001.html
>
> because the new parser throws an exception when there is no
> xml-stylesheet defined, instead of registering that there simply is
> none, cougaar doesn't catch exception yet and instead terminates citing
> this exception.
>
> - Mike Kamermans
> University of Amsterdam
>
> _______________________________________________
> Cougaar-developers mailing list
> Cougaar-developers at cougaar.org
> http://cougaar.org/mailman/listinfo/cougaar-developers
>
More information about the Cougaar-developers
mailing list