RE: Remplacer le processeurs XSLT par défaut (sous JONAS )

<[email protected]> Wed, 16 Nov 2011 18:08:11 +0100
Newsgroups gmane.comp.java.french.general
Message-ID <17723_1321463293_4EC3EDFD_17723_4660_1_9A0AC53E58D55946ADB5B1AA8AB75D7C4AD407B127@PUEXCB2C.nanterre.francetelecom.fr>
--_000_9A0AC53E58D55946ADB5B1AA8AB75D7C4AD407B127PUEXCB2Cnante_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Bonjour,
G=E9n=E9ralement il faut aussi configurer la TransformerFactory (enfin JAXP=
) pour utiliser Saxon de fa=E7on explicite.

Ca se fait en positionnant la propri=E9t=E9 syst=E8me javax.xml.transform.T=
ransformerFactory =E0 net.sf.saxon.TransformerFactoryImpl
J'ignore par contre comment on positionne =E7a avec Jonas.

My 2 cents,
Patrice

De : Sylvain RICHET [mailto:[email protected]]
Envoy=E9 : mercredi 16 novembre 2011 17:59
=C0 : JAVA_ML_USTRASBG
Objet : Remplacer le processeurs XSLT par d=E9faut (sous JONAS)

Bonjour =E0 Tous,

C'est un peu hors du topic (dans la mesure o=F9 =E7a ne concerne que JONAS,=
 mais bon...)

Je travaille actuellement sous JONAS 5.1.5
Il me faut remplacer le processeur XSLT de XALAN ([JONAS_ROOT]/lib/endorsed=
/xalan-2.7.1.jar) par celui de SAXON (9.1.0.8).
Alors j'ai essay=E9 diff=E9rents trucs :
- copier mes libs SAXON dans [JONAS_BASE]/lib/ext
- remplacer le [JONAS_ROOT]/lib/endorsed/xalan-2.7.1.jar par les libs SAXON

Echec total
Je mis=E8re grave.

En outre, j'ai remarqu=E9 que dans le runtime Eclipse, alors m=EAme que il =
ne semble pas y avoir de lib SAXON dans mon classpath,
c'est pourtant bien le processeur XSLT de SAXON qui est utilis=E9 quand je =
lance par ex. un test unitaire avec ma XSL.
Je ne vois pas tr=E8s bien pourquoi.
Est-ce le processeur XSLT par d=E9faut du JRE ?

Si l'un d'entre vous a une id=E9e / des infos

Bonne soir=E9e =E0 Vous
Et merci d'avance

___________________________________________________________________________=
______________________________________________

Ce message et ses pieces jointes peuvent contenir des informations confiden=
tielles ou privilegiees et ne doivent donc pas etre diffuses, exploites ou =
copies sans autorisation. Si vous avez recu ce message par erreur, veuillez=
 le signaler a l'expediteur et le detruire ainsi que les pieces jointes. Le=
s messages electroniques etant susceptibles d'alteration, France Telecom - =
Orange decline toute responsabilite si ce message a ete altere, deforme ou =
falsifie. Merci

This message and its attachments may contain confidential or privileged inf=
ormation that may be protected by law; they should not be distributed, used=
 or copied without authorization. If you have received this email in error,=
 please notify the sender and delete this message and its attachments. As e=
mails may be altered, France Telecom - Orange shall not be liable if this m=
essage was modified, changed or falsified. Thank you.



--_000_9A0AC53E58D55946ADB5B1AA8AB75D7C4AD407B127PUEXCB2Cnante_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; charset=3Diso-8859-=
1">
<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:x=3D"urn:schemas-microsoft-com:office:excel" xmlns:p=3D"urn:schemas-m=
icrosoft-com:office:powerpoint" xmlns:a=3D"urn:schemas-microsoft-com:office=
:access" xmlns:dt=3D"uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:s=3D"=
uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:rs=3D"urn:schemas-microsof=
t-com:rowset" xmlns:z=3D"#RowsetSchema" xmlns:b=3D"urn:schemas-microsoft-co=
m:office:publisher" xmlns:ss=3D"urn:schemas-microsoft-com:office:spreadshee=
t" xmlns:c=3D"urn:schemas-microsoft-com:office:component:spreadsheet" xmlns=
:odc=3D"urn:schemas-microsoft-com:office:odc" xmlns:oa=3D"urn:schemas-micro=
soft-com:office:activation" xmlns:html=3D"http://www.w3.org/TR/REC-html40" =
xmlns:q=3D"http://schemas.xmlsoap.org/soap/envelope/" xmlns:rtc=3D"http://m=
icrosoft.com/officenet/conferencing" xmlns:D=3D"DAV:" xmlns:Repl=3D"http://=
schemas.microsoft.com/repl/" xmlns:mt=3D"http://schemas.microsoft.com/share=
point/soap/meetings/" xmlns:x2=3D"http://schemas.microsoft.com/office/excel=
/2003/xml" xmlns:ppda=3D"http://www.passport.com/NameSpace.xsd" xmlns:ois=
=3D"http://schemas.microsoft.com/sharepoint/soap/ois/" xmlns:dir=3D"http://=
schemas.microsoft.com/sharepoint/soap/directory/" xmlns:ds=3D"http://www.w3=
.org/2000/09/xmldsig#" xmlns:dsp=3D"http://schemas.microsoft.com/sharepoint=
/dsp" xmlns:udc=3D"http://schemas.microsoft.com/data/udc" xmlns:xsd=3D"http=
://www.w3.org/2001/XMLSchema" xmlns:sub=3D"http://schemas.microsoft.com/sha=
repoint/soap/2002/1/alerts/" xmlns:ec=3D"http://www.w3.org/2001/04/xmlenc#"=
 xmlns:sp=3D"http://schemas.microsoft.com/sharepoint/" xmlns:sps=3D"http://=
