[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/KDE/4.0/kdelibs/khtml/xml
From: Harri Porten <porten () kde ! org>
Date: 2008-01-19 22:35:34
Message-ID: 1200782134.567099.6888.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 763615 by porten:
The following rules from the XML namespace grammar disallow
non-empty prefixes:
[6] QName ::= (Prefix ':')? LocalPart
[7] Prefix ::= NCName
[4] NCName ::= (Letter | '_') (NCNameChar)*
Fixes an Acid3 test.
M +1 -0 dom_elementimpl.h
--- branches/KDE/4.0/kdelibs/khtml/xml/dom_elementimpl.h #763614:763615
@@ -382,6 +382,7 @@
if ((!qualifiedName.isNull() && \
Element::khtmlMalformedQualifiedName(qualifiedName)) || (colonpos >= 0 && \
namespaceURI.isNull()) || + colonpos == 0 || // prefix has to consist of at \
least a letter (qualifiedName.isNull() && !namespaceURI.isNull()) ||
(colonpos == 3 && qualifiedName[0] == QLatin1Char('x') && qualifiedName[1] \
== QLatin1Char('m') && qualifiedName[2] == QLatin1Char('l') && namespaceURI != \
"http://www.w3.org/XML/1998/namespace")) {
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic