[fptools/libraries/HaXml: changeset 2004-01-23 11:45:20 by malcolm
malcolm**20040123114520
Update docs and version number to 1.11 to include embarrassing bugfix.
] {
hunk ./Makefile 2
-VERSION = 1.10
+VERSION = 1.11
hunk ./configure 5
-VERSION="1.09"
+VERSION="1.11"
hunk ./docs/changelog.html 16
+
Changes for 1.11
+
+
+- Fix a tiny but embarrassing bug in the previous fix for complex
+ DTDs being translated by DtdToHaskell. It broke on a very simple
+ DTD like
+ <!ELEMENT A (B|C)>
+ which became sequence
+ data A = A B C
+ instead of choice
+ data A = AB B | AC C
+
+
hunk ./docs/index.html 113
-HaXml-1.10, release date 2004.01.19
+HaXml-1.11, release date 2004.01.23
hunk ./docs/index.html 115
-.tar.gz,
-.zip.
+.tar.gz,
+.zip.
hunk ./docs/index.html 164
-The latest version (1.10) has the following features and fixes:
+The latest version (1.11) has the following features and fixes:
+
+- Fix a tiny but embarrassing bug in the previous fix for complex
+ DTDs being translated by DtdToHaskell. It broke on a very simple
+ DTD like
+ <!ELEMENT A (B|C)>
+ which became sequence
+ data A = A B C
+ instead of choice
+ data A = AB B | AC C
+
+
+The previous version (1.10) has the following features and fixes:
hunk ./docs/index.html 192
-
-
-The previous version (1.09) had the following new features:
-
-- ghc-6.0 is supported.
-
- hmake is no longer required to build HaXml, provided you
- have ghc --make.
-
- A new combinator path has been added to
- Text.XML.HaXml.Combinators, allowing queries to be expressed in the
- style of XPath.
-
- Some of the signatures in Text.XML.HaXml.Xml2Haskell have changed,
- in particular, there are new functions readXml and
- showXml that convert to/from Strings, hGetXml and
- hPutXml that use file Handles, and the old functions that
- use filenames are renamed to fReadXml and fWriteXml.
-
- DtdToHaskell previously generated incorrect code for reading an XML
- element given the following DTD fragment:
-
<!ELEMENT foo (a,b)+ >
- - The parser had a fault when reading conditional sections nested inside an
- IGNORE section in a DTD.
-
- In Text.XML.HaXml.Html.Generate, all functions now generate HTML tags
- in lower-case rather than upper-case, to conform to the XHTML standard.
-
- DtdToHaskell now accepts NOTATION types for attributes. They are
- treated just like enumeration types.
-
- If you give an output filename as a command-line argument to DtdToHaskell,
- it now uses the filename as the basis for the generated module name.
-
- Fixed a configuration bug on the Cygwin platform with ghc-5.04.x.
-
- make install now places the executables (DtdToHaskell, Xtract,
- Validate, MkOneOf, Canonicalise) into the directory specified by
- ./configure --prefix=...
-
}