| Anonymous | Login | Signup for a new account | 11-09-2025 23:38 PST |
| Main | My View | View Issues | Change Log | Docs |
| Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
| ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
| 0001916 | [Resin] | minor | always | 07-30-07 17:29 | 08-13-07 10:24 | ||||
| Reporter | ccwf | View Status | public | ||||||
| Assigned To | ferg | ||||||||
| Priority | normal | Resolution | fixed | ||||||
| Status | closed | Product Version | 3.1.1 | ||||||
| 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. | ||||||||
| 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) %> |
||||||||
| Attached Files | |||||||||
|
|
|||||||||
| Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed. 26 unique queries executed. |