users@glassfish.java.net

Re: XSLT processor in Glassfish ?

From: Felipe Gaúcho <fgaucho_at_gmail.com>
Date: Sun, 17 May 2009 19:17:37 +0200

humm.. it didn't worked :(

even trying to add the XALAN as maven dependency didn't solved the problem..

I have this code working fine with Saxon, but I would like to remove
the saxon dependency from maven and use something already available in
the environment (java 6)...

the log error:

[#|2009-05-17T19:15:45.689+0200|SEVERE|sun-appserver9.1|com.sun.jersey.server.impl.wadl.WadlResource|_ThreadID=20;_ThreadName=httpSSLWorkerThread-8080-0;_RequestID=c0be25d3-3ee0-45aa-8b08-1695e97da400;|Could
not marshal wadl Application as HTML.
java.lang.ClassCastException: org.apache.xml.dtm.ref.DTMManagerDefault
cannot be cast to org.apache.xml.dtm.DTMManager



On Sun, May 17, 2009 at 5:52 PM, NBW <emailnbw_at_gmail.com> wrote:
> It has the Apache XALAN impl. bundled with the JDK you are using to run
> Glassfish. SAXON can be a useful alternative for a number of reasons, one
> being you need XSL 2.0 APIs as XALAN doesn't support them.
>
> 2009/5/17 Felipe Gaúcho <fgaucho_at_gmail.com>
>>
>> I have my Jersey service  WADL published also as HTML format:
>> http://fgaucho.dyndns.org:8080/footprint-service/wadl
>>
>> it works despite the pending enhancement in the  documentation, etc...
>>
>> it is being done with Saxon processor.. but I was wondering if
>> Glassfish (or java) doesn't have a XSLT processor already available,
>> so I can cut this dependency in my pom.xml file..........
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>>
>
>



-- 
Please help to test this application:
http://fgaucho.dyndns.org:8080/cejug-classifieds-richfaces