On Mon, 2011-05-16 at 08:07 +0200, Norman Maurer wrote: > Hi Oleg, > > I think my question was not "correct". I'm looking for a method to > retrieve the comments which were find while parsing the header. Is > this possible ? At least with 0.6.1 it seems not to be possible. > > Bye, > Norman >
Hi Norman I do not think this is possible at the moment. Comments in fields have always been treated as 'noise' and simply discarded. I have been working on low level tokenizer routines (RawFieldParser class) that could be used to build custom parsers for mime fields. One could use those routines to extract comments. Oleg > > 2011/5/15 Oleg Kalnichevski <[email protected]>: > > On Sun, 2011-05-15 at 20:50 +0200, Norman Maurer wrote: > >> Hi there (especialy Oleg), > >> > >> does current trunk of mime4j handle comments in headers in the right > >> way ? For example when parsing Addresses. > >> > >> For example: > >> > >> From: <user-from (comment)@ (comment) domain.org> > >> > >> Thanks, > >> Norman > >> > > > > Norman > > > > All test cases still pass for me. Is there a particular reason to think > > that handling of comments in fields is broken? > > > > > >> Ps: Any plans in release trunk in the near future ? > >> > > > > My _personal_ plan is to have mime4j trunk in a releasable shape by mid > > July. There is still a few issues that need to be resolved, though. > > > > Oleg > > > > > > >
