[Haskell-cafe] [HXT] Simple question

Miguel Mitrofanov miguelimo38 at yandex.ru
Wed Dec 19 07:48:14 EST 2007

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,

More information about the Haskell-Cafe mailing list