# File nqxml/tokenizer.rb, line 410 def nextProcessingInstruction while @currInput.pos >= @currInput.length @inputStack.pop() @currInput = @inputStack.last end sourceStartPos = @currInput.pos - 2 # Get name # do not skip spaces; they are not allowed before the name. # skipSpaces() name = nextName() skipSpaces() if name.downcase == 'xml' return restOfXMLDecl(name, @currInput, sourceStartPos) else return restOfProcessingInstruction(name, @currInput, sourceStartPos) end end