parent
83158077aa
commit
309d4a0b4d
@ -0,0 +1,28 @@
|
|||||||
|
diff --git a/Source/WebCore/dom/Document.cpp b/Source/WebCore/dom/Document.cpp
|
||||||
|
index 1bca2d0..19355f1 100644
|
||||||
|
--- a/Source/WebCore/dom/Document.cpp
|
||||||
|
+++ b/Source/WebCore/dom/Document.cpp
|
||||||
|
@@ -4407,12 +4407,12 @@ static bool isValidNameNonASCII(const UChar* characters, unsigned length)
|
||||||
|
unsigned i = 0;
|
||||||
|
|
||||||
|
UChar32 c;
|
||||||
|
- U16_NEXT(characters, i, length, c)
|
||||||
|
+ U16_NEXT(characters, i, length, c);
|
||||||
|
if (!isValidNameStart(c))
|
||||||
|
return false;
|
||||||
|
|
||||||
|
while (i < length) {
|
||||||
|
- U16_NEXT(characters, i, length, c)
|
||||||
|
+ U16_NEXT(characters, i, length, c);
|
||||||
|
if (!isValidNamePart(c))
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
@@ -4474,7 +4474,7 @@ bool Document::parseQualifiedName(const String& qualifiedName, String& prefix, S
|
||||||
|
|
||||||
|
for (unsigned i = 0; i < length;) {
|
||||||
|
UChar32 c;
|
||||||
|
- U16_NEXT(qualifiedName, i, length, c)
|
||||||
|
+ U16_NEXT(qualifiedName, i, length, c);
|
||||||
|
if (c == ':') {
|
||||||
|
if (sawColon) {
|
||||||
|
ec = NAMESPACE_ERR;
|
Loading…
Reference in new issue