Move XML views into external files
tryton's .xml files often contain CDATA sections for wrapping XML. This is ugly,
unnecessary and unsafe: you can not validate the contained XML easily.
I propose the following:
1) Move from DTD to Relax NG, which allows to use namespaces
(and is easy to read).
2) Rework validation to use RelaxNG
3) Rework .xml files to contain NS (keep CDATA for this step)
4) Convert CDATA-XML to "normal" XML w/ namespaces
5) Be Happy :-)
This would further allow removing the redundant <tryton> tag.
If b2c supports this idea I may volunteer implementing this.
Files
Download | Creator | Timestamp | Type |
---|---|---|---|
htgoebl-patch.txt | @udono | 2010-09-01 01:55:17 UTC | text/plain |
issue184086_1.diff | @udono | 2010-09-01 01:56:27 UTC | text/plain |