Now is possible set text inside non empty elements, and the toString method sows if there was any problem with the attributes.