Hi! Does anyone have any example code when validate an XML file against a DTD when using SAX?
Lars Franzen
Greenhorn
Joined: Nov 01, 2001
Posts: 4
posted
0
I find a solution, thanks any way!
Justin Chu
Ranch Hand
Joined: Apr 19, 2002
Posts: 209
1
posted
0
How?? How to validate a XML to a DTD through programming? Chu
Ajith Kallambella
Sheriff
Joined: Mar 17, 2000
Posts: 5782
posted
0
If you mean validating the XML document against a DTD, you can simply parse the document with validation turned on. If you mean validating the syntax of the DTD itself, I don't know any such program.
Open Group Certified Distinguished IT Architect. Open Group Certified Master IT Architect. Sun Certified Architect (SCEA).
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.