I have an android 4.0 app which try to call the following as recommended in Android SDK: SchemaFactory sf = SchemaFactory.newInstance(javax.xml.XMLConstants.W3C_XML_SCHEMA_NS_URI);
This gives me the following exception: java.lang.IllegalArgumentException: http://www.w3.org/2001/XMLSchema Here is my code: btnSearch.setOnClickListener(new Button.OnClickListener(){ public void onClick(View v) { try{ //no code before this line and exception threw right here. SchemaFactory sf = SchemaFactory.newInstance(javax.xml.XMLConstants.W3C_XML_SCHEMA_NS_URI); .... } -- 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

