-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
XML file generation #3
Comments
Can you attach the lustre file that triggers this error? |
zustre --node safe_1_integers --matlab safe_1_integers.lus |
The observer node has to have one boolean output. |
The only observer I see is 'zustre --node safe_1_integers_outside --matlab test.lus' |
Sorry for that yeah there is two observers/ |
Zustre command is working, it's CEX parsing XML in Cocosim that is not working |
Both safe_1_integers_Subsystem_inside and safe_1_integers_outside are safe. Can you please send me the correct lustre and command that you used? |
the file is good and zustre is good, |
OK, I can now replicate the error with |
I have fixed this issue in the latest version of zustre from devel branch. Please try it out. |
It is good now, we still have the problem in matlab.emf generation, we generate only one node |
The following error:
(Error)[Verification] Java exception occurred:
org.xml.sax.SAXParseException; systemId: file:/home/bourbouh/Documents/coco-team/cocoSim/test/properties/lustre_files/src_safe_math_functions/safe_math_functions.property_safe_math_functions_Property.xml; lineNumber: 1; columnNumber: 1; Content is not allowed in prolog.
at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
at javax.xml.parsers.DocumentBuilder.parse(Unknown Source)
is related to the generation of xml file that contains the Answer:
Python bool, int, long or float expected
xml version="1.0"?
Results xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
Property name="safe_math_functions_Property"
Date>2017-02-06 11:47</Date
Lustre2Horn unit="sec">0.00</Lustre2Horn
Parse unit="sec">0.00</Parse
Query unit="sec">0.01</Query
Answer>SAFE</Answer
Property
Results
As you see the first line is the cause of the error,
The text was updated successfully, but these errors were encountered: