[XForms] NPOTDB schema validation: qualified type names cause parsing to fail. Bug 494337, p=dion r=doronr+aaronr
git-svn-id: svn://10.0.0.236/trunk@257536 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
0dc297022e
commit
5b4d79b98b
@ -1087,7 +1087,8 @@ ParseQualifiedName(nsIDOMElement* aContext,
|
|||||||
|
|
||||||
if (pos < end) {
|
if (pos < end) {
|
||||||
aPrefix.Assign(Substring(begin, pos-begin));
|
aPrefix.Assign(Substring(begin, pos-begin));
|
||||||
aLocalName.Assign(Substring(++pos, end-pos));
|
++pos;
|
||||||
|
aLocalName.Assign(Substring(pos, end-pos));
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
aLocalName.Assign(aQualifiedName);
|
aLocalName.Assign(aQualifiedName);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user