Tests for handling of whitespace inside tags.
authorMatthias Clasen <mclasen@redhat.com>
Wed, 28 Jul 2004 15:00:59 +0000 (15:00 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Wed, 28 Jul 2004 15:00:59 +0000 (15:00 +0000)
commit889096b1ead9cf917d021bd7b82961a9799b82b6
treeae9d41f3b2f47cfe0ae76d1f2a86be4b26a41949
parent45e1212b681e9183f0ff2a8ac482d31d86d6f897
Tests for handling of whitespace inside tags.

2004-07-28  Matthias Clasen  <mclasen@redhat.com>

* tests/markups/valid-{9,10,11}.gmarkup:
* tests/markups/fail-{37,38,39}.gmarkup: Tests for handling
of whitespace inside tags.

* glib/gmarkup.c (enum GMarkupParseState): Add
STATE_AFTER_ATTRIBUTE_NAME and STATE_AFTER_CLOSE_TAG_NAME.
(g_markup_parse_context_parse): Accept whitespace between
attribute names, '=' and attribute values and between
close tag name and '>'. (#148646, Hiroyuki Ikezoe)
12 files changed:
ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-12
ChangeLog.pre-2-6
ChangeLog.pre-2-8
glib/gmarkup.c
tests/markups/fail-37.gmarkup [new file with mode: 0644]
tests/markups/fail-38.gmarkup [new file with mode: 0644]
tests/markups/fail-39.gmarkup [new file with mode: 0644]
tests/markups/valid-10.gmarkup [new file with mode: 0644]
tests/markups/valid-11.gmarkup [new file with mode: 0644]
tests/markups/valid-9.gmarkup [new file with mode: 0644]