frankframework / frank-doc

Frank!Doc
https://frankdoc.frankframework.org
Apache License 2.0
4 stars 5 forks source link

Add possibility to make attribute mandatory for strict xsd only #96

Closed jacodg closed 2 years ago

jacodg commented 2 years ago

In issue https://github.com/ibissource/iaf/pull/2877 we are renaming attribute path of element Exit to name. For FrankConfig-strict.xsd this simply means that the path attribute needs to be renamed to name (or path removed and name added) but for FrankConfig-compatibility.xsd this is a bit more complicated as we will need to keep support for path and also allow name but name should not be mandatory as otherwise old configs with only a path still get an error.

As discussed with Martijn and Gerrit this probably means we need an extra annotation (something like "loosely mandatory").