I'm getting the same error with JBoss AS7 7.1.1 on Mac OSX. As a bit of additional information, the insertion of even an empty <vault> tag leads to an XMLStreamException with the message "Unexpected element" thrown on whatever element follows the <vault> block.