
19 Dec
2007
19 Dec
'07
7:48 a.m.
Seems rather strange for me, I've just installed HXT and got this: Prelude Text.XML.HXT.Arrow> runX $ readString [(a_validate,"0")] "<this> </this>" >>> writeDocumentToString [] ["<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<this> </this>"]
Everything works fine except for the fact that all the nodes <this> </this> (that is, a space (an XML text node whose contents are a single space character) within a <this> element node) get transformed to a <this/> element node,