Subject: Re: bug#23297: [PATCH] Add HTML5 tags to HTML mode

From: Stefan Monnier <[email-masked]>
Date: Sun, 17 Apr 2016 20:10:55 -0400

>> It'd be great to extract that from the relaxng compact schema, tho
>> (i.e. use nxml).
> I don't understand what that means. Could you elaborate?

The nxml mode knows how to read a relaxng schema which describes the
valid grammar of a given kind of XML document.  E.g. it can use it to
give you things like context-aware completion of xml elements
and attributes.

Emacs comes with the relaxng schema for HTML4 and there's a relaxng
schema for HTML5 in GNU ELPA.

So nxml can provide in an automated way most of what's in
html-tag-alist.

        Stefan