code: private void processSchemaComment() {
          // Removing DOCTYPE:
          burnCharacters(syntax.getDocumentTypeOpening().length());
          int tagsOpened = 1;
          while (templateReader.hasNextCharacter()) {
              final char character = templateReader.nextCharacter();
              // Schema comment can define new entities, see http://www.w3schools.com/xml/xml_dtd.asp
              if (character == syntax.getTagOpening()) {
                  tagsOpened++;
              } else if (character == syntax.getTagClosing()) {
                  if (--tagsOpened == 0) {
                      break;
                  }
              }
          }
      }
docs: Found a comment starting with DOCTYPE. Burning through the characters.