DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5305>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5305

Incremental parsing hard-coded to 'on' in command-line tool





------- Additional Comments From [EMAIL PROTECTED]  2001-12-07 06:33 -------
There are two places where incremental parsing may be requested in Process.java.

1) If no output filename is supplied (ie, if we're writting to standard output 
rather than having specified a -OUT filename), we automatically switch into 
incremental, on the theory that in this situation the user probably wants low 
latency.

2) The recently introduced -INCREMENTAL command-line switch allows requesting 
this explicitly even when outputting to a file. 

The two chunks of code are setting the flag in slightly different ways but I 
think the result should be equivalent.


Now that we have -INCREMENTAL available, we might want to consider removing the 
automatic incremental-if-stdout feature. But I'm somewhat worried about having 
that break the expectations of folks who have been using Process.java to 
generate webserver output, and who may have been assuming the low-latency 
behavior will be selected. It wasn't officially documented, so we can change 
it... but I think we need to check with the community before altering it.

Another alternative would be to add a -NOINCREMENTAL switch, so the "helpful" 
default could remain unchanged but folks could override it.

Reply via email to