Details
-
Type: Bug
-
Status: Closed
-
Priority: Minor
-
Resolution: Invalid
-
Affects Version/s: 1.5
-
Fix Version/s: None
-
Component/s: Framework
-
Labels:None
-
Environment:Operating System: All
Platform: All
Description
When invoking DOMResponseWriter.endElement() without a previous corresponding
DOMResponseWriter.startElement() invocation, the end element seems to be
ignored, looking at the output. However, the internal state might have been
messed up because of this.
Just to clarify, consider the following snippet of code:
StringWriter stringWriter = new StringWriter();
DOMResponseWriter domResponseWriter =
new DOMResponseWriter(stringWriter, "text/html", "ISO-8859-1");
domResponseWriter.endElement("input");
domResponseWriter.writeDOM();
The StringWriter currently contains "<HTML></HTML>\n", telling us it ignored the
endElement() invocation, however the internal state might have changed because
of this. We should investigate this a bit more.
DOMResponseWriter.startElement() invocation, the end element seems to be
ignored, looking at the output. However, the internal state might have been
messed up because of this.
Just to clarify, consider the following snippet of code:
StringWriter stringWriter = new StringWriter();
DOMResponseWriter domResponseWriter =
new DOMResponseWriter(stringWriter, "text/html", "ISO-8859-1");
domResponseWriter.endElement("input");
domResponseWriter.writeDOM();
The StringWriter currently contains "<HTML></HTML>\n", telling us it ignored the
endElement() invocation, however the internal state might have changed because
of this. We should investigate this a bit more.
Issue Links
- depends on
-
ICE-606 Make ICEfaces fully leverage JSF 1.2
- Closed
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion