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.
satya - Saturday, June 11, 2011 2:48:15 PM
xml libraries for android
xml libraries for android
satya - Saturday, June 11, 2011 2:51:31 PM
what is natively available in android for xml
sax parser
dom
satya - Saturday, June 11, 2011 2:51:53 PM
what is not available
stax
jaca-xml-binding
satya - Saturday, June 11, 2011 2:52:10 PM
android xsd support
android xsd support
satya - Saturday, June 11, 2011 2:54:42 PM
a discussion on stack overflow
satya - Saturday, June 11, 2011 3:04:17 PM
Available apis in android
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
satya - Saturday, June 11, 2011 3:06:35 PM
External docs on xmlpullparser
satya - Saturday, June 11, 2011 3:07:37 PM
woodstox: validating stax parser
satya - Saturday, June 11, 2011 3:14:34 PM
woodstox validation specs
It only seem to support RelaxNG and DTD as of the current release.
satya - Saturday, June 11, 2011 3:19:34 PM
you may ask where are XSDs for Android XML files
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.
satya - Saturday, June 11, 2011 3:25:27 PM
if you are using c++, then there seem to be a tool called XSD/e
if you are using c++, then there seem to be a tool called XSD/e
satya - Saturday, June 11, 2011 3:27:20 PM
java xsd validators mobile
java xsd validators mobile
satya - Saturday, June 11, 2011 3:29:50 PM
castor android port
castor android port
satya - Saturday, June 11, 2011 3:34:00 PM
it may be possible to use xerces on android
satya - Saturday, June 11, 2011 3:36:35 PM
does xerces support xsds?
does xerces support xsds?
satya - Saturday, June 11, 2011 3:40:27 PM
Bottom line so far
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.
satya - Tuesday, July 05, 2011 10:40:11 AM
xml parsing
xml parsing
Search Google for: xml parsing
Search Android Developers Group for: xml parsing
Search Android Beginers Group for: xml parsing