#32 Do error detection in the XML file

باز‌کردن
7 سال پیش باز شده توسط yentl · 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.
برای پیوستن به گفتگو، وارد شودید.
بدون نقطه عطف
بدون مسئول رسیدگی
1 مشارکت کننده
درحال بارگذاری...
لغو
ذخيره
هنوز محتوایی ایجاد نشده.