dbertoni 01/06/29 15:50:11
Modified: c/src/TestXSLT process.cpp
Log:
Fix for AIX and undefined symbol. Cleaned up some unused using declarations.
Write message to cerr about reading from stdin.
Revision Changes Path
1.67 +8 -14 xml-xalan/c/src/TestXSLT/process.cpp
Index: process.cpp
===================================================================
RCS file: /home/cvs/xml-xalan/c/src/TestXSLT/process.cpp,v
retrieving revision 1.66
retrieving revision 1.67
diff -u -r1.66 -r1.67
--- process.cpp 2001/06/19 20:07:12 1.66
+++ process.cpp 2001/06/29 22:50:10 1.67
@@ -170,8 +170,6 @@
using std::cout;
using std::endl;
using std::hex;
-using std::less;
-using std::map;
using std::pair;
using std::vector;
#endif
@@ -214,7 +212,7 @@
<< endl
<< " [-INDENT n (Controls how many spaces to indent. {default
is 0})]"
<< endl
- << " [-NOVALIDATE (Controls whether validation occurs.
Validation is on by default.)]"
+ << " [-VALIDATE (Controls whether validation occurs.
Validation is off by default.)]"
<< endl
<< " [-TT (Trace the templates as they are being called.)]"
<< endl
@@ -252,6 +250,7 @@
<< endl
<< " [-NOINDENT (Turns off HTML indenting..]"
<< endl
+ << endl
<< "The following option is valid only with -XML."
<< endl
<< endl
@@ -262,7 +261,7 @@
#if defined(XALAN_NEEDS_EXPLICIT_TEMPLATE_INSTANTIATION)
-#include<stl/_tree.c>
+#include<stl/_vector.c>
#endif
typedef vector<pair<const char*, const char*> > StringPairVectorType;
@@ -462,9 +461,9 @@
fSuccess = false;
}
}
- else if(!compareNoCase("-NOVALIDATE", argv[i]))
+ else if(!compareNoCase("-VALIDATE", argv[i]))
{
- p.doValidation = false;
+ p.doValidation = true;
}
else if (!compareNoCase("-PARAM", argv[i]))
{
@@ -820,15 +819,8 @@
XSLTInit theInit;
#if defined(XALAN_USE_ICU)
- // Create an installer to install the substitue format-number()
function.
+ // Create an installer to install the substitute format-number()
function.
FunctionICUFormatNumber::FunctionICUFormatNumberInstaller
theInstaller;
-
- // Create a factory for creating XalanNumberFormat instances using
- // the ICU as implementation...
- ICUXalanNumberFormatFactory theXalanNumberFormatFactory;
-
- // Install the ICU-based factory...
-//
StylesheetExecutionContextDefault::installXalanNumberFormatFactory(&theXalanNumberFormatFactory);
#endif
const XalanDOMString
mimeEncoding(XALAN_STATIC_UCODE_STRING("UTF-8"));
@@ -996,6 +988,8 @@
else
{
theInputSource.setStream(&cin);
+
+ cerr << "Reading input document from stdin..." << endl;
}
StylesheetExecutionContextDefault theExecutionContext(processor,
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]