> -----Original Message-----
> From: Wim Lambrecht [mailto:[EMAIL PROTECTED]
> Sent: Friday, May 07, 2004 10:18 AM
...
> Any workarounds you know off, instead off building it myself ?
No, I don't know any :-(.

I use my own patched version of dom4j-1.4.
... and also I had to replace original version dom4j from $MAVEN_HOME/lib with my own 
version. 
It doesn't work for me, when my version of dom4j was only in my plugin dependencies.
It was very strange, because unit-tests went good ( unit tests use dependecies ), but 
in real usage $MAVEN_HOME/lib/dom4j.jar has precedence in class-loader.

                        vlk


> -----Oorspronkelijk bericht-----
> Van: KR�LIK Vladim�r [mailto:[EMAIL PROTECTED] 
> Verzonden: donderdag 6 mei 2004 16:42
> Aan: Maven Users List
> Onderwerp: RE: jelly:xml question
> 
> Maybe it's this bug in dom4j :
> http://sourceforge.net/tracker/index.php?func=detail&aid=78742
> 8&group_id
> =16035&atid=116035
> 
> It was fixed only in CVS :
> http://cvs.sourceforge.net/viewcvs.py/dom4j/dom4j/src/java/org
> /dom4j/tre
> e/AbstractProcessingInstruction.java
> 
>               vlk
> 
> > -----Original Message-----
> > From: Wim Lambrecht [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, May 06, 2004 9:49 AM
> > To: [EMAIL PROTECTED]
> > Subject: jelly:xml question
> > 
> > 
> > Hi,
> > 
> > I want to use the <x:set> tag, but i have a problem with the 
> > select= part,
> > more specifically when i want to use a string-variable there.
> > 
> > 1) When i hard-code my xpath-expression, everything works fine
> > ($reconfigdoc is a DOM object constructed via the <x:parse>-tag. No
> > problem there since i get the desired result in the statement below)
> > 
> > <x:set var="hardcodetype"
> > select="string($reconfigdoc/deployment-profile/[EMAIL PROTECTED]'0
> 100']/type)"/>
> > <!-- OK -->
> > 
> > 2) When i want to pass an earlier made variable, i.c. 
> > $file.name (which is
> > something like "file1.properties") in the select part, the xpath
> > evaluation returns nothing. And file.name actually has a value.
> > 
> > <x:set var="hardcodetype"
> > select="string($reconfigdoc/deployment-profile/[EMAIL PROTECTED]'$
> {file.name}']/type)"/>
> > <!-- OK -->
> > 
> > BTW the 'select' attribuut expects an Object of type 
> org.jaxen.XPath,
> > althought all examples i've found so far just pass a String 
> > to it. (or is
> > conversion handled by the taglib ?)
> > 
> > Thanks for any help.
> > 
> > -wil-
> > 
> > 
> > 
> > 
> > 
> > 
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> > 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to