• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Ganesh Patekar
  • Frits Walraven
  • Tim Moores
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Stephan van Hulst
  • salvin francis
  • Tim Holloway

test XML  RSS feed

 
Ranch Hand
Posts: 1189
3
Java Netbeans IDE Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

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

Which tools are easier to use?

thanks
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"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
 
Ranch Hand
Posts: 37
Java Spring Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!