Rat (Release Audit Tool) resultsThe following document contains the results of Rat (Release Audit Tool). ***************************************************** Summary ------- Generated at: 2015-11-18T22:06:39+01:00 Notes: 2 Binaries: 4 Archives: 0 Standards: 278 Apache Licensed: 268 Generated Documents: 0 JavaDocs are generated and so license header is optional Generated files do not required license headers 2 Unknown Licenses ******************************* Unapproved licenses: src/test/java/org/apache/commons/jxpath/ri/JXPathContextReferenceImplTestCase.java src/test/java/org/apache/commons/jxpath/ri/model/JXPath154Test.java ******************************* Archives: ***************************************************** Files with Apache License headers will be marked AL Binary files (which do not require AL headers) will be marked B Compressed archives will be marked A Notices, licenses etc will be marked N AL build.properties.sample build.xml AL checkstyle.properties AL checkstyle.xml AL conf/findbugs-exclude-filter.xml AL CONTRIBUTING.md AL doap_jxpath.rdf N LICENSE.txt N NOTICE.txt AL pom.xml AL PROPOSAL.html AL rat.xml AL README.md AL src/assembly/bin.xml AL src/assembly/src.xml AL src/changes/changes.xml AL src/main/java/org/apache/commons/jxpath/AbstractFactory.java AL src/main/java/org/apache/commons/jxpath/BasicNodeSet.java AL src/main/java/org/apache/commons/jxpath/BasicVariables.java AL src/main/java/org/apache/commons/jxpath/ClassFunctions.java AL src/main/java/org/apache/commons/jxpath/CompiledExpression.java AL src/main/java/org/apache/commons/jxpath/Container.java AL src/main/java/org/apache/commons/jxpath/DynamicPropertyHandler.java AL src/main/java/org/apache/commons/jxpath/ExceptionHandler.java AL src/main/java/org/apache/commons/jxpath/ExpressionContext.java AL src/main/java/org/apache/commons/jxpath/ExtendedKeyManager.java AL src/main/java/org/apache/commons/jxpath/Function.java AL src/main/java/org/apache/commons/jxpath/FunctionLibrary.java AL src/main/java/org/apache/commons/jxpath/functions/ConstructorFunction.java AL src/main/java/org/apache/commons/jxpath/functions/MethodFunction.java AL src/main/java/org/apache/commons/jxpath/functions/package.html AL src/main/java/org/apache/commons/jxpath/Functions.java AL src/main/java/org/apache/commons/jxpath/IdentityManager.java AL src/main/java/org/apache/commons/jxpath/JXPathAbstractFactoryException.java AL src/main/java/org/apache/commons/jxpath/JXPathBasicBeanInfo.java AL src/main/java/org/apache/commons/jxpath/JXPathBeanInfo.java AL src/main/java/org/apache/commons/jxpath/JXPathContext.java AL src/main/java/org/apache/commons/jxpath/JXPathContextFactory.java AL src/main/java/org/apache/commons/jxpath/JXPathContextFactoryConfigurationError.java AL src/main/java/org/apache/commons/jxpath/JXPathException.java AL src/main/java/org/apache/commons/jxpath/JXPathFunctionNotFoundException.java AL src/main/java/org/apache/commons/jxpath/JXPathIntrospector.java AL src/main/java/org/apache/commons/jxpath/JXPathInvalidAccessException.java AL src/main/java/org/apache/commons/jxpath/JXPathInvalidSyntaxException.java AL src/main/java/org/apache/commons/jxpath/JXPathNotFoundException.java AL src/main/java/org/apache/commons/jxpath/JXPathTypeConversionException.java AL src/main/java/org/apache/commons/jxpath/KeyManager.java AL src/main/java/org/apache/commons/jxpath/MapDynamicPropertyHandler.java AL src/main/java/org/apache/commons/jxpath/NodeSet.java AL src/main/java/org/apache/commons/jxpath/package.html AL src/main/java/org/apache/commons/jxpath/PackageFunctions.java AL src/main/java/org/apache/commons/jxpath/Pointer.java AL src/main/java/org/apache/commons/jxpath/ri/axes/AncestorContext.java AL src/main/java/org/apache/commons/jxpath/ri/axes/AttributeContext.java AL src/main/java/org/apache/commons/jxpath/ri/axes/ChildContext.java AL src/main/java/org/apache/commons/jxpath/ri/axes/DescendantContext.java AL src/main/java/org/apache/commons/jxpath/ri/axes/InitialContext.java AL src/main/java/org/apache/commons/jxpath/ri/axes/NamespaceContext.java AL src/main/java/org/apache/commons/jxpath/ri/axes/NodeSetContext.java AL src/main/java/org/apache/commons/jxpath/ri/axes/package.html AL src/main/java/org/apache/commons/jxpath/ri/axes/ParentContext.java AL src/main/java/org/apache/commons/jxpath/ri/axes/PrecedingOrFollowingContext.java AL src/main/java/org/apache/commons/jxpath/ri/axes/PredicateContext.java AL src/main/java/org/apache/commons/jxpath/ri/axes/RootContext.java AL src/main/java/org/apache/commons/jxpath/ri/axes/SelfContext.java AL src/main/java/org/apache/commons/jxpath/ri/axes/SimplePathInterpreter.java AL src/main/java/org/apache/commons/jxpath/ri/axes/UnionContext.java AL src/main/java/org/apache/commons/jxpath/ri/compiler/Constant.java AL src/main/java/org/apache/commons/jxpath/ri/compiler/CoreFunction.java AL src/main/java/org/apache/commons/jxpath/ri/compiler/CoreOperation.java AL src/main/java/org/apache/commons/jxpath/ri/compiler/CoreOperationAdd.java AL src/main/java/org/apache/commons/jxpath/ri/compiler/CoreOperationAnd.java AL src/main/java/org/apache/commons/jxpath/ri/compiler/CoreOperationCompare.java AL src/main/java/org/apache/commons/jxpath/ri/compiler/CoreOperationDivide.java AL src/main/java/org/apache/commons/jxpath/ri/compiler/CoreOperationEqual.java AL src/main/java/org/apache/commons/jxpath/ri/compiler/CoreOperationGreaterThan.java AL src/main/java/org/apache/commons/jxpath/ri/compiler/CoreOperationGreaterThanOrEqual.java AL src/main/java/org/apache/commons/jxpath/ri/compiler/CoreOperationLessThan.java AL src/main/java/org/apache/commons/jxpath/ri/compiler/CoreOperationLessThanOrEqual.java AL src/main/java/org/apache/commons/jxpath/ri/compiler/CoreOperationMod.java AL src/main/java/org/apache/commons/jxpath/ri/compiler/CoreOperationMultiply.java AL src/main/java/org/apache/commons/jxpath/ri/compiler/CoreOperationNegate.java AL src/main/java/org/apache/commons/jxpath/ri/compiler/CoreOperationNotEqual.java AL src/main/java/org/apache/commons/jxpath/ri/compiler/CoreOperationOr.java AL src/main/java/org/apache/commons/jxpath/ri/compiler/CoreOperationRelationalExpression.java AL src/main/java/org/apache/commons/jxpath/ri/compiler/CoreOperationSubtract.java AL src/main/java/org/apache/commons/jxpath/ri/compiler/CoreOperationUnion.java AL src/main/java/org/apache/commons/jxpath/ri/compiler/Expression.java AL src/main/java/org/apache/commons/jxpath/ri/compiler/ExpressionPath.java AL src/main/java/org/apache/commons/jxpath/ri/compiler/ExtensionFunction.java AL src/main/java/org/apache/commons/jxpath/ri/compiler/LocationPath.java AL src/main/java/org/apache/commons/jxpath/ri/compiler/NameAttributeTest.java AL src/main/java/org/apache/commons/jxpath/ri/compiler/NodeNameTest.java AL src/main/java/org/apache/commons/jxpath/ri/compiler/NodeTest.java AL src/main/java/org/apache/commons/jxpath/ri/compiler/NodeTypeTest.java AL src/main/java/org/apache/commons/jxpath/ri/compiler/Operation.java AL src/main/java/org/apache/commons/jxpath/ri/compiler/package.html AL src/main/java/org/apache/commons/jxpath/ri/compiler/Path.java AL src/main/java/org/apache/commons/jxpath/ri/compiler/ProcessingInstructionTest.java AL src/main/java/org/apache/commons/jxpath/ri/compiler/Step.java AL src/main/java/org/apache/commons/jxpath/ri/compiler/TreeCompiler.java AL src/main/java/org/apache/commons/jxpath/ri/compiler/VariableReference.java AL src/main/java/org/apache/commons/jxpath/ri/Compiler.java AL src/main/java/org/apache/commons/jxpath/ri/EvalContext.java AL src/main/java/org/apache/commons/jxpath/ri/InfoSetUtil.java AL src/main/java/org/apache/commons/jxpath/ri/JXPathCompiledExpression.java AL src/main/java/org/apache/commons/jxpath/ri/JXPathContextFactoryReferenceImpl.java AL src/main/java/org/apache/commons/jxpath/ri/JXPathContextReferenceImpl.java AL src/main/java/org/apache/commons/jxpath/ri/model/beans/BeanAttributeIterator.java AL src/main/java/org/apache/commons/jxpath/ri/model/beans/BeanPointer.java AL src/main/java/org/apache/commons/jxpath/ri/model/beans/BeanPointerFactory.java AL src/main/java/org/apache/commons/jxpath/ri/model/beans/BeanPropertyPointer.java AL src/main/java/org/apache/commons/jxpath/ri/model/beans/CollectionAttributeNodeIterator.java AL src/main/java/org/apache/commons/jxpath/ri/model/beans/CollectionChildNodeIterator.java AL src/main/java/org/apache/commons/jxpath/ri/model/beans/CollectionNodeIterator.java AL src/main/java/org/apache/commons/jxpath/ri/model/beans/CollectionPointer.java AL src/main/java/org/apache/commons/jxpath/ri/model/beans/CollectionPointerFactory.java AL src/main/java/org/apache/commons/jxpath/ri/model/beans/LangAttributePointer.java AL src/main/java/org/apache/commons/jxpath/ri/model/beans/NullElementPointer.java AL src/main/java/org/apache/commons/jxpath/ri/model/beans/NullPointer.java AL src/main/java/org/apache/commons/jxpath/ri/model/beans/NullPropertyPointer.java AL src/main/java/org/apache/commons/jxpath/ri/model/beans/package.html AL src/main/java/org/apache/commons/jxpath/ri/model/beans/PropertyIterator.java AL src/main/java/org/apache/commons/jxpath/ri/model/beans/PropertyOwnerPointer.java AL src/main/java/org/apache/commons/jxpath/ri/model/beans/PropertyPointer.java AL src/main/java/org/apache/commons/jxpath/ri/model/container/ContainerPointer.java AL src/main/java/org/apache/commons/jxpath/ri/model/container/ContainerPointerFactory.java AL src/main/java/org/apache/commons/jxpath/ri/model/container/package.html AL src/main/java/org/apache/commons/jxpath/ri/model/dom/DOMAttributeIterator.java AL src/main/java/org/apache/commons/jxpath/ri/model/dom/DOMAttributePointer.java AL src/main/java/org/apache/commons/jxpath/ri/model/dom/DOMNamespaceIterator.java AL src/main/java/org/apache/commons/jxpath/ri/model/dom/DOMNodeIterator.java AL src/main/java/org/apache/commons/jxpath/ri/model/dom/DOMNodePointer.java AL src/main/java/org/apache/commons/jxpath/ri/model/dom/DOMPointerFactory.java AL src/main/java/org/apache/commons/jxpath/ri/model/dom/NamespacePointer.java AL src/main/java/org/apache/commons/jxpath/ri/model/dom/package.html AL src/main/java/org/apache/commons/jxpath/ri/model/dynabeans/DynaBeanPointer.java AL src/main/java/org/apache/commons/jxpath/ri/model/dynabeans/DynaBeanPointerFactory.java AL src/main/java/org/apache/commons/jxpath/ri/model/dynabeans/DynaBeanPropertyPointer.java AL src/main/java/org/apache/commons/jxpath/ri/model/dynabeans/package.html AL src/main/java/org/apache/commons/jxpath/ri/model/dynabeans/StrictLazyDynaBeanPointerFactory.java AL src/main/java/org/apache/commons/jxpath/ri/model/dynamic/DynamicAttributeIterator.java AL src/main/java/org/apache/commons/jxpath/ri/model/dynamic/DynamicPointer.java AL src/main/java/org/apache/commons/jxpath/ri/model/dynamic/DynamicPointerFactory.java AL src/main/java/org/apache/commons/jxpath/ri/model/dynamic/DynamicPropertyIterator.java AL src/main/java/org/apache/commons/jxpath/ri/model/dynamic/DynamicPropertyPointer.java AL src/main/java/org/apache/commons/jxpath/ri/model/dynamic/package.html AL src/main/java/org/apache/commons/jxpath/ri/model/jdom/JDOMAttributeIterator.java AL src/main/java/org/apache/commons/jxpath/ri/model/jdom/JDOMAttributePointer.java AL src/main/java/org/apache/commons/jxpath/ri/model/jdom/JDOMNamespaceIterator.java AL src/main/java/org/apache/commons/jxpath/ri/model/jdom/JDOMNamespacePointer.java AL src/main/java/org/apache/commons/jxpath/ri/model/jdom/JDOMNodeIterator.java AL src/main/java/org/apache/commons/jxpath/ri/model/jdom/JDOMNodePointer.java AL src/main/java/org/apache/commons/jxpath/ri/model/jdom/JDOMPointerFactory.java AL src/main/java/org/apache/commons/jxpath/ri/model/jdom/package.html AL src/main/java/org/apache/commons/jxpath/ri/model/NodeIterator.java AL src/main/java/org/apache/commons/jxpath/ri/model/NodePointer.java AL src/main/java/org/apache/commons/jxpath/ri/model/NodePointerFactory.java AL src/main/java/org/apache/commons/jxpath/ri/model/package.html AL src/main/java/org/apache/commons/jxpath/ri/model/VariablePointer.java AL src/main/java/org/apache/commons/jxpath/ri/model/VariablePointerFactory.java AL src/main/java/org/apache/commons/jxpath/ri/NamespaceResolver.java AL src/main/java/org/apache/commons/jxpath/ri/package.html AL src/main/java/org/apache/commons/jxpath/ri/parser/jcc.bat AL src/main/java/org/apache/commons/jxpath/ri/parser/package.html src/main/java/org/apache/commons/jxpath/ri/parser/ParseException.java src/main/java/org/apache/commons/jxpath/ri/parser/SimpleCharStream.java src/main/java/org/apache/commons/jxpath/ri/parser/Token.java src/main/java/org/apache/commons/jxpath/ri/parser/TokenMgrError.java AL src/main/java/org/apache/commons/jxpath/ri/parser/XPath.html AL src/main/java/org/apache/commons/jxpath/ri/parser/XPath.jj src/main/java/org/apache/commons/jxpath/ri/parser/XPathParser.java src/main/java/org/apache/commons/jxpath/ri/parser/XPathParserConstants.java src/main/java/org/apache/commons/jxpath/ri/parser/XPathParserTokenManager.java AL src/main/java/org/apache/commons/jxpath/ri/Parser.java AL src/main/java/org/apache/commons/jxpath/ri/QName.java AL src/main/java/org/apache/commons/jxpath/servlet/Constants.java AL src/main/java/org/apache/commons/jxpath/servlet/HttpSessionAndServletContext.java AL src/main/java/org/apache/commons/jxpath/servlet/HttpSessionHandler.java AL src/main/java/org/apache/commons/jxpath/servlet/JXPathServletContexts.java AL src/main/java/org/apache/commons/jxpath/servlet/KeywordVariables.java AL src/main/java/org/apache/commons/jxpath/servlet/package.html AL src/main/java/org/apache/commons/jxpath/servlet/PageContextHandler.java AL src/main/java/org/apache/commons/jxpath/servlet/PageScopeContext.java AL src/main/java/org/apache/commons/jxpath/servlet/PageScopeContextHandler.java AL src/main/java/org/apache/commons/jxpath/servlet/ServletContextHandler.java AL src/main/java/org/apache/commons/jxpath/servlet/ServletRequestAndContext.java AL src/main/java/org/apache/commons/jxpath/servlet/ServletRequestHandler.java AL src/main/java/org/apache/commons/jxpath/util/BasicTypeConverter.java AL src/main/java/org/apache/commons/jxpath/util/ClassLoaderUtil.java AL src/main/java/org/apache/commons/jxpath/util/JXPath11CompatibleTypeConverter.java AL src/main/java/org/apache/commons/jxpath/util/KeyManagerUtils.java AL src/main/java/org/apache/commons/jxpath/util/MethodLookupUtils.java AL src/main/java/org/apache/commons/jxpath/util/package.html AL src/main/java/org/apache/commons/jxpath/util/ReverseComparator.java AL src/main/java/org/apache/commons/jxpath/util/TypeConverter.java AL src/main/java/org/apache/commons/jxpath/util/TypeUtils.java AL src/main/java/org/apache/commons/jxpath/util/ValueUtils.java AL src/main/java/org/apache/commons/jxpath/Variables.java AL src/main/java/org/apache/commons/jxpath/xml/DocumentContainer.java AL src/main/java/org/apache/commons/jxpath/xml/DOMParser.java AL src/main/java/org/apache/commons/jxpath/xml/JDOMParser.java AL src/main/java/org/apache/commons/jxpath/xml/package.html AL src/main/java/org/apache/commons/jxpath/xml/XMLParser.java AL src/main/java/org/apache/commons/jxpath/xml/XMLParser2.java AL src/main/java/org/apache/commons/jxpath/XMLDocumentContainer.java B src/site/resources/images/jakarta-logo.gif B src/site/resources/images/logo-for-anakia.jpg B src/site/resources/images/logo-wbg.jpg B src/site/resources/images/logo.jpg AL src/site/site.xml AL src/site/xdoc/building.xml AL src/site/xdoc/contributors.xml AL src/site/xdoc/download_jxpath.xml AL src/site/xdoc/index.xml AL src/site/xdoc/issue-tracking.xml AL src/site/xdoc/mail-lists.xml AL src/site/xdoc/release-notes-1.1.xml AL src/site/xdoc/release-notes-1.2.xml AL src/site/xdoc/release-notes-1.3.xml AL src/site/xdoc/users-guide.xml AL src/test/java/org/apache/commons/jxpath/BasicNodeSetTest.java AL src/test/java/org/apache/commons/jxpath/JXPathTestCase.java AL src/test/java/org/apache/commons/jxpath/NestedTestBean.java AL src/test/java/org/apache/commons/jxpath/ri/axes/RecursiveAxesTest.java AL src/test/java/org/apache/commons/jxpath/ri/axes/RecursiveBean.java AL src/test/java/org/apache/commons/jxpath/ri/axes/SimplePathInterpreterTest.java AL src/test/java/org/apache/commons/jxpath/ri/axes/TestBeanWithNode.java AL src/test/java/org/apache/commons/jxpath/ri/compiler/ContextDependencyTest.java AL src/test/java/org/apache/commons/jxpath/ri/compiler/CoreFunctionTest.java AL src/test/java/org/apache/commons/jxpath/ri/compiler/CoreOperationTest.java AL src/test/java/org/apache/commons/jxpath/ri/compiler/ExtensionFunctionTest.java AL src/test/java/org/apache/commons/jxpath/ri/compiler/JXPath149Test.java AL src/test/java/org/apache/commons/jxpath/ri/compiler/TestFunctions.java AL src/test/java/org/apache/commons/jxpath/ri/compiler/TestFunctions2.java AL src/test/java/org/apache/commons/jxpath/ri/compiler/VariableFactory.java AL src/test/java/org/apache/commons/jxpath/ri/compiler/VariableTest.java AL src/test/java/org/apache/commons/jxpath/ri/ExceptionHandlerTest.java AL src/test/java/org/apache/commons/jxpath/ri/JXPathCompiledExpressionTest.java !????? src/test/java/org/apache/commons/jxpath/ri/JXPathContextReferenceImplTestCase.java AL src/test/java/org/apache/commons/jxpath/ri/model/AliasedNamespaceIterationTest.java AL src/test/java/org/apache/commons/jxpath/ri/model/BeanModelTestCase.java AL src/test/java/org/apache/commons/jxpath/ri/model/beans/BadlyImplementedFactoryTest.java AL src/test/java/org/apache/commons/jxpath/ri/model/beans/BeanModelTest.java AL src/test/java/org/apache/commons/jxpath/ri/model/beans/TestBeanFactory.java AL src/test/java/org/apache/commons/jxpath/ri/model/beans/TestIndexedPropertyBean.java AL src/test/java/org/apache/commons/jxpath/ri/model/container/ContainerModelTest.java AL src/test/java/org/apache/commons/jxpath/ri/model/dom/DOMModelTest.java AL src/test/java/org/apache/commons/jxpath/ri/model/dom/TestDOMFactory.java AL src/test/java/org/apache/commons/jxpath/ri/model/dynabeans/DynaBeanModelTest.java AL src/test/java/org/apache/commons/jxpath/ri/model/dynabeans/LazyDynaBeanTest.java AL src/test/java/org/apache/commons/jxpath/ri/model/dynabeans/TestDynaBeanFactory.java AL src/test/java/org/apache/commons/jxpath/ri/model/dynamic/DynamicPropertiesModelTest.java AL src/test/java/org/apache/commons/jxpath/ri/model/dynamic/TestDynamicPropertyFactory.java AL src/test/java/org/apache/commons/jxpath/ri/model/EmbeddedColonMapKeysTest.java AL src/test/java/org/apache/commons/jxpath/ri/model/EmptyCollectionTest.java AL src/test/java/org/apache/commons/jxpath/ri/model/ExceptionPropertyTestBean.java AL src/test/java/org/apache/commons/jxpath/ri/model/ExternalXMLNamespaceTest.java AL src/test/java/org/apache/commons/jxpath/ri/model/jdom/JDOMModelTest.java AL src/test/java/org/apache/commons/jxpath/ri/model/jdom/TestJDOMFactory.java AL src/test/java/org/apache/commons/jxpath/ri/model/JXPath151Test.java !????? src/test/java/org/apache/commons/jxpath/ri/model/JXPath154Test.java AL src/test/java/org/apache/commons/jxpath/ri/model/MixedModelTest.java AL src/test/java/org/apache/commons/jxpath/ri/model/TestMixedModelFactory.java AL src/test/java/org/apache/commons/jxpath/ri/model/XMLModelTestCase.java AL src/test/java/org/apache/commons/jxpath/ri/model/XMLPreserveSpaceTest.java AL src/test/java/org/apache/commons/jxpath/ri/model/XMLSpaceTest.java AL src/test/java/org/apache/commons/jxpath/ri/model/XMLUpperCaseElementsTest.java AL src/test/java/org/apache/commons/jxpath/ri/StressTest.java AL src/test/java/org/apache/commons/jxpath/servlet/JXPathServletContextTest.java AL src/test/java/org/apache/commons/jxpath/TestBean.java AL src/test/java/org/apache/commons/jxpath/TestMixedModelBean.java AL src/test/java/org/apache/commons/jxpath/TestNull.java AL src/test/java/org/apache/commons/jxpath/util/BasicTypeConverterTest.java AL src/test/java/org/apache/commons/jxpath/util/ClassLoaderUtilTest.java AL src/test/java/org/apache/commons/jxpath/util/ClassLoadingExampleClass.java AL src/test/resources/org/apache/commons/jxpath/ExternalNS.xml AL src/test/resources/org/apache/commons/jxpath/InnerEmptyNamespace.xml AL src/test/resources/org/apache/commons/jxpath/IterateAliasedNS.xml AL src/test/resources/org/apache/commons/jxpath/Vendor.xml AL src/test/resources/org/apache/commons/jxpath/VendorUpper.xml AL src/test/resources/org/apache/commons/jxpath/XmlPreserveSpace.xml AL src/test/resources/org/apache/commons/jxpath/XmlSpace.xml AL STATUS.html ***************************************************** Printing headers for files without AL header... ======================================================================= ==src/test/java/org/apache/commons/jxpath/ri/JXPathContextReferenceImplTestCase.java ======================================================================= package org.apache.commons.jxpath.ri; import junit.framework.TestCase; import org.apache.commons.jxpath.ri.model.container.ContainerPointerFactory; public class JXPathContextReferenceImplTestCase extends TestCase { /** * https://issues.apache.org/jira/browse/JXPATH-166 */ public void testInit() { JXPathContextReferenceImpl.addNodePointerFactory(new ContainerPointerFactory()); } } ======================================================================= ==src/test/java/org/apache/commons/jxpath/ri/model/JXPath154Test.java ======================================================================= package org.apache.commons.jxpath.ri.model; import org.apache.commons.jxpath.JXPathContext; import org.apache.commons.jxpath.JXPathTestCase; import org.apache.commons.jxpath.xml.DocumentContainer; public class JXPath154Test extends JXPathTestCase { protected JXPathContext context; protected DocumentContainer createDocumentContainer(String model) { return new DocumentContainer(JXPathTestCase.class.getResource("InnerEmptyNamespace.xml"), model); } protected void doTest(String path, String model, String expectedValue) { JXPathContext context = JXPathContext.newContext(createDocumentContainer(model)); assertEquals(expectedValue, context.getPointer(path).asPath()); } public void testInnerEmptyNamespaceDOM() { doTest("b:foo/test", DocumentContainer.MODEL_DOM, "/b:foo[1]/test[1]"); } public void testInnerEmptyNamespaceJDOM() { doTest("b:foo/test", DocumentContainer.MODEL_JDOM, "/b:foo[1]/test[1]"); } } |