Did you tell your parser which schema will it be validating against?
Setting validation flag to true is not enough...

Have a look here at a quick validating example using SAXParser:
http://docs.oracle.com/javaee/1.4/tutorial/doc/JAXPSAX9.html



Daniel



On 2 April 2012 16:34, RedBullet <[email protected]> wrote:
> I am parsing some XML with SAX, and I noticed that there was some XSD in the
> files I am parsing.
>
> So, I figured to would turn validation on the factory before I get the
> parse, but when I do I get an error saying there is no validating parser
> available.
>
> So... How does one validate XML on the Android??
>
> --
> 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



-- 
Daniel Drozdzewski

-- 
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

Reply via email to