cdisc-org / cdisc-rules-engine

Open source offering of the cdisc rules engine
MIT License
46 stars 12 forks source link

define.xml only validation (no datasets) #603

Open rradel opened 9 months ago

rradel commented 9 months ago

At this moment it is not possible to validate the define.xml only and only run rules related to define.xml. To run de validator, at this moment you should always provide datasets together with the define, but we have use cases where we just want to validate the define.xml. Also the possibility of running the define only will have a positive effect with regards to performance, run time and computer resource use.

JozefAerts commented 9 months ago

We have discussed this ... Do you mean SDTM/ADaM rules that check "define-xml only"? There are also very many Define-XML rules originating from the Define-XML team, and some of us have developed Schematron for this. However, the question arises whether we really start using Schematron within CORE ... Schematron only works on XML and when we gradually add/move to other formats for define (e.g. define.json), this wouldn't work. But we can of course first start on rules from SDTM/ADaM that only use the define.xml and don't use a dataset itself.

rradel commented 9 months ago

indeed, I mean rules from SDTM/ADaM that only use the define.xml but don't use the datasets