#32 Do error detection in the XML file

Otwarty
otworzone 7 lat temu przez yentl · 0 komentarzy

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.
Zaloguj się, aby dołączyć do tej rozmowy.
Brak kamienia milowego
Brak przypisania
1 uczestników
Ładowanie...
Anuluj
Zapisz
Nie ma jeszcze treści.