Something that I've asked around about but have not yet had time to pursue myself: getting Xalan to both validate the incoming XML doc against its respective schema **and** having it apply Schematron constraints, within the context of a single parse. Is this something that you've been able to do?

How were you planning on using Xalan to validate vs XSD and schematron?

Also, is anyone doing both XSD and schematron validation at the moment? What tools/API's are you using? Someone mentioned Topologi, but they're Windows-only, so is not really an option. I see a few tools on the Schematron site that involves performing an XSL transform before running the schematron validator, and I'm not really keen on such a two-step proccess. What are my options?


None, as far as I know. The only way to validate embedded Schematron rules within a W3C XML Schema is to first extract them using XSLT and then run normal Schematron validation.
The MSV implementation of RELAX-NG have ways of validating embedded Schematron rules in a RELAX-NG schema but nothing similar exists for W3C XML Schema as far as I know.


P/S - anyone know if there's any dev initiative to add schematron suport to Xerces?

Not that I know of but it would be an interesting project.

Cheers,
/Eddie




--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to