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

SAXParser: support stopping a parsing process

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: tbd
    • Component/s: xml

      Description

      The SAXParser does not provide a mechanism to stop the parsing process. The semantic therefore is that a SAXParser would always scan through the whole XML document once a parsing process is started. This is especially undesirable when parsing a very large document.

      This enhancement request proposes to add stop() and resume() methods to allow stopping and resuming a parsing process.

        Attachments

          Activity

            People

            • Assignee:
              joehw Joe Wang
              Reporter:
              joehw Joe Wang
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: