Only set-returning xpaths are valid in element and field binding paths
- Sometimes paths like
/codeBook/stdyDscr/stdyInfo/sumDscr/collDate/@event="start"
have been used in dialect definitions, see here - These paths return boolean values and not a set of nodes because they are itsself predicates
- Please have in mind that
/codeBook/stdyDscr/stdyInfo/sumDscr/collDate[@event="start"]
contains a predicate and is valid because it returns all collDate elements where event attribute value equals to start.
Proposal
- Provide validation by @NodeListReturningXPath similar to CompilableXPath
Edited by Alexander Mühlbauer