#32 Do error detection in the XML file

開啟中
yentl7 年之前創建 · 0 條評論

Check the XML file for well-structuredness, for example by defining a DTD tree. Incorrectly formed elements are currently ignored, oftentimes resulting in hard to debug problems. For example, the raise <raise event="a" scooe="broad"/> will not result in any compiler error (or warning), but will behave unexpectedly, as the scope defaults to "local". Instead, this should result in an error, saying that "scooe" is an unexpected attribute.

Check the XML file for well-structuredness, for example by defining a DTD tree. Incorrectly formed elements are currently ignored, oftentimes resulting in hard to debug problems. For example, the raise `<raise event="a" scooe="broad"/>` will not result in any compiler error (or warning), but will behave unexpectedly, as the scope defaults to "local". Instead, this should result in an error, saying that "scooe" is an unexpected attribute.
Sign in to join this conversation.
未選擇里程碑
未指派成員
1 參與者
正在加載...
取消
保存
尚未有任何內容