You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looking at the schema allowing to validated the XML description, I noticed that the paramType is specified as a xsd:choice of name, flag, longflag, ... which is probably incorrect.
For example, I believe name is mandatory, at least flag or longflag should be specified, ...
Some time ago we had a short mail discussion about a possible official xsd file for the xml (unfortunately, we did not reach any agreement/consensus yet). I posted a modified version of Julien's original schema file which would also solve the issue reported here:
I am not well versed in XML schema, so I'd have to dig through the documentation to comment on whether xsd:choice is the right field.
I can comment that a parameter must have either
a flag or a longflag or both, XOR
a index in the index parameter list
In other words, a parameter is either a flag parameter (meaning the parameter is optional and does not need to be specified) or an index parameter (meaning the parameter must be specified).
Looking at the schema allowing to validated the XML description, I noticed that the
paramType
is specified as axsd:choice
ofname
,flag
,longflag
, ... which is probably incorrect.For example, I believe
name
is mandatory, at leastflag
orlongflag
should be specified, ...See https://github.com/Slicer/SlicerExecutionModel/blob/master/ModuleDescriptionParser/ModuleDescription.xsd#L52
For reference, what motivated the creation of this issue if what's discussed here: http://www.na-mic.org/Bug/view.php?id=1828
The text was updated successfully, but these errors were encountered: