Open ca-d opened 1 year ago
@danyill Does this reflect the status of our discussion as you remember it?
Yes, I found our discussion constructive and what I learnt which led to the closing of #1033 is:
Substation
element which is also schema non-compliant, and yet to build a substation one must start somewhere (it does not fall from the sky which seems to be what schema validation implies!)
Is your feature request related to a problem? Please describe. Sometimes a user (i.e. a plugin) requests an editing action which we can tell would make an otherwise valid SCL file invalid, e.g. regarding schema validity, functional validity or the like.[^ex]
Describe the solution you'd like I want to be given the following four options for what to do about non-validity-preserving editor actions:
Requirements
Suggestions for a specific user interaction I envision a menu plugin that opens a settings dialog on being clicked and otherwise automatically opens dialogues whenever querying the user for manual input.
[^ex]: One example would be renaming an IED to the name of another IED in the same file resulting in an otherwise schema-valid SCL file becoming schema-invalid. [^fix]: Append a sufficiently large number to the IED name in the example above.