Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6479867

Make it possible for SAX parsing event listener to distinguish <tag></tag> from <tag/>

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Not an Issue
    • Icon: P3 P3
    • None
    • jwsdp-2.0
    • xml

      Currently, <tag></tag> and <tag/> cause the exact same sequence of events: startElement() followed by endElement(), to be emitted by the SAX parser, making <tag></tag> indistinguishable from <tag/> for any SAX parsing event listener. This can cause problems in certain environments such as JSP (see https://glassfish.dev.java.net/issues/show_bug.cgi?id=617 for details).

      Please add new API that would allow SAX parsing event listener to distinguish <tag></tag> from <tag/>.

            Unassigned Unassigned
            jlueheorcl Jan Luehe (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: