upgraded the XML parsing and cape and skin parsing