Natively Android supports XML parisng using SAX/DOM using a class caleld XMLPullParser. This doesn't seem to support XSDs, or DTDs, or Relax NG. There are no native recommendations for XSDs.

An open source product called woodstax seem to support relaxng and DTDs but no w3cschema yet.

There seem to be possible to port xerces of Apache by importings its jar into your android project and then use its XSD support.

xml libraries for android

Search for: xml libraries for android


sax parser
dom

stax
jaca-xml-binding

android xsd support

Search for: android xsd support

a discussion on stack overflow


org.xml.sax
org.xmlpull
org.w3c.dom
XmlPullParser

javax.xml
javax.xml.datatype
   namespace
   parsers
   transform.dom, sax, stream
javax.xml.validation
javax.xml.xpath

primary class xmlpullparser

External docs on xmlpullparser

woodstox: validating stax parser

woodstox validation specs

It only seem to support RelaxNG and DTD as of the current release.

you may ask where are XSDs for Android XML files

Search for: you may ask where are XSDs for Android XML files

As far as I can search they don't have them, at least in a traditional sense. At least even if there are these are not publicly advertised.

if you are using c++, then there seem to be a tool called XSD/e

java xsd validators mobile

Search for: java xsd validators mobile

castor android port

Search for: castor android port

xerces android

Search for: xerces android

it may be possible to use xerces on android

xerces on android

does xerces support xsds?

Search for: does xerces support xsds?

Yes it does

Natively Android supports XML parisng using SAX/DOM using a class caleld XMLPullParser. This doesn't seem to support XSDs, or DTDs, or Relax NG. There are no native recommendations for XSDs.

An open source product called woodstax seem to support relaxng and DTDs but no w3cschema yet.

There seem to be possible to port xerces of Apache by importings its jar into your android project and then use its XSD support.

xml parsing

Search Google for: xml parsing

Search Android Developers Group for: xml parsing

Search Android Beginers Group for: xml parsing

Search Google Code for: xml parsing

Search Android Issues Database for: xml parsing