java - WebLogic com.bea.xml XML validation -


I'm not sure that I'm implementing an XML validate to fix this APM: < / P>

  XmlOptions XmlOp = New XmlOptions (); XmlOp.setDocumentSourceName ("C: /Dir/SubDir/SubDir2/myfile.xsd"); AssertTrue (doc.validate (xmlOp));  

I want to validate against XML object Doctor schema file myfile.xsd. This claim is passing, but I have to make sure that it is passing for the right reason.

Thank you

This weblogic method does not valid XML against the schema. In Verifier , there is javax.xml.validation.Validator which I used to do.


Comments