fixed bug handling multiple namespace declarations in one tag

git-svn-id: svn://10.0.0.236/trunk@19280 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
peterl%netscape.com 1999-02-02 03:24:56 +00:00
parent dda3c38f63
commit f7bd2c0d45
2 changed files with 2 additions and 0 deletions

View File

@ -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 {

View File

@ -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 {