Re: XML schema support (Stuart Malin)

2008-05-19 Thread Richard Wolf
Just an FYI, NSXMLDocument's initWithContentsOfURL:options:error: and initWithData:options:error: methods allow you to verify an XML document using a DTD or XMLSchema XSD. One of the "options" you can XOR is NSXMLDocumentValidate. As verifying against a DTD or XSD are, pretty much, the

Re: XML schema support

2008-05-18 Thread Stuart Malin
As best as I understand, the NSXML* classes are build on libxml, but even so, there isn't, to my knowledge, any schema support exposed in Cocoa by these classes. However, the good news is that you should have libxml on your machine. Todd Ditchendorf's XML Nanny performs Schema and RELAX NG

Re: XML schema support

2008-05-18 Thread Jens Alfke
On 18 May '08, at 7:07 PM, David wrote: Is there a Cocoa package that supports XML schema for either event driven (SAX like) or tree based (DOM like) XML parsing? I haven't seen any reference to XML schema for either Cocoa packages other than a statement saying you can do your own validati

Re: XML schema support

2008-05-18 Thread Michael Vannorsdel
Checkout NSXML* and friends (NSXMLNode, NSXMLElement). Also there's "Introduction to Tree-Based XML Programming Guide for Cocoa" and "Introduction to Event-Driven XML Programming Guide for Cocoa" guides in the docs. On May 18, 2008, at 8:07 PM, David wrote: Is there a Cocoa package that

XML schema support

2008-05-18 Thread David
Is there a Cocoa package that supports XML schema for either event driven (SAX like) or tree based (DOM like) XML parsing? I haven't seen any reference to XML schema for either Cocoa packages other than a statement saying you can do your own validation. _