WFLY-3940 Parsers should print expected elements in case of error

Why the wildcard? It's a String set so the iterator should be `Iterator<String>`. Also why not just return a `CharSequence` and change the loggers to accept a `CharSequence`?