[Bug 461557] entitiy declaration in XML files causes array error