Hi folks,
 
 I was wondering if there is a way to do schema validation on an XML that does not have the

"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.myurl.com/my# C:\Tomcat\webapps\myapp\xml\myschema.xsd"

 
in the root element.
 
I am having really bad problems combining multiple XML documents with different schemas and namescapes. 
 
I want this so.. i can manually invoke the validator (can I?)
 
<myDoc>
    <ele1>3</ele1>
    <ele2>a</ele2>
    <ele3>df3</ele3>
</myDoc>
 
myschema....
 
 
Then in a java app...
 
 
         myValidator.validate(myXML, mySchema)
 
 
Is this possible?  Or are there any other suggestions or workarounds?
 
Thanks a bunch,
 
 
Jay

Reply via email to