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
The first is my reference and returns 1 element in the list.
Calls 2-4 are equal in XML semantics. The only difference is that Call 2 contains a whitespace between the tags.
However, only the second call returns an empty list. Call 3 & 4 throw a SpinXPath expression, even though the xPath call itself does not throw the error - elementList() throws the error.
org.camunda.spin.xml.SpinXPathException: SPIN/DOM-XML-01035 Unable to find XPath expression '//List/node()'
at org.camunda.spin.impl.xml.dom.DomXmlLogger.unableToFindXPathExpression(DomXmlLogger.java:176)
at org.camunda.spin.impl.xml.dom.util.DomXmlEnsure.ensureXPathNotEmpty(DomXmlEnsure.java:83)
at org.camunda.spin.impl.xml.dom.query.DomXPathQuery.elementList(DomXPathQuery.java:79)
at [my code]
The text was updated successfully, but these errors were encountered:
Used packages:
camunda-spin-core:1.3.1
camunda-spin-dataformat-all:1.3.1
When I call
elementList()
on an empty XML tag I expect the get an empty list.In the following you find 4 calls:
The first is my reference and returns 1 element in the list.
Calls 2-4 are equal in XML semantics. The only difference is that Call 2 contains a whitespace between the tags.
However, only the second call returns an empty list. Call 3 & 4 throw a SpinXPath expression, even though the
xPath
call itself does not throw the error -elementList()
throws the error.The text was updated successfully, but these errors were encountered: