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

format-pretty-print isn't very pretty in DOMWriter

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Resolution: Fixed
    • 2.1.0
    • 2.2.0
    • DOM
    • None
    • Operating System: Windows NT/2K
      Platform: PC
    • 13840

    Description

      I'd like format-pretty-print to print more prettily in DOMWriter. Currently
      format-pretty-print just puts in the odd newline to make things clearer. I would
      like it to put in newlines between every element and indent things according to
      the tree structure.

      I understand that adding things like tree indentation might change the
      interpretation of an XML document, but it is a nice thing to have. Perhaps
      it is application specific and should not be put into DOMWriter. I would like
      your feedback on this. If you would like format-pretty-print to print more
      prettily, I can make changes to DOMWriter and submit them to become part of
      the official source.

      Attachments

        Activity

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

          People

            Unassigned Unassigned
            nagoya.apach.org@ooooooooo.net B R Jefferys
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment