It seems that there is a "dom4j 1.5 beta1" released !
And the bug you've reported has been fixed in that one (see release
notes: 
http://sourceforge.net/project/shownotes.php?release_id=226425)

I'll try that one to see i my problem is solved.

-wil-


-----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=787428&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]

Reply via email to