Hello Azamat,
On Fri, Nov 17, 2006 at 10:22:01PM +0500, Azamat H. Hackimov wrote:
[...]
And I need preserve commented cvs "$Header: $" and warnings
about license.
I know, it's possible make with addenda, but this is not Perl-way :).
I found temporary fix for this, like a commenting out this string in Xml.pm:
f_extract => \&tag_extract_comment,
but this made other bug - program crashes when try parse commented tags.
I could not reproduce this crash. On what guide file was it? (I tried
xml-guide.xml)
Here is a first patch that implements a kind of comments extraction.
It is not a final version (there are probably a lot of comments that are
still just dropped), but it should give an idea of how it works.
Can you check whether that would be OK for the Gentoo documentation?
(I'm mostly worried about the place where the comments appear (which can
be different from the place the comment was extracted))
Kind Regards,
--
Nekral