studysolution0920
asked on
java xml schema validation
Hello Expert:
I want to ask you a question. how I can use
javax.xml.validation.Schem aFactory.n ewInstance ("http://www.w3.org/XML/XMLSchema/v1.1") to validation a xml file with corresponding xml Schema file
Because I get the error information:
java.lang.NoSuchFieldError : W3C_XML_SCHEMA11_NS_URI
org.apache.xerces.jaxp.val idation.XM LSchema11F actory.<in it>(Unknow n Source)
I want to ask you a question. how I can use
javax.xml.validation.Schem
Because I get the error information:
java.lang.NoSuchFieldError
org.apache.xerces.jaxp.val
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hello Expert:
I use xercesImpl-2_10_0 and xercesImpl-2.10.0-xml-sche ma-1.1-bet a. Is it correct?
I use xercesImpl-2_10_0 and xercesImpl-2.10.0-xml-sche
ASKER
thanks!
ASKER
I have tried to use the method you have give to solve the problem. But the errors are still thrown away again. I have uploaded the method validation. Can you check it? Thanks!