XStream
  1. XStream
  2. XSTR-132

SaxWriter always writes startDocument() and endDocument()

    Details

    • Type: Wish Wish
    • Status: Closed Closed
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.1
    • Component/s: None
    • Labels:
      None

      Description

      I'd like to use SaxWriter to produce part of XML file, but SaxWriter always writes xml declaration, it always calls startDocument() and endDocument(). So generated document looks like:

      <?xml version="1.0"?>
      <root>
      <?xml version="1.0"?>
      <string>a</string>
      <?xml version="1.0"?>
      <string>b</string>
      <?xml version="1.0"?>
      <string>c</string>
      <?xml version="1.0"?>
      <string>d</string>
      </root>

      Thanks.

        People

        • Assignee:
          Unassigned
          Reporter:
          Stepan Koltsov
        • Votes:
          0 Vote for this issue
          Watchers:
          0 Start watching this issue

          Dates

          • Created:
            Updated:
            Resolved: