protected boolean isRootTag(RelaxedHtmlFromRngElementDescriptor descriptor) {
    return descriptor.isHtml() ||
           "svg".equals(descriptor.getName()) ||
           "math".equals(descriptor.getName());
  }
protected boolean isRootTag(RelaxedHtmlFromRngElementDescriptor descriptor)