From: <se...@us...> - 2004-02-13 18:55:42
|
Update of /cvsroot/sunxacml/sunxacml/com/sun/xacml/finder/impl In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12041/com/sun/xacml/finder/impl Modified Files: SelectorModule.java Log Message: fixed to handle XML attributes correctly Index: SelectorModule.java =================================================================== RCS file: /cvsroot/sunxacml/sunxacml/com/sun/xacml/finder/impl/SelectorModule.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** SelectorModule.java 13 Feb 2004 17:55:32 -0000 1.4 --- SelectorModule.java 13 Feb 2004 18:49:51 -0000 1.5 *************** *** 154,158 **** if ((nodeType == Node.CDATA_SECTION_NODE) || (nodeType == Node.COMMENT_NODE) || ! (nodeType == Node.TEXT_NODE)) { // there is no child to this node text = node.getNodeValue(); --- 154,159 ---- if ((nodeType == Node.CDATA_SECTION_NODE) || (nodeType == Node.COMMENT_NODE) || ! (nodeType == Node.TEXT_NODE) || ! (nodeType == Node.ATTRIBUTE_NODE)) { // there is no child to this node text = node.getNodeValue(); |