text { "a&b" }
^----- <expr single> expected, got '"'
This error message is not specific to what the error actually is. This can make it harder to spot the error and fix it (especially if this is from a complex expression like building a set of HTTP parameters). A better error message would be something like:
text { "a&b" }
^----- '&' is invalid in this context, expected a complete XML entity.
Given:
This error message is not specific to what the error actually is. This can make it harder to spot the error and fix it (especially if this is from a complex expression like building a set of HTTP parameters). A better error message would be something like: