Closed Sander3003 closed 2 years ago
@dlabordus can you add more details?
RiseClipse uses Eclipse OCL and Eclipse EMF. See manual for OCL Example.
For CGMES there is a library from RTE CGMES OCL Validator that also uses Eclipse OCL/EMF. So this repository can also be used for inspiration how to use Eclipse OCL/EMF.
As a develop I want to validate XML using the OCL Files and Metamodel from RiseClipse So that rules can be reused.
The POC is to get a idea how to integrate the OCL Files and Metamodel from RiseClipse and use Eclipse OCL/EMF to validate a incoming XML File.
The idea is to make a Git subproject from both RiseClipse repositories to include the Metamodel and OCL Files Next step is to use these files to create classes based on validator to validate a incoming XML File. We probably need to save the XML in a temporary file and also create a temporary file to import all the OCL Rules that need to processed.