#32 Do error detection in the XML file

Open
opened 7 years ago by yentl · 0 comments

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.
No Milestone
No assignee
1 Participants
Loading...
Cancel
Save
There is no content yet.