iOS:使用XSD进行XML验证

iOS:使用XSD进行XML验证

问题描述:

我想在iOS平台上使用 xsd 验证一些 xml .我已经进行了一些搜索,但没有找到任何东西.任何人都有我可以用来执行此操作的任何代码?

I would like to validate some xml with an xsd on the iOS platform. I have done some searches and not found anything. Anyone have any code i can use to do this?

通用XML模式验证非常昂贵,您是否考虑过使用CodeSynthesis之类的工具将XSD编译为代码?

Generic XML Schema validation is expensive, did you consider compiling the XSD into code using a tool like CodeSynthesis?