From: Stefan B. <bo...@ap...> - 2007-05-18 05:35:19
|
On Thu, 17 May 2007, Furash Gary <fu...@mc...> wrote: > I'm diffing the following two bits of XML, that look identical to > me: what are you doing that riggers the transform? My guess would be ignoring whitespace. > ERROR: > 'com/sun/org/apache/xalan/internal/xsltc/runtime/AttributeList' > FATAL ERROR: 'Could not compile stylesheet' This is JDK 1.5's builtin XSLT processor, right? The stylesheet used is trivial and it is correct. Unfortunately Sun decided to ship a pretty buggy version of XSLTC instead of Xalan-J with the JDK. The best advice I can give is that you use a different XSLT processor. Download Xalan-J or Saxon or GNU JAXP and either use JAXP's endorsed override mechanism or XMLUnit's options to use this other processor. Stefan |