code: public boolean parse(final boolean fragment) throws FrameworkException {
  
  		init();
  
  		if (StringUtils.isNotBlank(code)) {
  
  			if (!isDeployment) {
  				logger.info("##### Start parsing code for page {} #####", new Object[]{name});
  			} else {
  
  				// a trailing slash to all void/self-closing tags so the XML parser can parse it correctly
  				code = code.replaceAll("<(area|base|br|col|command|embed|hr|img|input|keygen|link|meta|param|source|track|wbr)([^>]*)>", "<$1$2/>");
  			}
  
  			if (fragment) {
  
  				if (isDeployment) {
  
  					final List<Node> nodeList = Parser.parseXmlFragment(code, "");
  					parsedDocument            = Document.createShell("");
  					final Element body        = parsedDocument.body();
  					final Node[] nodes        = nodeList.toArray(new Node[nodeList.size()]);
  
  					for (int i = nodes.length - 1; i > 0; i--) {
  					    nodes[i].remove();
  					}
  
  					for (Node node : nodes) {
  					    body.appendChild(node);
  					}
  
  				} else {
  
  					parsedDocument = Jsoup.parseBodyFragment(code);
  				}
  
  			} else {
  
  				if (isDeployment) {
  
  					parsedDocument = Jsoup.parse(code, "", Parser.xmlParser());
  
  				} else {
  
  					parsedDocument = Jsoup.parse(code);
  				}
  
  			}
  
  		} else {
  
  			if (!isDeployment) {
  				logger.info("##### Start fetching {} for page {} #####", new Object[]{address, name});
  			}
  
  			code = HttpHelper.get(address);
  			parsedDocument = Jsoup.parse(code);
  
  		}
  
  		return true;
  
  	}
docs: Parse the code previously read by {@link Importer#readPage()} and treat it as page fragment.
  
  @param fragment
  @return
  @throws FrameworkException