You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xerces.apache.org by Mark Woon <mo...@SMI.Stanford.EDU> on 2002/07/06 05:41:50 UTC

Re: Modifying schema validation

Mark Feblowitz wrote:

> 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?

Thanks,
-Mark

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



---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org


Re: Modifying schema validation

Posted by Eddie Robertsson <er...@allette.com.au>.
>
>
>> 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: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org