title: Is there really a way to validate an XML document on Android?
body: <p>I've read every thread on Stack Overflow, Android Developers, and other many sites about validating XML files (against a DTD or a XSD, it doesn't matter), and none of the solutions proposed really work. When I try the code shown at:</p>
  
  <p><a href="http://developer.android.com/reference/javax/xml/validation/package-summary.html" rel="nofollow">http://developer.android.com/reference/javax/xml/validation/package-summary.html</a></p>
  
  <p>I get an Exception saying that the <code>XMLConstants.W3C_XML_SCHEMA_NS_URI</code> is not supported. I read this has something to do with a bug on the JAXP library that should be fixed in Java 1.6, but in fact, it hasn't been fixed yet.</p>
  
  <p>Has anyone done this before? Is a SAXParser the only way to validate an XML file?</p>
  
  <p>Best regards,
    Xabi</p>