    # File temp/parsers/pullparser.rb, line 65
          def pull
            return @my_stack.shift if @my_stack.length > 0

            event = @parser.pull
            case event[0]
            when :entitydecl
              @entities[ event[1] ] =
                event[2] unless event[2] =~ /PUBLIC|SYSTEM/
            when :text
              unnormalized = @parser.unnormalize( event[1], @entities )
              event << unnormalized
            end
            PullEvent.new( event )
          end