On Wed, Jan 02, 2019 at 10:00:14PM +0000, Gavin Smith wrote: > > > Element names can contain any character (including letters and numbers) > > Element names must not contain spaces > > Element names must not begin with a number or punctuation character (for > > example a comma or semi-colon etc) > > Element names must not start with the letters xml (whether lowercase, > > uppercase, or mixed case)
> In the Texinfo manual in the same place, it says: > > "If the node name does not begin with a letter, the literal string > 'g_t' is prefixed to the result." > > So maybe this a bug. (The node name in question here is a strange case > because it begins with a space character.) So maybe there is no > validation error at all, and texi2any just needs to be fixed not to > output id names that begin with underscores. Patrice, are you there? > Do you remember why there were validation errors? I remember that there were validation errors. Maybe the problem is not with node names (and for section when section names are used as anchors) as they have g_t prepended but for other anchors, in particular for index entries, I do not think that they have g_t prepended, so they could start with - or with a number. -- Pat
