jQuery in Action, 2nd edition*
The moose likes XML and Related Technologies and the fly likes test XML Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "test XML" Watch "test XML" New topic
Author

test XML

Isaac Ferguson
Ranch Hand

Joined: Jun 22, 2012
Posts: 331
Hi

I have tested classes, but is possible test XML files.

Which tools are easier to use?

thanks
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12761
    
    5
"Test XML" is a very broad topic. See the Wikipedia article for more detail, but here are possible interpretations.

You could test that an XML document is well formed according to the syntax rules.

You could test that the XML document conforms to a published DTD.

You could test that the XML document conforms to a published Schema or an industry standard of some sort.

Bill
Vijaya Raghava
Greenhorn

Joined: Jul 30, 2006
Posts: 27

To have a broader picture of what are the validation errors you may expect to receive, you can use an Eclipse IDE or any other tool which has a capability of handling XML files ( Rational Application Developer or MyEclipse or XMLSpy etc.) and place respective DTD or Schema or even simply the XML. And you can validate the XML by right clicking on the xml file. The IDE will validate the XML and provide you the success / warning or Error messages upon validating the XML.

 
 
subject: test XML
 
Similar Threads
IBM Test 255 vs SCDJWS
Passed Test 486 with 83%
XML cetification
by any chance filters and XML syntaxes for JSP are there for test?
interpretation of command line parameter