Android XML Schema Validation

unmadodug

New Member
I am trying to validate the XML using a local schema file (xsd) in an application that will be run on android. I followed the instructions on the android developer docs here. I am able to validate my xml file in java but it raises an IllegalArgument exception (code mentioned below) when run on android. \[code\]SchemaFactory factory = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);\[/code\]Please advice on how to proceed with XML schema validation on android. Are there any schema validation libraries that work on android ? Thanks in advance.
 
Back
Top