Add a test for CDATA in gschema.xml files

This commit is contained in:
Matthias Clasen 2011-11-07 00:14:28 -05:00
parent 7ec69ecd32
commit fc0b8d4f28
2 changed files with 9 additions and 1 deletions

View File

@ -119,7 +119,8 @@ static const SchemaTest tests[] = {
{ "flags-with-enum-attr", NULL, "*<enum id='flags'> not (yet) defined*" },
{ "flags-with-enum-tag", NULL, "*<flags id='flags'> not (yet) defined*" },
{ "inherit-gettext-domain", NULL, NULL },
{ "range-type-test", NULL, NULL }
{ "range-type-test", NULL, NULL },
{ "cdata", NULL, NULL }
};

View File

@ -0,0 +1,7 @@
<schemalist>
<schema id="no-default" path="/tests/">
<key name="bla" type="as">
<default><![CDATA[['<bla>','<bla>']]]></default>
</key>
</schema>
</schemalist>