Uploaded image for project: 'Xerces-C++'
  1. Xerces-C++
  2. XERCESC-1902

Stray newline if pretty-printing without xml declaration

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • 3.1.0, 3.1.1, 3.1.2, 3.1.3, 3.1.4
    • 3.2.0
    • DOM
    • None

    Description

      If we disable writing xml declaration and enable pretty printing, we get a stray newline at the beginning of the document:

      '
      <root>
      ...
      </root>
      '

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            scantor Scott Cantor
            bsk Boris Kolpackov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Issue deployment