From: Seth P. <se...@us...> - 2004-06-09 20:12:30
|
Update of /cvsroot/sunxacml/sunxacml/com/sun/xacml/finder/impl In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25559/com/sun/xacml/finder/impl Modified Files: SelectorModule.java Log Message: added error handling for missing namespace map Index: SelectorModule.java =================================================================== RCS file: /cvsroot/sunxacml/sunxacml/com/sun/xacml/finder/impl/SelectorModule.java,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** SelectorModule.java 14 May 2004 18:42:03 -0000 1.8 --- SelectorModule.java 9 Jun 2004 20:12:21 -0000 1.9 *************** *** 181,188 **** // if the rootPath is still null, then we don't have any // definitions for the namespace ! if (rootPath == null) { ! // FIXME: should this be an error, or should we add ! // the namespace somehow? ! } } } --- 181,187 ---- // if the rootPath is still null, then we don't have any // definitions for the namespace ! if (rootPath == null) ! return createProcessingError("Failed to map a namespace" + ! " in an XPath expression"); } } |