code: public Document literal(String text) {
          try {
              return parseString(text);        
          } catch (SAXException e) {
              throw new RuntimeException(text, e);
          }
      }
docs: asserts a valid document