velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Burton" <bi...@progress.com>
Subject [DVSL] #match and unions fail?
Date Wed, 06 Mar 2002 00:21:22 GMT
Hello,

I'm attempting to use the #match directive with unions to match one node
or another:
    #match( "aaa | bbb" )
What I'm finding is it matches "aaa" nodes but not "bbb" nodes.

The real easy way to reproduce this is to modify
examples/simple/docs/example1.dvsl changing:
    #match("document")
to
    #match("aaa | document")
it will then fail to match on "document" and not output the <html>
section.  However, changing it to:
    #match("document | aaa")
does work.

I'm assuming this is really a dom4j issue so I upgraded to version 1.2 but
this hasn't helped.  I'm attempting to reproduce this using the dom4j
API's.  In the meantime, I'm open to suggestions.

-Bill

--
To unsubscribe, e-mail:   <mailto:velocity-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:velocity-user-help@jakarta.apache.org>


Mime
View raw message