我看的是 pdf document,在第4页的“接口和API”一节中写着:
13. JAXP API
Implementations of the standard JAXP interfaces for XSLT transformation, XPath evaluation, and XML Schema validation.

这是否意味着我可以使用Home中包含的API来根据XSD模式验证XML消息?有人知道怎么做吗?
发布于 2022-07-05 13:25:28
不,对不起,这是误导,我会把它修好的。
虽然JAXP和s9api API允许您请求模式验证,但Saxon不包括模式验证器,因此请求将失败。
当然,您可以使用开源的Xerces模式验证器,但它并不与Saxon集成。
https://stackoverflow.com/questions/72867919
复制相似问题