Ian Hummel wrote:
hmmm you're right.
Another thing I noticed is that if I add
assertion.setIdAttribute("id", true);
things seem to work as well...
Can you comment on that?
Yes, you are registering the ID so it doesn't execute the same code path
that triggered the NPE.
But, you shou
hmmm you're right.
Another thing I noticed is that if I add
assertion.setIdAttribute("id", true);
things seem to work as well...
Can you comment on that?
Thank you Sean!
On Jun 26, 2008, at 5:49 PM, Sean Mullan wrote:
You must always use the DOM namespace aware methods when creat
You must always use the DOM namespace aware methods when creating
elements and attributes, change:
> Element assertion = doc.createElement("Assertion");
> assertion.setAttribute("id", "mynode");
to:
> Element assertion = doc.createElementNS(null, "Assertion");
> assertion.setAttributeN