projects
/
shibboleth
/
cpp-xmltooling.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
34a28da
)
No ASCII version of endsWith.
author
Scott Cantor
<cantor.2@osu.edu>
Tue, 13 Feb 2007 16:30:30 +0000
(16:30 +0000)
committer
Scott Cantor
<cantor.2@osu.edu>
Tue, 13 Feb 2007 16:30:30 +0000
(16:30 +0000)
xmltooling/util/ParserPool.cpp
patch
|
blob
|
history
diff --git
a/xmltooling/util/ParserPool.cpp
b/xmltooling/util/ParserPool.cpp
index
06bf8ab
..
a06e07f
100644
(file)
--- a/
xmltooling/util/ParserPool.cpp
+++ b/
xmltooling/util/ParserPool.cpp
@@
-247,10
+247,9
@@
DOMInputSource* ParserPool::resolveEntity(const XMLCh* const publicId, const XML
// Check for entity as a value in the map.
for (i=m_schemaLocMap.begin(); i!=m_schemaLocMap.end(); ++i) {
- if (XMLString::endsWith(i->second.c_str(), temp.get())) {
- auto_ptr_XMLCh temp2(i->second.c_str());
+ auto_ptr_XMLCh temp2(i->second.c_str());
+ if (XMLString::endsWith(temp2.get(), systemId))
return new Wrapper4InputSource(new LocalFileInputSource(baseURI,temp2.get()));
- }
}
// We'll allow anything without embedded slashes.