added size check for XMLAny List