General discussion

Locked

Validate XML

By vinaysm ·
HI,
I need to develop an application that will validate the XML file by using a DTD(external). I want to do this in JAVA as well as in PERL.
Plz help me...

Thanks
viNay

This conversation is currently closed to new comments.

1 total post (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

Validate XML

by Jay Eckles In reply to Validate XML

I can't help you specifically with Perl in this case, but for Java, you'll want to look at the new XML packages called JAXP that are being delivered with J2SE 1.4 and J2EE 1.3 (it's available as an optional package for any SDK post 1.1.:

http://java.sun.com/xml/xml_jaxp.html

Specifically you might want to check out SAXParser...there's a function called isValidating that gives a boolean as to whether or not the instance of the parser is setup to validate XML...that implies to me that youcould use the parser to validate XML. There are many other classes and interfaces in the JAXP packages that you should investigate.

Good luck.

Jay Eckles
www.jayeckles.com

Back to Web Development Forum
1 total post (Page 1 of 1)  

Related Discussions

Related Forums