[fptools/libraries/HaXml: changeset 2003-04-15 20:19:07 by malcolm
malcolm**20030415201907
HaXml package version number is now at 1.09.
] {
hunk ./Makefile 2
-VERSION = 1.08a
+VERSION = 1.09
hunk ./docs/changelog.html 18
+
make install now places the executables (DtdToHaskell, Xtract,
+ Validate, MkOneOf, Canonicalise) into the directory specified by
+ ./configure --prefix=...
hunk ./docs/index.html 101
+ Nevertheless, many standard XML processors reject these auto-generated
+ DTDs. The solution is easy - just move the DTD into a separate file!
hunk ./docs/index.html 112
-HaXml-1.08a, release date 2002.12.17
+HaXml-1.09, release date 2003.03.05
hunk ./docs/index.html 114
-.tar.gz,
-.zip.
+.tar.gz,
+.zip.
hunk ./docs/index.html 120
+
hunk ./docs/index.html 126
+Development version:
+The development version of HaXml is available by anonymous CVS
+(write-access is also available to core Haskell developers). Read the
+instructions for getting ghc by CVS:
+
+http://haskell.org/ghc/docs/latest/html/building/sec-cvs.html
+and simply replace the project name fpconfig with HaXml.
+
+
hunk ./docs/index.html 136
-FreeBSD port
hunk ./docs/index.html 142
-To install HaXml, you must have a Haskell compiler: ghc-5.02 or
-later, nhc98-1.14 or later. You also need hmake-3.06 or later.
-HaXml-1.08 does not currently support Hugs (but HaXml-1.05 does,
-and we hope to re-introduce Hugs support again soon). Use
+To install HaXml, you must have a Haskell compiler: ghc-5.02
+or later, and/or nhc98-1.14/hmake-3.06 or later. HaXml-1.09
+has not been tested with recent versions of Hugs (we last tested at
+HaXml-1.05, and would like some advice and help on how things work
+with the newest versions of Hugs). Use
+
hunk ./docs/index.html 149
- ./configure
+ ./configure [--prefix=...]
hunk ./docs/index.html 153
-to configure, build, and install HaXml as a package for your compiler.
-Afterwards, to gain access to the HaXml libraries, you only need to
-add the option -package HaXml to your compiler commandline.
-Various stand-alone tools are also built - DtdToHaskell, Xtract,
-Validate - if you are going to use them, you should copy these to
-your final preferred installation location by hand.
+to configure, build, and install HaXml as a package for your
+compiler(s). Afterwards, to gain access to the HaXml libraries,
+you only need to add the option -package HaXml to your
+compiler commandline. Various stand-alone tools are also built -
+DtdToHaskell, Xtract, Validate, MkOneOf - and copied to your final
+preferred installation location, specified by the --prefix=...
+option to configure.
hunk ./docs/index.html 164
-The latest version (1.08a) has the following fixes:
+The latest version (1.09) has the following fixes:
+
+- hmake is no longer required to build HaXml, provided you
+ have ghc --make.
+
- 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.
+
- 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=...
+
+
+
+
+The previous version (1.08) had the following new features:
hunk ./docs/index.html 208
-
-
-
-Version (1.07) had the following new features:
-
-- HaXml now uses the new hierarchical namespace for modules,
- specifically under the tree Text.XML.HaXml.
-
- The HaXml libraries now install as a separate `package' in both ghc
- and nhc98. Use -package HaXml to access them.
-
- The library APIs are now documented using Haddock.
-
- Due to popular request, we have added a new validator for checking
- generic document content against a DTD. This is available both as
- a library function, and as a command-line tool.
-
- DrIFT is now distributed separately by John Meacham, with much better
- configuration and build support. You still only need it if you
- want to derive the Haskell2Xml class.
-
- Bugfix: the lexer and parser now accept NOTATION declarations in the DTD.
-
- Bugfix: a PublicId in a NOTATION decl is now correctly recognised by the
- keyword PUBLIC, not PUBLICID.
-
- Bugfix: the HTML parser now correctly accepts stand-alone tags like IMG.
-
- Bugfix: instances of XmlContent now accept an empty string where #PCDATA
- is expected. Likewise, comments, processing instructions, and
- character/entity references are now permitted to be scattered
- thoughout some #PCDATA text.
-
- Bugfix: the OneOfN types used in code generated by DtdToHaskell are
- now supplied by default up to size 20, and a utility for
- automatically generating larger sizes is included.
hunk ./docs/index.html 221
-
-
- Colin.Runciman@cs.york.ac.uk (design)
hunk ./src/Text/XML/HaXml.hs 28
--- | The version of the library (currently "1.08").
+-- | The version of the library (currently "1.09").
hunk ./src/Text/XML/HaXml.hs 30
-version = "1.08"
+version = "1.09"
}