# File nqxml/tokenizer.rb, line 179 def skipSpaces while @currInput.pos >= @currInput.length @inputStack.pop() @currInput = @inputStack.last end endOfSpaces = @currInput.string.index(NOT_SPACES_REGEX, @currInput.pos) if endOfSpaces.nil? # There's nothing but whitespace from here until end of the # current input stream. Pop this input and continue searching. @currInput.pos = @currInput.length while @currInput.pos >= @currInput.length @inputStack.pop() @currInput = @inputStack.last end skipSpaces() if @currInput else @currInput.pos = endOfSpaces end end