type="text" may have whitespace collapsed
type="html" must escaped markup
type="xhtml" would be namespaced and must be a div element
+
+IRI support:
+
+Dereferencing IRIs: map them to URI according to 3.1 of RFC3987
+As an atom:id, it should not be mapped. It is used for comparison