I believe the version of Xalan that is included in the 1.4 JDK will override any 
attempt you make to provide Xalan yourself.  So despite what it looks like, you're 
probably running with the D22 developer release of Xalan 2.2.

There are two solutions - you can put the new xalan.jar on the bootclasspath with the 
-Xbootclasspath flag (yuck), or you can put the new xalan.jar in the "endorsed" 
directory of the JDK (what I do):

http://xml.apache.org/~edwingo/jaxp-faq.html#override

Note that the default endorsed directory is really $JAVA_HOME/jre/lib/endorsed (in the 
JRE directory).

IMHO, this mad rush to put every library in the world into a rapidly bloating JDK 
distribution is pretty stupid, and just creates hassles.  But we're stuck with it.

Jeff Schnitzer
[EMAIL PROTECTED]


-----Original Message-----
From: Mougenot Sylvain [mailto:[EMAIL PROTECTED]] 
Sent: Monday, December 23, 2002 2:49 AM
To: Liste Maverick (E-mail)
Subject: [Mav-user] Exception during XLST transformation

CONTEXT
��� I'm�working with�maverick�using views based on XSLTranforms.
��� JDK 1.4.1
��� Orion 1.5.4
�� Xalan 2.4.1
�� Xerces 2.2.0
�
TROUBLE
��� When my XML input is relatively large (about 30Ko),
��� I've an exception (DTMException) fired by Xalan (sea end of the message ford 
etails).
�
��� We use either "disabled" or "preload" as a template-caching configuration but it 
changed nothing.
�
QUESTIONS
��� Is there some limitation in the amount of datas allowed as xml input ?
��� Do someone encounter this trouble ? (and, in this case,�have you�solved it?)
�
ALSO
��� I'm trying to use a different implementation of the transformer (like TRAX).
��� Is there a way to specify the transformer we want to use into maverick.
��� (I'd like to do something like setting the System property 
"javax.xml.transform.TransformerFactory" to my desired implementation)
�
���< /SPAN>
---------------------------------------------------------------------------------------
javax.xml.transform.TransformerException:o rg.apache.xml.dtm.DTMException: Aucun ID 
DTM disponible (meaning no�DTM ID available)
�at 
org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:1226)
�at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:638)
�at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1088)
�at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1066)
�at org.infohazard.maverick.transform.XSLTransform$Step.go(XSLTransform.java:254)
�at org.infohazard.maverick.transform.XMLTransformStep.go(XMLTransformStep.java:52)
�at org.infohazard.maverick.transform.XMLTransformStep.go(XMLTransformStep.java:60)
�at 
org.infohazard.maverick.view.TrivialViewFactory$TrivialView.go(TrivialViewFactory.java:69)
�at org.infohazard.maverick.flow.ViewWithTransforms.go(ViewWithTransforms.java:39)
�at org.infohazard.maverick.flow.CommandBase.go(CommandBase.java:50)
�at org.infohazard.maverick.Dispatcher.service(Dispatcher.java:179)
...


**********************************************************************
Ce message et ses �ventuels fichiers attach�s sont confidentiels
et sont uniquement � l'attention de la personne physique ou morale
destinatrice. Si vous avez re�u ce message par erreur, merci d'en
avertir l'exp�diteur.

Ce bas de page assure �galement que ce message a �t� v�rifi� par un anti-virus
**********************************************************************


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
[INVALID FOOTER]

Reply via email to