Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000023 [Resin] minor always 03-08-05 00:00 01-25-06 11:04
Reporter user39 View Status public  
Assigned To ferg
Priority normal Resolution fixed Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version 3.0.18 Product Version
  Product Build
Summary 0000023: JSTL <x:out>: XPath doesn't work with namespaced elements.
Description RSN-14
For a sample XML document:

<articles xmlns:articles="...">
  <articles:article id="test" flag="yes">
     ...
  </articles:article>
</articles>

Using the following JSTl does not work in Resin 3 - it does in Resin 2.

<x:out select="$parsedXml/articles/articles:article[@flag='yes']"/>

It DOES work when I use a wildcard in place of the namespaced element name:

<x:out select="$parsedXml/articles/*[@flag='yes']"/>
Steps To Reproduce
Additional Information Resin 3.0.11, Java 1.4.2
Attached Files

- Relationships

- Notes
(0000776)
ferg
01-25-06 11:04

jsp/1g14
 

- Issue History
Date Modified Username Field Change
03-08-05 00:00 user39 New Issue
01-25-06 11:04 ferg Note Added: 0000776
01-25-06 11:04 ferg Assigned To  => ferg
01-25-06 11:04 ferg Status acknowledged => closed
01-25-06 11:04 ferg Resolution open => fixed
01-25-06 11:04 ferg Fixed in Version  => 3.0.18


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
33 total queries executed.
26 unique queries executed.
Powered by Mantis Bugtracker