bugMibble MIB Parser - Bugs: bug #18844, Some comments inside MIB files are...


bug #18844: Some comments inside MIB files are not extracted or printed

Submitter:  Per Cederberg <cederberg>
Submitted:  Sun 21 Jan 2007 09:36:53 PM UTC
Severity:  2 - Normal Item Group:  Future Improvement
Status:  Fixed Privacy:  Public
Assigned to:  cederberg Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup

Sat 04 Apr 2009 09:10:13 AM UTC, comment #2: 

Version 2.9 was released on 2009-03-19.

Per Cederberg <cederberg>
Group administrator
Sun 21 Jan 2007 09:48:36 PM UTC, comment #1: 

Comment extraction has now been modified in the MibAnalyzer to always extract all comments in the MIB files. Most comments are correctly associated with and object, but in some cases the Mibble object structure does not allow storing comments at the right level. In those cases, the comment is always added to the parent object comments.

New getComment() methods and corresponding comment extraction has been added to the following classes:

ElementType (inherited from MibType, but specific comment extraction)

The MibWriter class has been updated to print all these comments accordingly.

This functionality will be available from version 2.9.alpha1.

Per Cederberg <cederberg>
Group administrator
Sun 21 Jan 2007 09:36:53 PM UTC, original submission:  

In previous versions of Mibble, some comment extraction and printing (in the MibWriter) were added. This support was not complete, however, as several comments were ignored by the parser.

This is unfortunate, as the MIB file comments sometimes contain important information that ought to be kept in the pretty-printed version. Mibble should implement support for comment parsing so that at the very minimum, no comment text is ever lost. Ideally, the comments should be associated with the corresponding objects in the parsed MIB data structures.

Per Cederberg <cederberg>
Group administrator


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by cederberg (Submitted the item)

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.


    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2009-04-04 cederberg Open/ClosedOpen Closed
    2007-01-21 cederberg StatusNone Fixed

    Back to the top

    Powered by Savane 3.13-c373.
    Corresponding source code