This issue tracker is closed. Please visit UPPAAL issue tracker at Github instead.

Bug 158

Summary: verifyta loops on <nail attrs></nail> construct in XML model description
Product: UPPAAL Reporter: Ferdy Hanssen <hanssen>
Component: EngineAssignee: Robert Olesen <egir>
Severity: minor    
Priority: P4    
Version: unspecified   
Hardware: PC   
OS: Linux   
Attachments: Model as produced by Uppaal GUI
Model as produced by my tool from Uppaal-generated model

Description Ferdy Hanssen 2005-06-08 16:29:11 CEST
I have written a small tool to do textual replacements in the declarations,
instantiation, and system section of a Uppaal model in XML format, so the same
model can easily be verified against different parameters.

This tool produces XML that is slightly different from the XML generated by the
GUI, but functionally equivalent.

However, verifyta fails to read the models output by my tool, and I traced this
to the <nail> element.  The GUI produces XML with nails written as <nail x="1"
y="1"/>.  My tool outputs this as <nail x="1" y="1"></nail>, which, as I
understand it, is equivalent XML syntax to the GUI version.

But verifyta fails to read this, and seems stuck in an infinite loop.

Interestingly, verifyta does not have this problem with <source> and <target> tags.

Attached is a simple model in two versions: the Uppaal GUI produced one and the
one produced by my tool.

In the meantime I changed my tool such that it outputs differently for <nail> tags.
Comment 1 Ferdy Hanssen 2005-06-08 16:30:21 CEST
Created attachment 39 [details]
Model as produced by Uppaal GUI
Comment 2 Ferdy Hanssen 2005-06-08 16:30:55 CEST
Created attachment 40 [details]
Model as produced by my tool from Uppaal-generated model
Comment 3 Robert Olesen 2005-06-16 11:16:43 CEST
Comment 4 Gerd Behrmann 2005-06-17 11:51:02 CEST
Confirmed. A fix will be checked into CVS later today.
Comment 5 Gerd Behrmann 2005-06-17 15:18:11 CEST
A fix has been checked into CVS. Resolving bug.