We have a couple classes that handle sniffing document type and then returning info on HTML tags being empty/self-closing/end tags being forbidden. They're in HTMLParseState and HTMLDocumentTypes. We use this in our CA and parsing and would like to use it in Validation as well. Ideally this sort of information seems like it should be in the XMl metadata for HTML, rather than in a supporting utility class or two.
- Modify HTML metadata schema (top-level by document type)
- New model elements
- Query the system
- Replace calls from HTMLParseState