diff options
author | joe <joe@61a7d7f5-40b7-0310-9c16-bb0ea8cb1845> | 2004-10-19 12:39:34 +0000 |
---|---|---|
committer | joe <joe@61a7d7f5-40b7-0310-9c16-bb0ea8cb1845> | 2004-10-19 12:39:34 +0000 |
commit | a924ce5806846d20c0766faa86d846c21b83368d (patch) | |
tree | 3c1a006de87b53d7483e0876502c2cb815b8a48b /test/xml.c | |
parent | 94b47740c6a03ca98115227c929bc2155ad99119 (diff) | |
download | neon-a924ce5806846d20c0766faa86d846c21b83368d.tar.gz |
* src/ne_xml.c (invalid_ncname): Factor out macro for NCName
checking.
(declare_nspaces): Use invalid_ncname macro. Don't compare 'xmlns'
case-insensitively.
(expand_qname): Use invalid_ncname macro.
* test/xml.c (fail_match): Skip correct checks for the time being.
git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@325 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
Diffstat (limited to 'test/xml.c')
-rw-r--r-- | test/xml.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -356,8 +356,8 @@ static int fail_parse(void) PFX "<foo xmlns:-bar='fish'/>", PFX "<foo xmlns:0bar='fish'/>", PFX "<fee xmlns:8baz='bar'/>", + /* element names which are not valid QNames. */ - PFX "<foo:bar:baz xmlns:foo='bar'/>", PFX "<foo: xmlns:foo='bar'/>", PFX "<:fee/>", PFX "<0fish/>", @@ -366,7 +366,8 @@ static int fail_parse(void) PFX "<foo:-fish xmlns:foo='bar'/>", PFX "<foo:.fish xmlns:foo='bar'/>", -#if 0 /* currently disabled for SVN */ +#if 0 /* currently disabled to allow SVN to work */ + PFX "<foo:bar:baz xmlns:foo='bar'/>", PFX "<fee xmlns:baz:bar='bar'/>", PFX "<fee xmlns::bar='bar'/>", PFX "<foo::fish xmlns:foo='bar'/>", |