HORNETQ-1146 use XMLUtils.* to ensure trimming.

Fixes https://community.jboss.org/message/799295