HTMLDocumentTypeEntry entry = doctypeRegistry.getEntry(pid);
if (entry == null)
return staticHTML;
// https://bugs.eclipse.org/bugs/show_bug.cgi?id=151000 - use internal content model
if (entry.useInternalModel()) {
if (pid != null && pid.equals(HTMLDocumentTypeRegistry.CHTML_PUBLIC_ID)) {
return staticCHTML;
}
return staticHTML;
}