schemas.microsoft.com/sharepoint/soap/" xmlns:xsi=3D"http://www.w3.org/2001=
/XMLSchema-instance" xmlns:udcs=3D"http://schemas.microsoft.com/data/udc/so=
ap" xmlns:udcxf=3D"http://schemas.microsoft.com/data/udc/xmlfile" xmlns:udc=
p2p=3D"http://schemas.microsoft.com/data/udc/parttopart" xmlns:wf=3D"http:/=
/schemas.microsoft.com/sharepoint/soap/workflow/" xmlns:dsss=3D"http://sche=
mas.microsoft.com/office/2006/digsig-setup" xmlns:dssi=3D"http://schemas.mi=
crosoft.com/office/2006/digsig" xmlns:mdssi=3D"http://schemas.openxmlformat=
s.org/package/2006/digital-signature" xmlns:mver=3D"http://schemas.openxmlf=
ormats.org/markup-compatibility/2006" xmlns:m=3D"http://schemas.microsoft.c=
om/office/2004/12/omml" xmlns:mrels=3D"http://schemas.openxmlformats.org/pa=
ckage/2006/relationships" xmlns:spwp=3D"http://microsoft.com/sharepoint/web=
partpages" xmlns:ex12t=3D"http://schemas.microsoft.com/exchange/services/20=
06/types" xmlns:ex12m=3D"http://schemas.microsoft.com/exchange/services/200=
6/messages" xmlns:pptsl=3D"http://schemas.microsoft.com/sharepoint/soap/Sli=
deLibrary/" xmlns:spsl=3D"http://microsoft.com/webservices/SharePointPortal=
Server/PublishedLinksService" xmlns:Z=3D"urn:schemas-microsoft-com:" xmlns:=
st=3D"&#1;" xmlns=3D"http://www.w3.org/TR/REC-html40"><head><meta name=3DGe=
nerator content=3D"Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
	{font-family:SimSun;
	panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
	{font-family:"\@SimSun";
	panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
code
	{mso-style-priority:99;
	font-family:"Courier New";}
pre
	{mso-style-priority:99;
	mso-style-link:"Pr=E9format=E9 HTML Car";
	margin:0cm;
	margin-bottom:.0001pt;
	font-size:10.0pt;
	font-family:"Courier New";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
	{mso-style-priority:99;
	mso-style-link:"Texte de bulles Car";
	margin:0cm;
	margin-bottom:.0001pt;
	font-size:8.0pt;
	font-family:"Tahoma","sans-serif";}
span.EmailStyle17
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.TextedebullesCar
	{mso-style-name:"Texte de bulles Car";
	mso-style-priority:99;
	mso-style-link:"Texte de bulles";
	font-family:"Tahoma","sans-serif";}
span.PrformatHTMLCar
	{mso-style-name:"Pr=E9format=E9 HTML Car";
	mso-style-priority:99;
	mso-style-link:"Pr=E9format=E9 HTML";
	font-family:"Courier New";}
.MsoChpDefault
	{mso-style-type:export-only;}
@page WordSection1
	{size:612.0pt 792.0pt;
	margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--></head><body lang=3DFR link=3Dblue vlink=
=3Dpurple><div class=3DWordSection1><p class=3DMsoNormal><span style=3D'fon=
t-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Bonjour,<o:=
p></o:p></span></p><p class=3DMsoNormal><span style=3D'font-size:11.0pt;fon=
t-family:"Calibri","sans-serif";color:#1F497D'>G=E9n=E9ralement il faut aus=
si configurer la TransformerFactory (enfin JAXP) pour utiliser Saxon de fa=
=E7on explicite.<o:p></o:p></span></p><pre><span style=3D'font-size:11.0pt;=
font-family:"Calibri","sans-serif";color:#1F497D'>Ca se fait en positionnan=
t la propri=E9t=E9 syst=E8me </span><code>javax.xml.transform.TransformerFa=
ctory</code><code> </code><span style=3D'font-size:11.0pt;font-family:"Cali=
bri","sans-serif";color:#1F497D'>=E0</span><code> </code>net.sf.saxon.Trans=
formerFactoryImpl<o:p></o:p></pre><p class=3DMsoNormal><span style=3D'font-=
size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>J&#8217;ignor=
e par contre comment on positionne =E7a avec Jonas.<o:p></o:p></span></p><p=
 class=3DMsoNormal><span style=3D'font-size:11.0pt;font-family:"Calibri","s=
ans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal>=
<span style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1=
F497D'>My 2 cents,<o:p></o:p></span></p><p class=3DMsoNormal><span style=3D=
'font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Patrice=
<o:p></o:p></span></p><p class=3DMsoNormal><span style=3D'font-size:11.0pt;=
font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span><=
/p><div style=3D'border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0=
cm 4.0pt'><div><div style=3D'border:none;border-top:solid #B5C4DF 1.0pt;pad=
ding:3.0pt 0cm 0cm 0cm'><p class=3DMsoNormal><b><span style=3D'font-size:10=
.0pt;font-family:"Tahoma","sans-serif"'>De&nbsp;:</span></b><span style=3D'=
font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Sylvain RICHET [mailto=
:[email protected]] <br><b>Envoy=E9&nbsp;:</b> mercredi 16 novembre 201=
1 17:59<br><b>=C0&nbsp;:</b> JAVA_ML_USTRASBG<br><b>Objet&nbsp;:</b> Rempla=
cer le processeurs XSLT par d=E9faut (sous JONAS)<o:p></o:p></span></p></di=
v></div><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>Bonj=
our =E0 Tous,<br><br><i>C'est un peu hors du topic (dans la mesure o=F9 =E7=
a ne concerne que JONAS, mais bon...)</i><br><br>Je travaille actuellement =
sous <b>JONAS 5.1.5</b><br>Il me faut remplacer le <i>processeur XSLT</i> d=
e <b>XALAN </b>(<span style=3D'font-family:"Courier New"'>[JONAS_ROOT]/lib/=
endorsed/xalan-2.7.1.jar</span>) par celui de <b>SAXON </b>(9.1.0.8).<br>Al=
ors j'ai essay=E9 diff=E9rents trucs :<br>- copier mes libs SAXON dans <spa=
n style=3D'font-family:"Courier New"'>[JONAS_BASE]/lib/</span>ext<br>- remp=
lacer le<span style=3D'font-family:"Courier New"'> [JONAS_ROOT]/lib/endorse=
d/xalan-2.7.1.jar</span> par les libs SAXON<br><br>Echec total<br>Je mis=E8=
re grave.<br><br>En outre, j'ai remarqu=E9 que dans le runtime Eclipse, alo=
rs m=EAme que il ne semble pas y avoir de lib SAXON dans mon classpath,<br>=
c'est pourtant bien le processeur XSLT de SAXON qui est utilis=E9 quand je =
lance par ex. un test unitaire avec ma XSL.<br>Je ne vois pas tr=E8s bien p=
ourquoi.<br>Est-ce le processeur XSLT par d=E9faut du JRE ?<br><br>Si l'un =
d'entre vous a une id=E9e / des infos<br><br>Bonne soir=E9e =E0 Vous<br>Et =
merci d'avance<o:p></o:p></p></div></div><PRE>_____________________________=
___________________________________________________________________________=
_________________

Ce message et ses pieces jointes peuvent contenir des informations confiden=
tielles ou privilegiees et ne doivent donc pas etre diffuses, exploites ou =
copies sans autorisation. Si vous avez recu ce message par erreur, veuillez=
 le signaler a l'expediteur et le detruire ainsi que les pieces jointes. Le=
s messages electroniques etant susceptibles d'alteration, France Telecom - =
Orange decline toute responsabilite si ce message a ete altere, deforme ou =
falsifie. Merci

This message and its attachments may contain confidential or privileged inf=
ormation that may be protected by law; they should not be distributed, used=
 or copied without authorization. If you have received this email in error,=
 please notify the sender and delete this message and its attachments. As e=
mails may be altered, France Telecom - Orange shall not be liable if this m=
essage was modified, changed or falsified. Thank you.

</PRE></body></html>=

--_000_9A0AC53E58D55946ADB5B1AA8AB75D7C4AD407B127PUEXCB2Cnante_--