11-27-2020, 05:43 PM
(This post was last modified: 11-27-2020, 05:55 PM by Sebastian Staacks.)
Ah, ok. The problem is that you removed the xmlns:editor-definition from the root element:
<phyphox xmlns:editor="http://phyphox.org/editor/xml">
This is a XML thing. It defines editor:* as a prefix, so the XML parser of phyphox know that it can ignore these. If it is not defined, phyphox does not know that this is a prefix and tries to interpret the attributes itself. Of course it should report the problem instead of crashing, but if you have editor:...-attributes, you need to define this.
Edit: It will no longer crash in the next version. However, the XML parser handles this problem a bit "unconventionally" (at least in my opinion) by generating an entirely different type of exception, which is why it caused a crash instead of being displayed in the first place. The resulting error message will be a bit cryptic, but since this is a rather unusual error, we can probably live with that.
<phyphox xmlns:editor="http://phyphox.org/editor/xml">
This is a XML thing. It defines editor:* as a prefix, so the XML parser of phyphox know that it can ignore these. If it is not defined, phyphox does not know that this is a prefix and tries to interpret the attributes itself. Of course it should report the problem instead of crashing, but if you have editor:...-attributes, you need to define this.
Edit: It will no longer crash in the next version. However, the XML parser handles this problem a bit "unconventionally" (at least in my opinion) by generating an entirely different type of exception, which is why it caused a crash instead of being displayed in the first place. The resulting error message will be a bit cryptic, but since this is a rather unusual error, we can probably live with that.