users@glassfish.java.net

RE: XSLT processor in Glassfish ?

From: Martin Gainty <mgainty_at_hotmail.com>
Date: Sun, 17 May 2009 22:10:23 -0400

if you dont like the base implementation offered by XMLReader
> All XMLReaders are required to recognize the
> http://xml.org/sax/features/namespaces and the
> http://xml.org/sax/features/namespace-prefixes feature names.
>
> http://xml.apache.org/xalan-j/apidocs/org/xml/sax/XMLReader.html

then i would suggest you write your own
Buena Suerte
Martin
______________________________________________
Jogi és Bizalmassági kinyilatkoztatás/Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
 Ez az
üzenet bizalmas. Ha nem ön az akinek szánva volt, akkor kérjük, hogy
jelentse azt nekünk vissza. Semmiféle továbbítása vagy másolatának
készítése nem megengedett. Ez az üzenet csak ismeret cserét szolgál és
semmiféle jogi alkalmazhatósága sincs. Mivel az electronikus üzenetek
könnyen megváltoztathatóak, ezért minket semmi felelöség nem terhelhet
ezen üzenet tartalma miatt.

Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut ętre privilégié. Si vous n'ętes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert ŕ l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement ętre sujets ŕ la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni.




> Date: Sun, 17 May 2009 20:52:23 +0200
> From: fgaucho_at_gmail.com
> To: users_at_glassfish.dev.java.net
> Subject: Re: XSLT processor in Glassfish ?
>
> which dependency ? sorry, your links seem broken :)
>
> the goal:
>
> to take this xml:
> http://fgaucho.dyndns.org:8080/footprint-service/application.wadl
> and transform with this style sheet:
> http://www.mnot.net/webdesc/wadl_documentation.xsl
>
> supposedly a simple transformation..
>
> with saxon it works.. (saxon is just here because the example used
> saxon.. I am not sure if there are saxon namespaces in the xslt
> file...)
>
>
> On Sun, May 17, 2009 at 8:15 PM, Martin Gainty <mgainty_at_hotmail.com> wrote:
> > Felipe-
> >
> > there is a dependency for all XMLReaders (vis a vis Xalan) to recognise
> > SAXON namespaces and features:
> >
> > All XMLReaders are required to recognize the
> > http://xml.org/sax/features/namespaces and the
> > http://xml.org/sax/features/namespace-prefixes feature names.
> >
> > http://xml.apache.org/xalan-j/apidocs/org/xml/sax/XMLReader.html
> >
> > Saludos Cordiales desde EEUU!
> > Martin
> > ______________________________________________
> > Jogi és Bizalmassági kinyilatkoztatás/Verzicht und
> > Vertraulichkeitanmerkung/Note de déni et de confidentialité
> >
> > Ez az üzenet bizalmas. Ha nem ön az akinek szánva volt, akkor kérjük, hogy
> > jelentse azt nekünk vissza. Semmiféle továbbítása vagy másolatának készítése
> > nem megengedett. Ez az üzenet csak ismeret cserét szolgál és semmiféle jogi
> > alkalmazhatósága sincs. Mivel az electronikus üzenetek könnyen
> > megváltoztathatóak, ezért minket semmi felelöség nem terhelhet ezen üzenet
> > tartalma miatt.
> >
> > Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene
> > Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte
> > Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht
> > dient lediglich dem Austausch von Informationen und entfaltet keine
> > rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von
> > E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.
> >
> > Ce message est confidentiel et peut ętre privilégié. Si vous n'ętes pas le
> > destinataire prévu, nous te demandons avec bonté que pour satisfaire
> > informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie
> > de ceci est interdite. Ce message sert ŕ l'information seulement et n'aura
> > pas n'importe quel effet légalement obligatoire. Étant donné que les email
> > peuvent facilement ętre sujets ŕ la manipulation, nous ne pouvons accepter
> > aucune responsabilité pour le contenu fourni.
> >
> >
> >
> >
> >> Date: Sun, 17 May 2009 19:17:37 +0200
> >> From: fgaucho_at_gmail.com
> >> To: users_at_glassfish.dev.java.net
> >> Subject: Re: XSLT processor in Glassfish ?
> >>
> >> 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
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> >> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
> >>
> >
> > ________________________________
> > Insert movie times and more without leaving Hotmail®. See how.
>
>
>
> --
>
> Please help to test this application:
> http://fgaucho.dyndns.org:8080/cejug-classifieds-richfaces
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>

_________________________________________________________________
Insert movie times and more without leaving Hotmail®.
http://windowslive.com/Tutorial/Hotmail/QuickAdd?ocid=TXT_TAGLM_WL_HM_Tutorial_QuickAdd1_052009