modelica-3rdparty/ExternData

getBoolean inconsistency between XMLFile and JSONFile

jacquesV88 opened this issue · 1 comments

Is there a reason why the getBoolean function for XMLFile (and XML2File) only accepts Real values whereas JSONFile seems to take into consideration "true" and "false" statements?

Whereas JSON has proper Boolean type true/false (andy maybe misused as string types "true"/"false"), for XML it just checks for numeric zero interpreted as false.