[
https://issues.apache.org/jira/browse/HIVE-5064?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13737237#comment-13737237
]
Brock Noland commented on HIVE-5064:
------------------------------------
I propose before doing the diff we turn the xml into [Canoncial
XML|http://en.wikipedia.org/wiki/Canonical_XML]. For example:
{noformat}
[brock@bigboy ~]$ cat test.xml
<root>
<attr z="value" k = "value" a=
"value" />
</root>
[brock@bigboy ~]$
[brock@bigboy ~]$ xmllint test.xml
<?xml version="1.0"?>
<root>
<attr z="value" k="value" a="value"/>
</root>
[brock@bigboy ~]$ xmllint --c14n test.xml ; echo
<root>
<attr a="value" k="value" z="value"></attr>
</root>
{noformat}
> TestParse fails on JDK7
> -----------------------
>
> Key: HIVE-5064
> URL: https://issues.apache.org/jira/browse/HIVE-5064
> Project: Hive
> Issue Type: Bug
> Components: Tests
> Reporter: Brock Noland
> Assignee: Brock Noland
>
> TestParse fails on JDK 7 because of the order of XML attributes
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira