curcuru 01/03/14 11:49:51
Modified: java/src/org/apache/xalan/xslt Process.java
Log:
Remove check for missing -IN arg; there are a number of use
cases for calling Process.main without an XML document
Revision Changes Path
1.31 +1 -9 xml-xalan/java/src/org/apache/xalan/xslt/Process.java
Index: Process.java
===================================================================
RCS file: /home/cvs/xml-xalan/java/src/org/apache/xalan/xslt/Process.java,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -r1.30 -r1.31
--- Process.java 2001/03/13 22:02:05 1.30
+++ Process.java 2001/03/14 19:49:50 1.31
@@ -526,15 +526,7 @@
XSLTErrorResources.ER_INVALID_OPTION, new Object[]{ argv[i]
})); //"Invalid argument:);
}
- // Must have an XML document to continue
- if (null == inFileName)
- {
- System.out.println("ERROR: must supply argument -IN inputXMLURL");
- printArgOptions(resbundle);
- System.exit(-1); // This should be settable as to whether we call
- // exit or not, for the occasional user who calls
- // us programmatically
- }
+ // Note that there are usage cases for calling us without a -IN arg
// The main XSL transformation occurs here!
try
{
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]