eXist-db/exist — pull request #331 by wolfgangmm (2014-09-16 15:44:05+00:00)
Title: Maps: wrong sequence length returned by map type

Fix issue introduced by pull request #319. The map type returned the number of keys in the map as sequence length. This is wrong and causes unexpected errors in expressions like $map[2]. A map is a single item and should return a length of 1.