You're best course of action is to try using JARV
to perform the validation - this avoids turning a Document into text so that it
can be reparsed again with valiation on.
There's a demo of using JARV (and Sun's MSV
implementation of JARV) in the samples directory.
dom4j/src/samples/validate/
JARVDemo.java
You can use this mechanism to validate against DTD,
XSD or RelaxNG
|
Title: Validate method of SAXValidator
- [dom4j-dev] Validate method of SAXVal... Rathore, Ritesh (GECP, TEMP, 096462)
- RE: [dom4j-dev] Validate method ... James Strachan
- RE: [dom4j-dev] Validate method ... Rathore, Ritesh (GECP, TEMP, 096462)