Tk Library Source Code

View Ticket
Login
Ticket UUID: 1800413
Title: dtplite errors/warnings reported twice
Type: Bug Version: None
Submitter: sdeasey Created on: 2007-09-23 01:06:16
Subsystem: doctools Assigned To: andreas_kupries
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2007-09-27 00:20:07
Resolution: Fixed Closed By: andreas_kupries
    Closed on: 2007-09-25 23:13:06
Description:

Using CVS HEAD, running dtplite on some man pages produces:

man3/Ns_Sls.man
DocTools Warning (depr_ltype): In macro at line 69, column 0:
DocTools Warning (depr_ltype): Deprecated list type "arg".
DocTools Warning (depr_ltype): Please use "arguments" instead.
DocTools Warning (depr_ltype): In macro at line 69, column 0:
DocTools Warning (depr_ltype): Deprecated list type "arg".
DocTools Warning (depr_ltype): Please use "arguments" instead.


The same warning is printed twice. Same for genuine errors, not just depreciation warnings.

The messages are quite verbose and can result in thousands of lines of output which is hard to read.
User Comments: sdeasey added on 2007-09-27 00:20:07:
Logged In: YES 
user_id=87254
Originator: YES

Great, this is much better.

andreas_kupries added on 2007-09-26 06:13:06:
Logged In: YES 
user_id=75003
Originator: NO

Fixed in the CVS head. This was problem with the doctools core, not just dtplite. The layer doing syntax checking generated the warnings in all passes. For HTML, a two-pass backend, that caused two warnings per actual problem. Modified to suppress generation of warnings in a ll but the first pass. Errors were no problem, as they stopped execution, i.e. in the first pass.