Page 1 of 1

NRL (Natural Rule Language) editing / mapping to Schematron?

Posted: Thu Sep 14, 2017 3:53 pm
by mhGLEIF
Did anyone consider adding NRL (Natural Rule Language) editing / mapping into Schematron to oxygen?

NRL was / is this:

http://nrl.sourceforge.net/

Re: NRL (Natural Rule Language) editing / mapping to Schematron?

Posted: Fri Sep 15, 2017 3:22 pm
by Radu
Hi,

At some point we had some support for NRL but we removed it as it was not used and we replaced NRL support with support for the NVDL language which also has a little bit of Schematron support from what I remember:

http://jnvdl.sourceforge.net/tutorial.html

Regards,
Radu

Re: NRL (Natural Rule Language) editing / mapping to Schematron?

Posted: Wed Sep 20, 2017 10:58 am
by mhGLEIF
Radu wrote:Hi,

At some point we had some support for NRL but we removed it as it was not used and we replaced NRL support with support for the NVDL language which also has a little bit of Schematron support from what I remember:

http://jnvdl.sourceforge.net/tutorial.html

Regards,
Radu


Any way we could get the NRL stuff back?

I had a quick look at NVDL and that is never going to sell.

NRL is more or less human-readable, looks great.

Re: NRL (Natural Rule Language) editing / mapping to Schematron?

Posted: Wed Sep 20, 2017 12:24 pm
by Radu
Hi,

Sorry, I got my acronyms mixed up. Oxygen had support for NRL (Namespace Routing Language) which became deprecated and was replaced with NVDL.
We never had support for NRL (Natural Rule Language), I started looking into the link you provided, indeed it looks a lot like Schematron, actually they seem to have an article which seems to show how to convert it to Schematron for use with Oxygen:

http://nrl.sourceforge.net/tutorials/schematron/tutorial.html

I will add an internal issue to find some time and look further into this language.
If it were better integrated in Oxygen, how would you see that integration? Have some way to state that an XML should be validated with such a NRL file and then show the validation errors just as we do for all other schemas? Maybe a specialized NRL editor with specific syntax highlight?

Regards,
Radu

Re: NRL (Natural Rule Language) editing / mapping to Schematron?

Posted: Thu Sep 21, 2017 11:36 am
by mhGLEIF
Radu wrote:Have some way to state that an XML should be validated with such a NRL file and then show the validation errors just as we do for all other schemas?

Maybe a specialized NRL editor with specific syntax highlight?


Hi Radu, no problem, XML world is an acronym soup!

Yes, to both of the above, that is exactly what I imagined.

FYI I contacted the maintainers of (this) NRL and although it's not developing fast it is being used and maintained.