Menu

#20 Result should be namespace aware

open
nobody
None
5
2007-05-25
2007-05-25
Anonymous
No

Similar to bug 944592

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;
}

Discussion

  • Roland Illig

    Roland Illig - 2008-08-03

    Logged In: YES
    user_id=608379
    Originator: NO

    Fixed in my local copy of sunxacml. Now I only need my commit-bit.

     
  • Roland Illig

    Roland Illig - 2010-04-13

    Won't be fixed as suggested. Instead, all the XML processing will be done by JAXB or a similar framework, which handles namespaces correctly.

     

Log in to post a comment.