Fix polydots

 - parsing of polydots values was fixed
 - certain polydots error cases are now reported
 - the custom application rule for values was fixed

Closes PR 13365

Please merge to 5.3.2
Change exception predicate for a test

For some reason, the other predicate breaks on some
test setups, even though it usually succeeds.

Please merge to 5.3.2