- Changed read_item_attrs() to return the length of the xname string.