Details
Description
In axiom-dom NodeImpl's [1] "setPrefix" method is implemented as follows,
public void setPrefix(String prefix) throws DOMException
{ throw new DOMException(DOMException.NAMESPACE_ERR, DOMMessageFormatter .formatMessage(DOMMessageFormatter.DOM_DOMAIN, DOMException.NAMESPACE_ERR, null)); }According to current trunk the "setPrefix" method is not overridden at
any child class. But this method is called from opensaml framework
when document builder is set to axiom-dom one. Above method is called for Element (ElementImpl). Thus it throws DOMException.
I am not sure why we should throw an Exception for Element. I override method with an empty body and according to my tests it works fine. (I have attached the patch).
Please review the patch and apply.
Thanks
AmilaJ
Attachments
Attachments
Issue Links
- blocks
-
RAMPART-354 Upgrade OpenSAML version used by Rampart to 2.5.1-1
- Resolved