I have a Verizon DROID Pro running Android 2.2.1 I want to validate an XML file against a schema. One of the very first calls I use is to create a SchemaFactory:
SchemaFactory sf = SchemaFactory.newInstance(javax.xml.XMLConstants.W3C_XML_SCHEMA_NS_URI); but this gives me the following exception: java.lang.IllegalArgumentException: http://www.w3.org/2001/XMLSchema at javax.xml.validation.SchemaFactory.newInstance(SchemaFactory.java: 194) Just for kicks, I also tried javax.xml.XMLConstants.RELAXNG_NS_URI - it gives the same error. I get the same results when I use an Android 2.3 emulator. Are neither of these schema languages defined? I've seen a few posts on the web about this issue, but never a resolution...your help is very appreciated! John -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

