How can I validate documents against Schematron schemas in Java?
问题 As far as I can tell, JAXP by default supports W3C XML Schema and RelaxNG from Java 6. I can see a few APIs, mostly experimental or incomplete, on the schematron.com links page. Is there an approach on validating schematron in Java that's complete, efficient and can be used with the JAXP API? 回答1: Jing supports pre-ISO Schematron validation (note that Jing's implementation is based also on XSLT). There are also XSLT implementations that can be very easily invoked from Java. You need to decide