Tue Feb 3 05:39:26 PST 2009 [email protected]
* Fix incorrect tag-names when using DtdToHaskell-generated types.
During the merge of Xml2Haskell and Haskell2Xml, it appears that
some of the Haskell2Xml-specific tag-munging was inadvertently adopted
for all conversions. Haskell and DTDs have rather different content
models, based on sum of product types or regular expression types,
respectively. So you can't intermingle datatypes with different origins
after all. The symptom is lots of <list-..> and <maybe-..> tags
appearing where they should not.
The large common subset of XmlContent is now in T.X.H.XmlContent.Parser.
The original T.X.H.XmlContent now adds class instances specific to
DtdToHaskell-generated types. An alternative set of instances (for
Haskell-original datatypes) is in T.X.H.XmlContent.Haskell.
./src/Text/XML/HaXml/XmlContent.hs ->
./src/Text/XML/HaXml/XmlContent/Parser.hs
M ./HaXml.cabal -1 +3
M ./docs/changelog.html +2
A ./src/Text/XML/HaXml/XmlContent/
A ./src/Text/XML/HaXml/XmlContent.hs
A ./src/Text/XML/HaXml/XmlContent/Haskell.hs
M ./src/Text/XML/HaXml/XmlContent/Parser.hs -205 +7
View patch online:
http://darcs.haskell.org/packages/HaXml/_darcs/patches/20090203133926-6871e-f122f2c1de65d38c1ed00ebc4332ff1db2569bc8.gz
_______________________________________________
Cvs-libraries mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-libraries