code: @Override
  	public void setValueAsString(String theValue) throws DataFormatException {
  		if (theValue == null || theValue.isEmpty()) {
  			super.setValueAsString(null);
  		} else {
  			String value = theValue.trim();
  			value = preprocessXhtmlNamespaceDeclaration(value);
  
  			super.setValueAsString(value);
  		}
  	}
docs: Accepts a textual DIV and parses it into XHTML events which are stored internally.
  <p>
  <b>Formatting note:</b> The text will be trimmed {@link String#trim()}. If the text does not start with an HTML tag (generally this would be a div tag), a div tag will be automatically placed
  surrounding the text.
  </p>
  <p>
  Also note that if the parsed text contains any entities (&amp;foo;) which are not a part of the entities defined in core XML (e.g. &amp;sect; which is valid in XHTML 1.0 but not in XML 1.0) they
  will be parsed and converted to their equivalent unicode character.
  </p>