-#else
- // Find well-known schemas in the specified location.
- auto_ptr_char temp(systemId);
- map<string,string>::const_iterator i=m_schemaLocMap.find(temp.get());
- if (i!=m_schemaLocMap.end()) {
- auto_ptr_XMLCh temp2(i->second.c_str());
- return new Wrapper4InputSource(new LocalFileInputSource(baseURI,temp2.get()));
- }
-
- // Check for entity as a value in the map.
- for (i=m_schemaLocMap.begin(); i!=m_schemaLocMap.end(); ++i) {
- 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.
- if (XMLString::indexOf(systemId, chForwardSlash)==-1)
- return new Wrapper4InputSource(new LocalFileInputSource(baseURI,systemId));
-#endif