Changes between Version 1 and Version 2 of FAQs/ModelGlue32XMLSchema
- Timestamp:
- 10/22/11 16:24:01 (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
FAQs/ModelGlue32XMLSchema
v1 v2 7 7 In figure 1, the IDE is displaying the list of child nodes that are allowed inside an <event-handler> node. Selecting a suggested node from the popup reduces the amount of typing required which in turn reduces the opportunities for a misspelling in your config file that will have to be debugged later. 8 8 9 [[Image(xml-schema-figure-1.png)]] 10 9 11 == Validation == 10 12 Once you have edited your XML file, you can have your IDE validate its structure against the schema to ensure that there are no syntactic or structural errors. 11 13 12 14 In figure 2, the IDE is alerting us to a syntax error in our <controller> node (note the additional set of double quotes at the end). 15 [[Image(xml-schema-figure-2.png)]] 13 16 14 17 Figure 3 shows a validation error resulting from incorrect structure within our XML file. A <view> node is not valid inside a <broadcasts> node. When XML file is validated, the IDE draws our attention to this right away, saving time trying to run the application and then having to debug the error. 18 [[Image(xml-schema-figure-3.png)]] 15 19 16 20 = Getting Started =
![(please configure the [header_logo] section in trac.ini)](/ModelGlue.com/trac.cgi/chrome/site/your_project_logo.png)