# File nqxml/tokenizer.rb, line 768 def nextBangTag if peekMatches?('--') skipChars(2) return nextComment() elsif peekMatches?('[CDATA[') return nextCdata() elsif peekMatches?('DOCTYPE') nextDoctype() else text = textUpTo('>', false, true) raise ParserError.new("unknown or unexpected tag <!#{text}>", self) end end