• 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
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

How to Validate Using a Parser

 
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am new to XML. My question is Suppose if i write an XML file and a DTD also. Who will validate that.How to link or call the validating parser? With IE5 we will get only Invalidating parser.
Shall I need XML Spy for this?
Please give some suggestions or urls which will explain in detial about the things mentioned above....
Thanks in advance..
Sateesh
 
Sheriff
Posts: 6920
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
To validate XML afainst a DTD, schema opr whatever, you need a validating parser which understands that definition. There are a lot of parsers available which understand DTD at the moment, but few which understand other specification languages.
I don't really understand what IE5 has got to do with this. What language are you using to process the parsed XML data? and where is it running (stand alone application, server-side app, applet etc.)? If you let us know a little more about what you need, we can probably help a bit more with parser suggestions.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!