ICEfaces
  1. ICEfaces
  2. ICE-55

Invoking DOMResponseWriter.endElement() without startElement()

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor 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.

        Issue Links

          Activity

          Jack Van Ooststroom created issue -
          Hide
          Ted Goddard added a comment -

          Should be addressed during JSF 1.2 integration for third-party component compatibility.

          Show
          Ted Goddard added a comment - Should be addressed during JSF 1.2 integration for third-party component compatibility.
          Hide
          Ken Fyten added a comment -

          Target 2.0.

          Show
          Ken Fyten added a comment - Target 2.0.
          Icefaces Administrator made changes -
          Field Original Value New Value
          issue.field.bugzillaimportkey 56 11324
          made changes -
          Link This issue depends on ICE-606 [ ICE-606 ]
          Ken Fyten made changes -
          Affects Version/s 1.5 [ 10027 ]
          Affects Version/s EAR (Early Access Release) [ 10020 ]
          Ken Fyten made changes -
          Priority Major [ 3 ] Minor [ 4 ]
          Ken Fyten made changes -
          Fix Version/s 2.0 [ 10032 ]
          Assignee Ted Goddard [ ted.goddard ]
          Hide
          Ken Fyten added a comment -

          Marking as Closed / Invalid as part of legacy ICEfaces 1.x, 2.x JIRA cleanup.

          Note: This issue may be resolved in a newer ICEfaces release, available here: http://www.icesoft.org/java/downloads/icefaces-downloads.jsf

          If the issue persists with the current ICEfaces release, please create a new JIRA for it.

          Show
          Ken Fyten added a comment - Marking as Closed / Invalid as part of legacy ICEfaces 1.x, 2.x JIRA cleanup. Note: This issue may be resolved in a newer ICEfaces release, available here: http://www.icesoft.org/java/downloads/icefaces-downloads.jsf If the issue persists with the current ICEfaces release, please create a new JIRA for it.
          Ken Fyten made changes -
          Status Open [ 1 ] Closed [ 6 ]
          Resolution Invalid [ 6 ]

            People

            • Assignee:
              Unassigned
              Reporter:
              Jack Van Ooststroom
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: