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

Are you missing a feature? Request its implementation here.
mhGLEIF
Posts: 43
Joined: Tue Jul 26, 2016 6:31 pm

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

Post by mhGLEIF »

Did anyone consider adding NRL (Natural Rule Language) editing / mapping into Schematron to oxygen?

NRL was / is this:

http://nrl.sourceforge.net/
Radu
Posts: 9057
Joined: Fri Jul 09, 2004 5:18 pm

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

Post 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
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
mhGLEIF
Posts: 43
Joined: Tue Jul 26, 2016 6:31 pm

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

Post 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.
Radu
Posts: 9057
Joined: Fri Jul 09, 2004 5:18 pm

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

Post 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/sc ... orial.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
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
mhGLEIF
Posts: 43
Joined: Tue Jul 26, 2016 6:31 pm

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

Post 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.
Post Reply