Do not use Susan for generation of _init.xml
Currently, we use the Susan templates to generate the XML-file. The problem is this file can be quite large and all text is stored in memory. It should be possible to do something similar to the code used for JSON output: do as little memory allocation as possible and just write the XML to file. Similar for the JSON code, more things should be possible to write directly to file (external object) without any sort of allocation (expressions, component references). Or perhaps using the IOStream stuff for this.
Susan is nice, but I think we do not need the overhead it imposes just to indent things "easier". The XML structure is very straight-forward.
Change History
(3)
Milestone: |
Future → 1.10.0
|
Owner: |
changed from Lennart Ochel to Martin Sjölund
|
Status: |
new → accepted
|
Resolution: |
→ fixed
|
Status: |
accepted → closed
|
This was fixed although Adrian did not like the solution.