# File nqxml/tokenizer.rb, line 402 def restOfProcessingInstruction(name, input, sourceStartPos) text = textUpTo('?>', false, true) # Read remaining text skipChars(2) # eat '?>' source = input.string[sourceStartPos ... input.pos] return ProcessingInstruction.new(name, text, source) end