# File nqxml/tokenizer.rb, line 268
 def nextPublicIdLiteral(tagName)
	    quote = peekChar()
	    if quote != '"' && quote != "'"
		str = "quoted literal not quoted in #{tagName} PUBLIC id"
		raise ParserError.new(str, self)
	    end
	    skipChar()		# eat quote

	    text = textUpTo(quote, false, true)
	    if !(text =~ PUBLIC_ID_LITERAL_REGEX)
		str = "#{tagName} PUBLIC public id literal contains illegal" +
		 ' character(s)'
		 raise ParserError.new(str, self)
	     end
	    skipChar()		# eat quote

	    return quote + text + quote
	end