Closed qrilka closed 6 years ago
As I understand the idea of this lib is to follow more or less hexml so I was using it as a base for comparison. Some found inconsistencies:
hexml
validate
λ> isRight $ Text.XML.Hexml.parse "<b>" False λ> Xeno.SAX.validate "<b>" True
Xeno.DOM
λ> isRight $ Xeno.DOM.parse "\n<a></a>" False λ> isRight $ Text.XML.Hexml.parse "\n<a></a>" True
Xeno.DOM.parse
λ> isRight $ Text.XML.Hexml.parse "<?xml version=\"1.1\"?>\n<greeting>Hello, world!</greeting>" True λ> isRight $ Xeno.DOM.parse "<?xml version=\"1.1\"?>\n<greeting>Hello, world!</greeting>" False
Makes sense to split into 3 separate issues, I guess.
@qrilka @dredozubov @chrisdone Split this into #14 , #15 and #16 .
As I understand the idea of this lib is to follow more or less
hexml
so I was using it as a base for comparison. Some found inconsistencies:validate
Xeno.DOM
:validate
but not byXeno.DOM.parse