~ubuntu-branches/ubuntu/intrepid/ruby1.9/intrepid-updates

« back to all changes in this revision

Viewing changes to lib/rexml/parsers/sax2parser.rb

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2007-09-04 16:01:17 UTC
  • mfrom: (1.1.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20070904160117-i15zckg2nhxe9fyw
Tags: 1.9.0+20070830-2ubuntu1
* Sync from Debian; remaining changes:
  - Add -g to CFLAGS.
* Fixes build failure on ia64.
* Fixes build failure with gcc-4.2 on lpia.
* Robustify check for target_os, fixing build failure on lpia.
* Set Ubuntu maintainer address.

Show diffs side-by-side

added added

removed removed

Lines of Context:
94
94
                                        when :end_document
95
95
                                                handle( :end_document )
96
96
                                                break
 
97
                                        when :start_doctype
 
98
                                                handle( :doctype, *event[1..-1])
97
99
                                        when :end_doctype
98
100
                                                context = context[1]
99
101
                                        when :start_element
167
169
          when :entitydecl
168
170
            @entities[ event[1] ] = event[2] if event.size == 3
169
171
                                                handle( *event )
170
 
                                        when :processing_instruction, :comment, :doctype, :attlistdecl, 
 
172
                                        when :processing_instruction, :comment, :attlistdecl, 
171
173
                                                :elementdecl, :cdata, :notationdecl, :xmldecl
172
174
                                                handle( *event )
173
175
                                        end