Ticket #57 (new defect)
XML Parser
| Reported by: | knowknowledge | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | 0.4.0 |
| Component: | File | Version: | |
| Keywords: | xml, parser | Cc: |
Description
The Parser template class that is used by Alliances, Engines, Models, Planets, Weapons and more expected xml descriptions, cannot handle a document depth of more than 3.
The current model gets the root, then creates an object for each node inside the root (subsection), then creates an object attribute for each node inside the subsection (subKey). If the level three attributes are not this key-value style, the Parser does not properly handle it.
Note that the xml Parser is not related to XmlFile? that is used to parse the options.xml file. This is a problem by itself since the relationship is assumed.
Change History
Note: See
TracTickets for help on using
tickets.