-
Bug
-
Resolution: Fixed
-
P2
-
6
-
b96
-
generic
-
generic
-
Verified
JCK : JCK6.0 b28
J2SE : FAIL - mustang b94, PASS mustang b93 tiger u7
Platform[s] : FAIL - seems to be all
switch/Mode : FAIL - default
Test api/javax_xml/xpath/XPath/index.html#SetGet[SetGet001] fails since b94. Test expects that xpath.getNamespaceContext should return null for empty document according to specification of this method ("null is returned in no namespace context is in effect.").
Test body is:
public Status SetGet001() {
try {
XPathFactory xpf = XPathFactory.newInstance(XPathConstants.DOM_OBJECT_MODEL);
XPath xpath = xpf.newXPath();
if (xpath.getNamespaceContext() != null) {
return Status.failed("Expected null. Returned non-null.");
}
return Status.passed("OK");
} catch (XPathException e) {
return Status.failed(e.toString());
}
}
J2SE : FAIL - mustang b94, PASS mustang b93 tiger u7
Platform[s] : FAIL - seems to be all
switch/Mode : FAIL - default
Test api/javax_xml/xpath/XPath/index.html#SetGet[SetGet001] fails since b94. Test expects that xpath.getNamespaceContext should return null for empty document according to specification of this method ("null is returned in no namespace context is in effect.").
Test body is:
public Status SetGet001() {
try {
XPathFactory xpf = XPathFactory.newInstance(XPathConstants.DOM_OBJECT_MODEL);
XPath xpath = xpf.newXPath();
if (xpath.getNamespaceContext() != null) {
return Status.failed("Expected null. Returned non-null.");
}
return Status.passed("OK");
} catch (XPathException e) {
return Status.failed(e.toString());
}
}