XSD: simplify attribute conversion.
Add negative XSD tests.
Update TODO
XSD: distinguish between top-level and other locations in collect phase