1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/lib/rexml
ser f114b85d89 * Cross-patch from Ruby CVS; mostly Nabu edits.
* Fixes ticket:68.

  ***** Note that this is an API change!!! *****

  NOTE that this involves an API change!  Entity declarations in the doctype now
  generate events that carry two, not one, arguments.

* Implements ticket:15, using gwrite's suggestion.  This allows Element to be
  subclassed.

* Fixed namespaces handling in XPath and element.

  ***** Note that this is an API change!!! *****

  Element.namespaces() now returns a hash of namespace mappings which are
  relevant for that node.

* Fixes a bug in multiple decodings

* The changeset 1230:1231 was bad.  The default behavior is *not* to use the
  native REXML encodings by default, but rather to use ICONV by default.  I'll
  have to think of a better way of managing translations, but the REXML codecs
  are (a) less reliable than ICONV, but more importantly (b) slower.  The real
  solution is to use ICONV by default, but allow users to specify that they
  want to use the pure Ruby codecs.

* Fixes ticket:61 (xpath_parser)

* Fixes ticket:63 (UTF-16; UNILE decoding was bad)

* Improves parsing error messages a little

* Adds the ability to override the encoding detection in Source construction

* Fixes an edge case in Functions::string, where document nodes weren't
  correctly converted

  * Fixes Functions::string() for Element and Document nodes

  * Fixes some problems in entity handling

* Addresses ticket:66

* Fixes ticket:71

* Addresses ticket:78

    NOTE: that this also fixes what is technically another bug in REXML.  REXML's
    XPath parser used to allow exponential notation in numbers.  The XPath spec
    is specific about what a number is, and scientific notation is not included.
    Therefore, this has been fixed.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11315 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-12-01 02:20:08 +00:00
..
dtd REXML changes backported from the 1.9 branch: 2004-04-02 03:26:19 +00:00
encodings * Cross-patch from Ruby CVS; mostly Nabu edits. 2006-12-01 02:20:08 +00:00
light * Added the lower-case Shift-JIS files to the manifest. The upper-case ones 2003-12-09 02:41:33 +00:00
parsers * Cross-patch from Ruby CVS; mostly Nabu edits. 2006-12-01 02:20:08 +00:00
validation * Fixed the inheritance bug in the pull parser that James Britt found. 2005-08-12 12:08:52 +00:00
attlistdecl.rb Initial revision 2003-06-10 01:31:01 +00:00
attribute.rb * Fixed the inheritance bug in the pull parser that James Britt found. 2005-08-12 12:08:52 +00:00
cdata.rb Short summary: 2006-04-14 02:56:44 +00:00
child.rb Initial revision 2003-06-10 01:31:01 +00:00
comment.rb Merged changes from REXML 3.1.5. 2006-09-08 01:53:33 +00:00
doctype.rb Short summary: 2006-04-14 02:56:44 +00:00
document.rb Short summary: 2006-04-14 02:56:44 +00:00
element.rb * Cross-patch from Ruby CVS; mostly Nabu edits. 2006-12-01 02:20:08 +00:00
encoding.rb * Cross-patch from Ruby CVS; mostly Nabu edits. 2006-12-01 02:20:08 +00:00
entity.rb Initial revision 2003-06-10 01:31:01 +00:00
functions.rb * Cross-patch from Ruby CVS; mostly Nabu edits. 2006-12-01 02:20:08 +00:00
instruction.rb * Fixed the inheritance bug in the pull parser that James Britt found. 2005-08-12 12:08:52 +00:00
namespace.rb Initial revision 2003-06-10 01:31:01 +00:00
node.rb * Cross-patch from Ruby CVS; mostly Nabu edits. 2006-12-01 02:20:08 +00:00
output.rb * Added the lower-case Shift-JIS files to the manifest. The upper-case ones 2003-12-09 02:41:33 +00:00
parent.rb Short summary: 2006-04-14 02:56:44 +00:00
parseexception.rb Cross-ported the REXML changes (3.0.8) from the development branch to the 2004-05-16 19:08:03 +00:00
quickpath.rb * lib/rexml/quickpath.rb (REXML::QuickPath::match): 2003-10-11 08:10:07 +00:00
rexml.rb * Cross-patch from Ruby CVS; mostly Nabu edits. 2006-12-01 02:20:08 +00:00
sax2listener.rb * Cross-patch from Ruby CVS; mostly Nabu edits. 2006-12-01 02:20:08 +00:00
source.rb * Cross-patch from Ruby CVS; mostly Nabu edits. 2006-12-01 02:20:08 +00:00
streamlistener.rb Short summary: 2006-04-14 02:56:44 +00:00
syncenumerator.rb This commit was manufactured by cvs2svn to create branch 'ruby_1_8'. 2005-05-19 03:51:53 +00:00
text.rb * Cross-patch from Ruby CVS; mostly Nabu edits. 2006-12-01 02:20:08 +00:00
xmldecl.rb Short summary: 2006-04-14 02:56:44 +00:00
xmltokens.rb Initial revision 2003-06-10 01:31:01 +00:00
xpath.rb Merged changes from REXML 3.1.5. 2006-09-08 01:53:33 +00:00
xpath_parser.rb * Cross-patch from Ruby CVS; mostly Nabu edits. 2006-12-01 02:20:08 +00:00