smoothcontract / mediate

Automatically exported from code.google.com/p/mediate
0 stars 0 forks source link

XML error handling #104

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
test failed xml parsing... this is not handled well at all. exception
dialog is shown, then we get a/v's raised. Designer eventually loads but
mediate is not started and treeview is not populated so we can't fix the
problem. Test this by creating a new control then restarting the designer -
the control is missing a style so fails xml parsing.

check xml parsing result and set listview icon index appropriately for
error state.

Add report page on loading theme with warnings/errors and display treeview
with theme so that it can be fixed in the designer... not sure whether
mediate should be started regardless?

Original issue reported on code.google.com by aretman...@gmail.com on 11 Jun 2008 at 10:40

GoogleCodeExporter commented 9 years ago
If in the Interface Descriptor we define a control as follows:

<Control>
<Action>
</Control>

then the Action is never fired, since it must reside within a pair of <Actions> 
tags.
This should be detected and reported during theme parsing, and at the very 
least log
an error/warning.

Original comment by aretman...@gmail.com on 11 Jun 2008 at 2:33

GoogleCodeExporter commented 9 years ago
Fixed in mediate designer v0.0.32

Original comment by aretman...@gmail.com on 26 Feb 2009 at 3:05