From b92ea63417bc6933393a3c285faf393b3d287ac2 Mon Sep 17 00:00:00 2001 From: Erlang/OTP Date: Mon, 12 Dec 2011 18:14:34 +0100 Subject: Prepare release --- lib/xmerl/doc/src/notes.xml | 104 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 104 insertions(+) (limited to 'lib/xmerl/doc') diff --git a/lib/xmerl/doc/src/notes.xml b/lib/xmerl/doc/src/notes.xml index 15c42d6f6a..8fa352d951 100644 --- a/lib/xmerl/doc/src/notes.xml +++ b/lib/xmerl/doc/src/notes.xml @@ -31,6 +31,110 @@

This document describes the changes made to the Xmerl application.

+
Xmerl 1.3 + +
Fixed Bugs and Malfunctions + + +

Fix character check of non-characters due to change + in unicode module.

+

+ Own Id: OTP-9670

+
+ +

+ Treat , as special in xmerl_xpath_scan. (Thanks to Anneli + Cuss)

+

+ Own Id: OTP-9753

+
+
+
+ + +
Improvements and New Features + + +

Updates to the xml scanner

+

xmerl_scan is now returning xmlComment records in the + output.

Functions xmerl_scan:file/2 and + xmerl_scan:string/2 now accepts a new option + {comments, Flag} for filtering of comments.
+ Default (true) is that #xmlComment records + are returned from the scanner and this flag should be set + to false if one don't want comments in the output.

+

Add default_attrs + option

When default_attrs is true + any attribute with a default value defined in the doctype + but not in the attribute axis of the currently scanned + element is added to it.

Allow + whole documents to be returned

Functions + xmerl_scan:file/2 and xmerl_scan:string/2 + now accepts a new option {document, true} to + produce a whole document as a xmlDocument record + instead of just the root element node.
This option + is the only way to get to the top-level comments and + processing instructions without hooking through the + customization functions. Those nodes are needed to + implement [Canonical XML][c14n-xml] support.
+ [c14n-xml]: + http://www.w3.org/TR/2008/PR-xml-c14n11-20080129/ + Canonical XML

Parents and + namespace are tracked in #xmlAttribute + nodes

Parents are tracked in + #xmlPI nodes

Set vsn + field in #xmlDecl record

Fix + namespace-conformance constraints

See + [Namespaces in XML 1.0 (Third Edition)][1]: The prefix + xml is by definition bound to the namespace name + http://www.w3.org/XML/1998/namespace. It MAY, but need + not, be declared, and MUST NOT be bound to any other + namespace name. Other prefixes MUST NOT be bound to this + namespace name, and it MUST NOT be declared as the + default namespace.
The prefix xmlns is used only to + declare namespace bindings and is by definition bound to + the namespace name http://www.w3.org/2000/xmlns/. It MUST + NOT be declared . Other prefixes MUST NOT be bound to + this namespace name, and it MUST NOT be declared as the + default namespace. Element names MUST NOT have the prefix + xmlns.
In XML documents conforming to this + specification, no tag may contain two attributes which + have identical names, or have qualified names with the + same local part and with prefixes which have been bound + to namespace names that are identical.
[1] + http://www.w3.org/TR/REC-xml-names/

+

Updates of xmerl's Xpath functionality.

+

Add #xmlPI support to + xmerl_xpath:write_node/1

Fix + processing-instruction(name?)

Fix + path filters, support more top-level primary + expressions

Accumulate comments in + element nodes

Implement namespace + axis

Namespace nodes are represented as + #xmlNsNode records. Now that the namespace axis is + correctly implemented, attributes nodes corresponding to + attributes that declare namespaces are ignored.
See + [5.3 Attribute Nodes][xpath-5.3]:
There are no + attribute nodes corresponding to attributes that declare + namespaces.
[xpath-5.3]: + http://www.w3.org/TR/xpath/#attribute-nodes

+

(Thanks to Anthony Ramine)

+

+ *** POTENTIAL INCOMPATIBILITY ***

+

+ Own Id: OTP-9664

+
+ +

+ Eliminate use of deprecated regexp module

+

+ Own Id: OTP-9810

+
+
+
+ +
+
Xmerl 1.2.10
Fixed Bugs and Malfunctions -- cgit v1.2.3