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

isStandalone property: remove dependency on pretty-print

XMLWordPrintable

    • b09

        The new implementation specific property isStandalone added through JDK-8249867 required the property “format-pretty-print” to be true. However, applications may want the serializer to produce the following:
        <?xml version=\"1.0\" encoding=\"UTF-8\"?>
        <root><a>b</a></root>
        rather than:
        <?xml version=\"1.0\" encoding=\"UTF-8\"?><root><a>b</a></root>

        In such cases, it would be desirable for the isStandalone property to take effect without format-pretty-print.

              joehw Joe Wang
              joehw Joe Wang
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: