Mantis - Resin
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
1916 | minor | always | 07-30-07 17:29 | 08-13-07 10:24 | |
|
|||||
Reporter: | ccwf | Platform: | |||
Assigned To: | ferg | OS: | |||
Priority: | normal | OS Version: | |||
Status: | closed | Product Version: | 3.1.1 | ||
Product Build: | Resolution: | fixed | |||
Projection: | none | ||||
ETA: | none | Fixed in Version: | 3.1.3 | ||
|
|||||
Summary: | 0001916: Resin NodeList implementation of item(0) fails for empty NodeLists | ||||
Description: | Spec requires that item(0) return null for empty NodeLists. With Resin's implementation (QDeepNodeList), it throws a null pointer exception. | ||||
Steps To Reproduce: | |||||
Additional Information: |
The bug also affects Resin 3.0.23. Here's a sample JSP that demonstrates the bug: <%@ page import="javax.xml.parsers.*" %> <%= DocumentBuilderFactory.newInstance().newDocumentBuilder().newDocument().getElementsByTagName("foo").item(0) %> |
||||
Relationships | |||||
Attached Files: |
Notes | |||||
|
|||||
|
|