You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This check returns this error: 20240119-13:01:47: [ERROR]: Selector 'thesaurusPresent' could not select single value with given Xpath: A location step was expected following the '/' or '//' token. [edu.ucsb.nceas.mdqengine.processor.XMLDialect] silently (the check appears to fail without error). Still working on figuring out the cause. The selector is:
working theory is this line in metadig-engine, XMLDialect:348 NodeList nodes = (NodeList)xpath.evaluate(selectorPath, contextNode, XPathConstants.NODESET); is expecting a node set but the selector is returning a boolean. Remains to be seen why other checks where boolean is returned (seem? need to check) to work fine.
Running line by line in the debugger, I can get that line of code to work fine in the debugger console without the XPathConstants.NODESET param. The debug console doesn't like it when I run with the parameter (XPathConstants cannot be resolved to a variable.) even though the correct import statement exists
The text was updated successfully, but these errors were encountered:
I don't think so, I have looked at those parentheses making sure there aren't syntax errors for a long time. You can see the opening parentheses on the first line after the opening <xpath> tag. let me know if you see different though I would be happy at this point to find out its a simple syntax things
Description
This check returns this error:
20240119-13:01:47: [ERROR]: Selector 'thesaurusPresent' could not select single value with given Xpath: A location step was expected following the '/' or '//' token. [edu.ucsb.nceas.mdqengine.processor.XMLDialect]
silently (the check appears to fail without error). Still working on figuring out the cause. The selector is:working theory is this line in metadig-engine, XMLDialect:348
NodeList nodes = (NodeList)xpath.evaluate(selectorPath, contextNode, XPathConstants.NODESET);
is expecting a node set but the selector is returning a boolean. Remains to be seen why other checks where boolean is returned (seem? need to check) to work fine.Running line by line in the debugger, I can get that line of code to work fine in the debugger console without the XPathConstants.NODESET param. The debug console doesn't like it when I run with the parameter (
XPathConstants cannot be resolved to a variable.
) even though the correct import statement existsThe text was updated successfully, but these errors were encountered: