When searching for attributes in the XPATH expression, an 'index out of bounds' exception was thrown when only an attribute was included in the path string.
This fix changes the pathexpr.indexOf comparison to 0 rather than 1, since the index starts at 0.
When searching for attributes in the XPATH expression, an 'index out of bounds'
exception was thrown when only an attribute was included in the path string.
This fix changes the pathexpr.indexOf comparison to 0 rather than 1, since
the index starts at 0.
This is a partial fix to
http://bugzilla.ecoinformatics.org/show_bug.cgi?id=2052