Great, of course I meant to write Jing not Trang. /Andy

On 9 July 2016 at 08:10, Christian Grün <christian.gruen@gmail.com> wrote:
That’s a helpful hint. I’ve added a note to our documentation [1].

Cheers
Christian

[1] http://docs.basex.org/wiki/Validation_Module#RelaxNG_Validation


On Fri, Jul 8, 2016 at 5:57 PM, Andy Bunce <bunce.andy@gmail.com> wrote:
> Hi,
>
> Just an observation..
>
> It seems like the RelaxNG Validation functions [1] can be overloaded/abused
> to provide NVDL validation [2]
> As in:
> validate:rng-report("data.xml","test.nvdl")
>
> This support comes from the underlying Trang library. It looks like any
> schema format Trang accepts can be  used. [3]
>
> /Andy
>
> [1] http://docs.basex.org/wiki/Validation_Module#RelaxNG_Validation
> [2] http://www.nvdl.org/
> [3]
> https://github.com/BaseXdb/basex/blob/master/basex-core/src/main/java/org/basex/query/func/validate/ValidateRng.java