Is there any way to validate an XML file with its DTD, using a JSP in Eclipse? If so, how can we do it?
Asked
Active
Viewed 582 times
0
-
Do you mean programmatically validate a file when running inside the container, or validate an XML file in Eclipse? – skaffman Jan 02 '10 at 21:34
-
its verification of xml document based on the given structure(i.e., DTD) – Rohit Jan 03 '10 at 04:19
1 Answers
1
Did you try:
- Specify the DTD at the top of the jsp, as if it is a regular XML document;
right-click the jsp > Validate
.

Bozho
- 588,226
- 146
- 1,060
- 1,140