[前][次][番号順一覧][スレッド一覧][生データ]

ruby-cvs:21053

From: ser ruby-lang.org
Date: Sun, 4 Nov 2007 13:50:15 +0900 (JST)
Subject: [ruby-cvs:21053] Ruby:r13815 (ruby_1_8_6): Fixes a bug in the pretty printer related to an incomplete refactoring.

ser	2007-11-04 13:50:15 +0900 (Sun, 04 Nov 2007)

  New Revision: 13815

  Added files:
    branches/ruby_1_8_6/lib/rexml/undefinednamespaceexception.rb
  Modified directories:
    branches/ruby_1_8_6/lib/rexml/
  Modified files:
    branches/ruby_1_8_6/lib/rexml/attribute.rb
    branches/ruby_1_8_6/lib/rexml/document.rb
    branches/ruby_1_8_6/lib/rexml/dtd/dtd.rb
    branches/ruby_1_8_6/lib/rexml/element.rb
    branches/ruby_1_8_6/lib/rexml/encoding.rb
    branches/ruby_1_8_6/lib/rexml/parsers/baseparser.rb
    branches/ruby_1_8_6/lib/rexml/parsers/treeparser.rb
    branches/ruby_1_8_6/lib/rexml/rexml.rb
    branches/ruby_1_8_6/lib/rexml/source.rb

  Log:
      Fixes a bug in the pretty printer related to an incomplete refactoring.
      Fixes another bug related to the formatting code refactoring in 3.1.7
      Fixes ticket:99, and adds Henrik's unit test (with minor modifications)
      Fixes ticket:102.
        Fix provided by kevinj -- thanks!  Great job.
      Implements namespace validation in the baseparser.  This means that, as per
        the XML namespace spec, unbound prefixes generate UndefinedNamespaceException.
        Also, as per the namespace spec, the 'xml' prefix must be bound to 
        http://www.w3.org/XML/1998/namespace, and the 'xmlns' prefix must not be declared. 
        in the XML.
      Fix for ticket:115
      Fixes a bug in the pretty printer related to an incomplete refactoring.
      Merge code cleanups
      Fixes another bug related to the formatting code refactoring in 3.1.7
      Indentation fix.
      lib/rexml/formatters/*.rb: set properties.
      lib/rexml/encodings/{ISO-8859-15,CP-1252}.rb: fixed invalid syntax.
      lib/rexml/rexml.rb: removed doubled constant.
      lib/rexml/rexml.rb: added encoding.
      Fixes ticket:110
      Missing include for UndefinedNamespaceException was causing errors in some
        cases.

  Modified: branches/ruby_1_8_6/lib/rexml/

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8_6/lib/rexml/undefinednamespaceexception.rb?revision=13815&view=markup
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8_6/lib/rexml/rexml.rb?r1=13815&r2=13814
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8_6/lib/rexml/source.rb?r1=13815&r2=13814
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8_6/lib/rexml/element.rb?r1=13815&r2=13814
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8_6/lib/rexml/document.rb?r1=13815&r2=13814
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8_6/lib/rexml/attribute.rb?r1=13815&r2=13814
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8_6/lib/rexml/encoding.rb?r1=13815&r2=13814
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8_6/lib/rexml?r1=13815&r2=13814
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8_6/lib/rexml/parsers/treeparser.rb?r1=13815&r2=13814
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8_6/lib/rexml/dtd/dtd.rb?r1=13815&r2=13814
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8_6/lib/rexml/parsers/baseparser.rb?r1=13815&r2=13814


[前][次][番号順一覧][スレッド一覧][生データ]