commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Libbrecht <>
Subject [jelly] Trying to understand TestJSL.testExample1
Date Thu, 11 May 2006 07:58:16 GMT

in the efforts of upgrading to dom4j-1.6, I've bumped into the following 
weird behaviour which may be my too small knowledge of JSL:

TestJSL.testExample1 tests the output of the jelly file:
and then tries to assert that the first resulting <small> element should 
start with "James Elson" which is only contained in an attribute in the 
source document whereas <small> elements, in this jsl stylesheet are 
output with the template:
  <jsl:template match="*">
i.e. only matching elements, not any node...
Can someone tell me whether this test is reasonable ?

The test is running with dom4j 1.5.2 (that tastes like a bug!)
This assert is the only breakage I have in jsl with dom4j 1.6.1.

thanks for hints


PS: I managed already with dom4j-1.5.2...

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message