RequestCtx.getInstance() method does not handle namespace
Brought to you by:
farrukh_najmi,
sethp
I am using version 1.1. I noticed that the
Request.getInstance() method will throw error
if the stream had "Request" tag preceeded by a
namespace prefix. That is, for example, if your tag
was "<q0:Request ....>" instead of "<Request>". Same
applies for ReponseCtx.getInstance().
Logged In: YES
user_id=768753
Originator: NO
Replace all usage of
String tag = node.getNodeName()
with the following static method:
private static String getNodeName(Node node)
{
String name = node.getLocalName();
if(name == null)
name = node.getNodeName();
return name;
}
This should infact be done across the sunxacml codebase to handle the DOM2/DOM1 Namespaces mismatch.
Logged In: YES
user_id=608379
Originator: NO
Fixed in my local copy of sunxacml. Now I'm waiting for my commit-bit.