Hi Lou,

We plan to have in the future an Oxygen command line tool allowing validation and transformation. So I added your feedback (which covers very well the use case) to the opened internal issue, we will get back to you when we do. So for now you can probably put something together using Jing for RelaxNG validation and the Schematron stylesheets but indeed you would still need some kind of detector to read the header from each XML file and get the xml-model instructions there, obtain the schemas and use them for validation (which is more or less what Oxygen does).

Regards,
Radu

Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com

On 10/9/2019 12:57 PM, Lou Burnard wrote:
One of the features of oXygen which I really love is the way it allows
me to combine schema validation with RELAXNG and with schematron just by
adding a couple of PIs to the top of my file. But this requires me to
fire up oXygen and open up each file one by one which is not so
convenient if I have 100 or more independent documents to validate. I
would rather do this in a bash script, along with all the other
pre-validation sanitation work. But

(a) only oXygen will take any notice of my PIs (obviously)

(b) none of the open source validators I've looked at seems to have a
hook for including schematron validation

(c) oxyGen will do a batch validation of documents included in a project
file, which is close to what I want, but still requires me to fire up
oXygen, make the project file and click a couple of times, so not really
a batch process

Maybe someone else has found a way round this, or could explain to me
why it's just not possible. And how exactly does oXygen do this magic?




_______________________________________________
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user

_______________________________________________
oXygen-user mailing list
oXygen-user@oxygenxml.com
https://www.oxygenxml.com/mailman/listinfo/oxygen-user

Reply via email to