Uploaded image for project: 'Maven Doxia'
  1. Maven Doxia
  2. DOXIA-514

Prepare unittests for JDK8

    XMLWordPrintableJSON

Details

    Description

      When running tests with JDK8, a few of them fail, in all cases related to XML attribute order.

      Reason is that both Docbook Simple and FO make use of javax.swing.text.SimpleAttributeSet. JDK7 uses a Hashtable for the attributes, whereas JDK8 uses a LinkedHashMap.

      In order to fix this for all versions, the expected and actual values shouldn't be compared as Strings but as XML.

      Attachments

        Issue Links

          Activity

            People

              rfscholte Robert Scholte
              rfscholte Robert Scholte
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: