New patch adding some more features for XML support!! Proper XML element printing ( no more <br>, but only <br/> ), and support for CDATA elements.
1) Support for XMLMarkupModel. When when the page has:
a) MarkupModel now has a getDocumentHeader.
i. It is meant for XMLMarkupModel to output the XML Header: <?xml versio="1.0"?>
ii. It will also output the Charset if set: <?xml version="1.0" encoding="UTF-8"?>
2) Support for CDATA:
a) CDATA is handled as just a normal Text.
i. does not output CDATA sections, just what's inside.
ii. but we don't really care, since the output is valid: "<![CDATA[A<A]]>" == "A<A"
iii. expansions ($
) are now supported inside of CDATA sections.
b) CDATAToken has been removed, StartCdataToken, EndCdataToken added
i. to mark when cdata sections were started and ended in the input template
ii. in the case that we decide to do something with cdata outputting later, but probably will not.