mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-27 06:43:32 +00:00
fixed bug handling multiple namespace declarations in one tag
This commit is contained in:
parent
763f6a8dde
commit
8459a64073
@ -492,6 +492,7 @@ nsXMLContentSink::PushNameSpacesFrom(const nsIParserNode& aNode)
|
||||
PRUnichar next = k.CharAt(sizeof(kNameSpaceDef)-1);
|
||||
// If the next character is a :, there is a namespace prefix
|
||||
if (':' == next) {
|
||||
prefix.Truncate();
|
||||
k.Right(prefix, k.Length()-sizeof(kNameSpaceDef));
|
||||
}
|
||||
else {
|
||||
|
@ -492,6 +492,7 @@ nsXMLContentSink::PushNameSpacesFrom(const nsIParserNode& aNode)
|
||||
PRUnichar next = k.CharAt(sizeof(kNameSpaceDef)-1);
|
||||
// If the next character is a :, there is a namespace prefix
|
||||
if (':' == next) {
|
||||
prefix.Truncate();
|
||||
k.Right(prefix, k.Length()-sizeof(kNameSpaceDef));
|
||||
}
|
||||
else {
|
||||
|
Loading…
Reference in New Issue
Block a user