mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 08:55:19 +00:00
update XMLStorage: correctly handle dots and colons in attribute names
svn path=/trunk/; revision=35590
This commit is contained in:
parent
86ab49ef00
commit
5ed0e9015c
1 changed files with 2 additions and 1 deletions
|
@ -666,9 +666,10 @@ const char* get_xmlsym_end_utf8(const char* p)
|
|||
for(; *p; ++p) {
|
||||
char c = *p;
|
||||
|
||||
// NameChar ::= Letter | Digit | '.' | '-' | '_' | ':' | CombiningChar | Extender
|
||||
if (c == '\xC3') // UTF-8 escape character
|
||||
++p; //TODO only continue on umlaut characters
|
||||
else if (!isalnum(c) && c!='_' && c!='-')
|
||||
else if (!isalnum(c) && c!='.' && c!='-' && c!='_' && c!=':')
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue