# File nqxml/tokenizer.rb, line 252 def nextQuotedLiteral(tagName) quote = peekChar() if quote != '"' && quote != "'" str = "quoted literal not quoted in tag #{tagName}" raise ParserError.new(str, self) end skipChar() # eat quote text = textUpTo(quote, false, true) skipChar() # eat quote return text end