Better type error messages when accessing XML data (applies when wrapped with freemarker.ext.dom):

- Trying to use node.noSuchChildNodes on a place where scalar value is expected will explain that the problem is that you had no matches in the constructing XML query.
- Trying to use node.multipleSuchChildNodes on a place where scalar value is expected will explain that the problem is that you had multiple matches in the constructing XML query.
- Trying to use node.exactlyOneChildNode as number, date/time/datetime or boolean will explain that values coming from XML are always strings, and must be converted explicitly.