[ 
https://issues.apache.org/jira/browse/HADOOP-12031?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14560447#comment-14560447
 ] 

Sean Busbey commented on HADOOP-12031:
--------------------------------------

{quote}
One concern is, this plugin depends on Python currently. I assume we can use 
Python in most build environment, but please advise if there is a more portable 
and not-so-hard way to validate XML.
{quote}

Relying on python is problematic. If you stick with it, you'll need to detect 
and gracefully degrade when the version you need isn't present.

If we're just checking well-formed-ness, how about using xmllint?

> test-patch.sh should have an xml plugin
> ---------------------------------------
>
>                 Key: HADOOP-12031
>                 URL: https://issues.apache.org/jira/browse/HADOOP-12031
>             Project: Hadoop Common
>          Issue Type: Test
>          Components: build
>            Reporter: Allen Wittenauer
>            Assignee: Kengo Seki
>              Labels: newbie, test-patch
>         Attachments: HADOOP-12031.001.patch, HADOOP-12031.002.patch
>
>
> HADOOP-11178 demonstrates why there is a need to verify xml files on a patch 
> change.



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

Reply via email to