[xquery-talk] Tales of the unexpected version III - Atomization

Michael Kay mike at saxonica.com
Wed Jan 8 03:58:50 PST 2014


> I expect it to be atomized for the previously given reasons.

It's a common expectation, but it's wrong. There is nothing in the spec that encourages you to have such an expectation; you're just saying that if you had designed the language, you would have done it differently.

When the spec talks about an atomic value being expected, it's talking about expectations that are informed by reading the spec, not expectations based on how you would have liked the language to behave.

Michael Kay
Saxonica


More information about the talk mailing list