mirror of
https://github.com/AdaCore/xmlada.git
synced 2026-02-12 12:30:28 -08:00
- D714-002: Comments are now properly stored in the DOM tree git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/importfromcvs/trunk@11994 936e1b1b-40f2-da11-902a-00137254ae57
82 lines
2.8 KiB
Plaintext
82 lines
2.8 KiB
Plaintext
New features in version 1.1
|
|
|
|
- D507-011: Dom.Core.Nodes.Print can now output real newline characters
|
|
|
|
- DA04-015: Dom.Core.Nodes.Print can now output with different character set
|
|
or encoding scheme
|
|
|
|
- D719-001: Dom.Core.Nodes.Print will now output the <?xml?> PI when outputing
|
|
a document
|
|
|
|
- D714-002: Comments are now properly stored in the DOM tree
|
|
|
|
- Sax.Locators are now reference-counted, so that they can be preserved across
|
|
calls to Parse.
|
|
|
|
- D609-022 Shared strings in DOM tree, to reduce memory usage by up to 50%
|
|
|
|
- Improve location reports in SAX events. In particular, check debug_readers.adb
|
|
on how to get the context of an entity expansion if you want even better
|
|
locations.
|
|
|
|
- CB14-002 Add support for SAX's Entity_Resolver
|
|
|
|
- A new input source is now provided: Http
|
|
See testxml.adb for an example of use
|
|
|
|
- A project file is now installed by default (xmlada.gpr) to facilitate the
|
|
use of XML/Ada
|
|
|
|
- Better integration with GtkAda: A special SAX reader is provided that can
|
|
generate an XML tree in the format expected by Glib.XML
|
|
|
|
New features in version 1.0
|
|
|
|
- Some file names were shorten in the unicode module, for compatibility with
|
|
VMS systems. See the Perl script unicode/convert.pl for the exact list.
|
|
|
|
- tree_readers.ads renamed to dom-readers.ads
|
|
This way, only the XML/Ada namespace is used, without conflicts with files
|
|
that may come from the user's code.
|
|
|
|
- Builds are now based on GNAT project files
|
|
Users of GNAT 3.15 and later will now use GNAT project files to build the
|
|
library, which is easier to configure.
|
|
|
|
- More efficient parser
|
|
The API in the unicode module has been changed to avoid functions returning
|
|
unconstrained types, resulting in a much faster parser.
|
|
|
|
- Independence from GNAT
|
|
XML/Ada should now be compilable with other compilers. The GNAT-specific
|
|
packages and attributes have been replaced by equivalents.
|
|
|
|
- Better support for encodings
|
|
XML/Ada now has a better auto-detection of the encoding (for Utf16 and Utf8
|
|
documents, even when they don't have a Byte-Order-Mark).
|
|
It will also fully process the "<?xml encoding=...?>" declaration at the
|
|
beginning of the documents. The following encodings are currently supported:
|
|
UTF-8
|
|
UTF-16
|
|
ISO-8859-1 LATIN-1
|
|
ISO-8859-2 LATIN-2
|
|
ISO-8859-3
|
|
ISO-8859-4
|
|
|
|
- Memory leaks fixed
|
|
|
|
New features in version 0.6
|
|
|
|
- Parser twice as fast
|
|
The SAX parser has been completely rewritten, and is now about twice
|
|
as fast as the previous one.
|
|
|
|
- Support for validation (partial)
|
|
A partial support for validation has been added. This means that some of
|
|
the validity constraints defined in the XML specifications are now tested
|
|
(root element type, tests on attributes, ...).
|
|
However, XML/Ada still doesn't test that the XML document matches its DTD.
|
|
|
|
- New licence
|
|
This library is now distributed under the GNAT-Modified GPL.
|