adamishaq/Virtual-Ecology-Workbench — Issue #10: SyntaxChecker
Author: adamishaq
Created: 2011-10-26 00:46:16+00:00
State: open

The SyntaxChecker has a method called checkModel, which checks the model.xml for any syntax issues.
Its all good, except that it will always return false, since the boolean value the function returns is initialised to false, and then never set to anything else.

In fact, the only method which called checkModel() (line 253, SyntaxChecker.java) doesn't even test whether the method returns true or false.

Whether this is an issue which concerns us, I don't know.
Either the Syntax checker becomes deprecated since we know that our compiler will return correct XML, or we fix the Syntax Checker and use it as a last check of Model.xml before the rest of VEW sees it (in case the user has made some changes to other parts of the XML file)