dbertoni 00/07/19 11:47:42
Modified: c/src/XSLT XSLTInputSource.cpp
Log:
Got rid of old code that was not compiled in.
Revision Changes Path
1.9 +0 -31 xml-xalan/c/src/XSLT/XSLTInputSource.cpp
Index: XSLTInputSource.cpp
===================================================================
RCS file: /home/cvs/xml-xalan/c/src/XSLT/XSLTInputSource.cpp,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- XSLTInputSource.cpp 2000/06/27 16:27:22 1.8
+++ XSLTInputSource.cpp 2000/07/19 18:47:39 1.9
@@ -161,40 +161,9 @@
}
else if (m_node == 0)
{
-#if 1
URISupport::URLAutoPtrType theURL =
URISupport::getURLFromString(getSystemId());
theResult = theURL->makeNewStream();
-#else
- const XMLCh* const theSystemID =
- getSystemId();
-
- const unsigned int theColonIndex = indexOf(theSystemID,
':');
- const unsigned int theLength = length(theSystemID);
-
- if (theColonIndex == theLength)
- {
- // No ':', so assume it's a file.
- theResult = new BinFileInputStream(theSystemID);
- }
- else
- {
- // It could be a DOS-style file spec...
- const unsigned int theBackslashIndex =
indexOf(theSystemID, '\\');
-
- if (theBackslashIndex < theLength && theBackslashIndex
== 2)
- {
- // OK, another shot at a file...
- theResult = new BinFileInputStream(theSystemID);
- }
- else
- {
- URLInputSource inputSource(getSystemId());
-
- theResult = inputSource.makeStream();
- }
- }
-#endif
}
return theResult;