Bugzilla – Attachment 48443 Details for
Bug 114685
upstream fix for namespace bug XERCESC-1308
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
IDP Log In
|
Forgot Password
[patch]
the mentioned patch
xercesendelementfix.patch (text/plain), 2.39 KB, created by
Forgotten User OS1JNCFbCX
on 2005-09-01 12:01:37 UTC
(
hide
)
Description:
the mentioned patch
Filename:
MIME Type:
Creator:
Forgotten User OS1JNCFbCX
Created:
2005-09-01 12:01:37 UTC
Size:
2.39 KB
patch
obsolete
>Index: src/xercesc/internal/IGXMLScanner.cpp >=================================================================== >--- src/xercesc/internal/IGXMLScanner.cpp (revision 176251) >+++ src/xercesc/internal/IGXMLScanner.cpp (revision 176252) >@@ -1157,6 +1157,11 @@ > // If we have a doc handler, tell it about the end tag > if (fDocHandler) > { >+ int prefixColonPos = XMLString::indexOf(elemName, chColon); >+ if (prefixColonPos == -1) >+ fPrefixBuf.reset(); >+ else >+ fPrefixBuf.set(elemName, prefixColonPos); > fDocHandler->endElement > ( > *topElem->fThisElement > >Property changes on: src/xercesc/internal/IGXMLScanner.cpp >___________________________________________________________________ >Name: cvs2svn:cvs-rev > - 1.81 > + 1.82 > >Index: src/xercesc/internal/SGXMLScanner.cpp >=================================================================== >--- src/xercesc/internal/SGXMLScanner.cpp (revision 176251) >+++ src/xercesc/internal/SGXMLScanner.cpp (revision 176252) >@@ -1013,6 +1013,11 @@ > // If we have a doc handler, tell it about the end tag > if (fDocHandler) > { >+ int prefixColonPos = XMLString::indexOf(elemName, chColon); >+ if (prefixColonPos == -1) >+ fPrefixBuf.reset(); >+ else >+ fPrefixBuf.set(elemName, prefixColonPos); > fDocHandler->endElement > ( > *topElem->fThisElement > >Property changes on: src/xercesc/internal/SGXMLScanner.cpp >___________________________________________________________________ >Name: cvs2svn:cvs-rev > - 1.102 > + 1.103 > >Index: src/xercesc/internal/XSAXMLScanner.cpp >=================================================================== >--- src/xercesc/internal/XSAXMLScanner.cpp (revision 176251) >+++ src/xercesc/internal/XSAXMLScanner.cpp (revision 176252) >@@ -158,6 +158,11 @@ > // If we have a doc handler, tell it about the end tag > if (fDocHandler) > { >+ int prefixColonPos = XMLString::indexOf(elemName, chColon); >+ if (prefixColonPos == -1) >+ fPrefixBuf.reset(); >+ else >+ fPrefixBuf.set(elemName, prefixColonPos); > fDocHandler->endElement > ( > *topElem->fThisElement, uriId, isRoot, fPrefixBuf.getRawBuffer() > >Property changes on: src/xercesc/internal/XSAXMLScanner.cpp >___________________________________________________________________ >Name: cvs2svn:cvs-rev > - 1.2 > + 1.3 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
Actions:
View
|
Diff
Attachments on
bug 114685
: 48443