Bug 8048 - XPath expressions not always properly evaluated
Summary: XPath expressions not always properly evaluated
Alias: None
Product: Taglibs
Classification: Unclassified
Component: Standard Taglib (show other bugs)
Version: unspecified
Hardware: Other Windows XP
: P3 normal (vote)
Target Milestone: ---
Assignee: Tomcat Developers Mailing List
Depends on:
Reported: 2002-04-13 16:46 UTC by David Geary
Modified: 2004-11-16 19:05 UTC (History)
0 users


Note You need to log in before you can comment on or make changes to this bug.
Description David Geary 2002-04-13 16:46:04 UTC
I'm having a maddening time with the xml actions; sometimes they work fine, 
and other times they don't. For example, this produces no output:

<c:import var='xmlInput' url='c.tld'/>
<x:parse var='document' xmlText='${xmlInput}'/>

<x:forEach select="$document//tag"> 
   <x:out select='.'/>

For a simple XML file -- an address book with three addresses -- I can write 
code similar to the fragment above, and it works. With more complex xml files, 
like c.tld, it does not.