Robert Scholte created DOXIA-514:
------------------------------------

             Summary: Prepare unittests for JDK8
                 Key: DOXIA-514
                 URL: https://jira.codehaus.org/browse/DOXIA-514
             Project: Maven Doxia
          Issue Type: Task
          Components: Module - Docbook Simple, Module - FO
    Affects Versions: 1.5
            Reporter: Robert Scholte


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.



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)

Reply via email to