[ 
https://issues.apache.org/jira/browse/UIMA-4056?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Marshall Schor resolved UIMA-4056.
----------------------------------
    Resolution: Fixed

> fix JSON tests which do XML compares to use XMLUnit
> ---------------------------------------------------
>
>                 Key: UIMA-4056
>                 URL: https://issues.apache.org/jira/browse/UIMA-4056
>             Project: UIMA
>          Issue Type: Improvement
>          Components: Core Java Framework
>    Affects Versions: 2.6.1SDK
>            Reporter: Marshall Schor
>            Assignee: Marshall Schor
>            Priority: Minor
>             Fix For: 2.6.1SDK
>
>
> The JSON tests have a mode where they generate xmi/xml serializations as 
> well, just for extra coverage.  THe compare of these against expected can't 
> be a string "equals" because different XML parsers, transformers, etc. do 
> ordering of name-spaces and formatting of empty elements differently.  Use 
> instead the XMLUnit package (available from Maven Central - license OK) 
> (thanks to suggestion from [~rec]), to check for "equality" instead that 
> allows for these differences.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to