[eglib] GMarkup: allow all ASCII NameStartChar and NameChar except ':'
commit5a61970597eb5a44b6b995d6643190b4411b69eb
authorAleksey Kliger <alklig@microsoft.com>
Wed, 11 Apr 2018 16:29:41 +0000 (11 12:29 -0400)
committerMarek Safar <marek.safar@gmail.com>
Thu, 12 Apr 2018 07:00:48 +0000 (12 09:00 +0200)
treef87ad6c614ca259cc990c622221a2e3a6fb4811a
parent1fff0438688866b5627249c322e82f2c73507a3f
[eglib] GMarkup: allow all ASCII NameStartChar and NameChar except ':'

Follow https://www.w3.org/TR/xml/#sec-common-syn except don't allow ':' and
non-ASCII.

Element and attribute names must start with a letter or '_'.
Element and attribute names may contain letters, numbers, '.', '-', '_'.

Fixes https://bugzilla.xamarin.com/show_bug.cgi?id=19436
mono/eglib/gmarkup.c