Problem with FORTRAN parser xml for MASCARET-TRACER(-COURLIS) which need a specific order in certain sections
This issue was created automatically from an original CUE issue. Further discussion may take place here.
Hello,
I encountered a problem with the parser XML of MASCARET-TRACER in the development of Python script to convert automatically xml steering files into Damocles format steering file.
At the beginning, these Python scripts did not give a specific order for the xml tags and some validation cases did not run because of that.
Actually, the FORTRAN parser xml requires in certain sections (for example "structureParametresSeuil"), a specific order for the tag in that section.
For exemple, in the test-case "examples/mascaret/Test23", if the tags "numBranche" (parametresCas/parametresSingularite/seuils/structureParametresSeuil/numBranche) is placed before the tag "nom" (parametresCas/parametresSingularite/seuils/structureParametresSeuil/nom), the calculation is not working.
Is it possible to modify the parser to be able to put any order in the XML steering file?
A solution has been found for Python script for the conversion into Damocles format steering file by using OrderedDict and rely on the MASCARET-TRACER(-COURLIS) to get a right order.
I can help on this development if needed.
Best regards
Matthieu