Java 7u25, OpenAM, and "Cannot resolve element with ID"
Not too long ago, Oracle released Java 7 update 25, which is an important security update. Unfortunately, they made a change in XML that affects the parsing of ID attributes. This broke our SAML authenticator, OpenAM 10.1, and lots of other products that perform XML processing of ID's. We fixed our SAML authenticator by finding the attribute with the name of ID and then calling this piece of code.
element.setIdAttribute( "ID", true);