vle-forge / vle

Virtual Laboratory Environment
http://www.vle-project.org
GNU General Public License v3.0
21 stars 22 forks source link

gvle: enables to set empty experimental condition port #335

Open Chabrier opened 6 years ago

Chabrier commented 6 years ago

gvle enables to save a vpz with empty parameters. But the vle simulator , according to the dtd, does not allow this syntax.

The solution is either to provide defaut value or the null one

rtrepos commented 4 years ago

Hi, I don't see any error from the parsing of this vpz. I have apprently a simulation error if I try to acces to the value, something like :

throws error in constructor: `Map: the key 'tt' have empty (null) value'

Still, the question remains : should we ban the empty port value ( <ports></ports>) ? according the dtd ? Let me know if you see an obvious choice to make.