KissXML icon indicating copy to clipboard operation
KissXML copied to clipboard

DDXMLDocument -validateAndReturnError: Not implemented

Open timothyrobb opened this issue 11 years ago • 3 comments

Hi there,

I'm using KissXML in my project, which has a very rigid structure and schema. I want to be able to automate testing against the schema, so I know my code doesn't generate bad XML.

NSXML provides a method on NSXMLDocument called -validateAndReturnError:, however DDXMLDocument doesn't implement this or any document validation with XML schemas at all.

If this could be implemented, it would greatly improve my test coverage and maybe have a few less people yelling at me to switch frameworks since this one doesn't support testing.

Cheers.

timothyrobb avatar Feb 09 '14 23:02 timothyrobb

Currently having to use LibXML directly! Ick!

timothyrobb avatar Feb 10 '14 03:02 timothyrobb

Is it planned to implement this some day?

r-dent avatar Sep 16 '16 09:09 r-dent

Feel free to submit a pull request

On Fri, Sep 16, 2016 at 2:48 AM, Roman Gille [email protected] wrote:

Is it planned to implement this some day?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/robbiehanson/KissXML/issues/37#issuecomment-247561187, or mute the thread https://github.com/notifications/unsubscribe-auth/AAfqH9g7X8z_36C3Dof3A6rt5J6uUiunks5qqmXygaJpZM4Bgd6y .

chrisballinger avatar Sep 19 '16 17:09 chrisballinger