views:

105

answers:

1

Is there a way to verify / validate a remote XML (or download it first and store it locally) before processing it and store the info into CoreData or DB with iPhone SDK 3?

+1  A: 

By validate do you actually mean schema validation?

vtd-xml-author
I want to know if I can validate an XML with any methods. Because the XML I'm getting may not be well formed. If I blindly parse the XML and insert it into CoreData or DB, it'll screw everything, right?
Mitch
any well behaved xml parser will prevent you from processin a non-wellfored xml...so you won't insert it into DB if the code is written properly
vtd-xml-author