From ed6283ab7eabffd94abe5f21ef7cd845cdf378bb Mon Sep 17 00:00:00 2001 From: Yorick Peterse Date: Tue, 16 Sep 2014 14:49:42 +0200 Subject: [PATCH] Updated the changelog. --- doc/changelog.md | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/doc/changelog.md b/doc/changelog.md index 47f6091..98b41a3 100644 --- a/doc/changelog.md +++ b/doc/changelog.md @@ -2,6 +2,38 @@ ## 0.2.0 - Unreleased +A SAX parser/API has been added. This API is useful when even the overhead of +the pull-parser is too much memory wise. + +Oga will now always use the Racc gem instead of the version shipped with the +Ruby standard library. + +XML parser errors have been made a little bit more user friendly, though they +can still be quite cryptic. + +Elements serialized to XML/HTML will use self-closing tags whenever possible. +When parsing HTML documents only HTML void elements will use self-closing tags +(e.g. `` tags). + +Namespaces are no longer removed from the attributes list when an element is +created. + +Default XML namespaces can now be registered using `xmlns="..."`. Previously +this would be ignored. + +Oga can now lex input such as ``). +Previously it could only parse lower-cased void elements. Thanks to Tero Tasanen +for fixing this. + The `node_type` method has been removed and its purpose has been moved into the `XML::PullParser` class itself. This method was solely used by the pull parser to provide shorthands for node classes. As such it doesn't make sense to