Maybe it is a bug, but more likely this is how it is and will always be conceptually since mapping to the element AND attributes inside may be a "contradiction in terms"... I'm not sure, I don't have it currently in my head... - kasper