Ticket #414 (new defect)

Opened 16 years ago

Try to handle XML errors

Reported by: cfjedimaster Owned by:
Priority: normal Milestone: 3.2
Version: 3.1.185 Severity: trivial
Keywords: Cc:

Description

I created a value for an include tag and wrote it the wrong way. I used:

<value name="foo">moo</value>

The error was pretty clear: Element XMLATTRIBUTES.VALUE is undefined in VALUEXML.

But perhaps MG should be even _more_ clear? Ie, do a structKeyExists and if the value tag isn't set up right (missing name or value), it can throw a more direct message:

NAME attribute not present in VALUE XML definition.

Not a big deal I guess, but could make things more friendly/direct?

Note: See TracTickets for help on using tickets.