com-pas / compas-architecture

Project's architecture documentation
Creative Commons Attribution 4.0 International
9 stars 5 forks source link

Xml processing choice explanation #64

Closed Flurb closed 3 years ago

Flurb commented 3 years ago

Please check revision 64c9e27

syllamoh commented 3 years ago

Hi Concerning RisEclipse and Schematron, in my opinion these solutions are not comparable. Schematron, as XML schema and Relax NG, are structural grammar validation language. Those technologies need software to apply constrains they define. RisEclipse is an application. It uses OCL to express its constrains. So it's better comparing OCL and Schematron. As I've already said ever since in the survey, in my opinion, it's better using XML technologies to process XML

ADehouck commented 3 years ago

Hi, I am Aurelie DEHOUCK from EDF, part of RISECLIPSE team. I wanted to argue in favor or RISECLIPSE vs schematron :

Flurb commented 3 years ago

Hi Concerning RisEclipse and Schematron, in my opinion these solutions are not comparable. Schematron, as XML schema and Relax NG, are structural grammar validation language. Those technologies need software to apply constrains they define. RisEclipse is an application. It uses OCL to express its constrains. So it's better comparing OCL and Schematron. As I've already said ever since in the survey, in my opinion, it's better using XML technologies to process XML

@syllamoh You're completely right. We are using the combination JAXB / RDF4J now for processing the XML data. RDF4J is used for incoming CIM files (using the RDF framework), JAXB is used for processing / validating the SCL files. In combination with the underlying BaseX database for storing the data it's enough for the processing XML choice. Schematron/RiseClipse is out of sight and not used anymore.

I will edit the page. :)

Sander3003 commented 3 years ago

Users can always add a microservice with RiseClipse inside for additional checking of the SCL contrains.