I have a schema which I use XmlBeans to umarshall to Java objects. I have no control over the the data that comes through.
One such field looks like
<Name>Barnes & Noble</Name>
No. This is invalid XML. Ampersand must be escaped into "&".
You can manually escape all ampersand before parsing it as XML but that may mess up other XML entities.