# File nqxml/treeparser.rb, line 36 def miscEntity?(entity) return entity.instance_of?(Comment) || entity.instance_of?(ProcessingInstruction) || entity.instance_of?(XMLDecl) || (entity.instance_of?(Text) && (entity.text() =~ /^\*$/m)) end