Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.6 / 3....
  • Linux Kernel 3.0.82 LTS...
  • KDE Software Compilatio...
  • PulseAudio 4.0
  • Wireshark 1.10.0
  • NetworkManager 0.9.8.2
  • LibreOffice 3.6.6 / 4.0...
  • SystemRescueCd 3.7.0
  • Linux Kernel 3.10 RC6
  • Ubuntu Tweak 0.8.5
  • Home > Linux > Text Editing&Processing > Markup

    xml-test 0.2

    Download button

    No screenshots available
    Downloads: 386  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    Fair (2.3/5)
    13 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Iulian Dragos | More programs
    The Apache License 2.0 / FREE
    April 22nd, 2008, 12:16 GMT
    ROOT / Text Editing&Processing / Markup

     Read user reviews (0)  Refer to a friend  Subscribe

    xml-test description

    xml-test is a diff-like tool for XML.

    xml-test is a diff-like tool for XML.

    Checks that an XML document is included in another document. It is handy when testing an application output against a document where element order is different (GData and Atom specs are examples of specifications where element order is unimportant). It has a relaxed notion of containment:

    · element order is ignored.
    · whitespace is trimmed.
    · comments are ignored.
    · specific elements can be ignored by passing XPath-like paths on the command line.
    · text nodes (element and attribute content) can be ignored by passing '-notext' on the command line. Only document structure is checked.

    You need a working Scala installation to run this program. Then you can run it like this:

    scala -cp xmldiff.jar com.google.xmldiff.Main feed.xml feed-out.xml -i feed/totalResults feed/startIndex
    feed/itemsPerPage feed/entry/published //updated /feed/entry/content

    The above command will compare feed.xml and feed-out.xml, ignoring all updated elements, openSearch elements under feed, and content or published elements inside feed entries.

    Requirements:

    · Java Runtime Environment (JRE) 5 or later

    What's New in This Release:

    · This release includes a getting started guide and is usable as both a library and a command line tool.



    Product's homepage

      


    TAGS:

    XML diff | XML testing | document markup | XML | document | markup

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM