[GNC-dev] merging failing tests
Geert Janssens
geert.gnucash at kobaltwit.be
Thu Sep 6 02:45:51 EDT 2018
Op donderdag 6 september 2018 00:28:41 CEST schreef Christopher Lam:
<snip>
> I think that completing the internal framework to successfully implement
> html api code (as you have identified is incomplete) is not time well
> spent. None of the reports will generate html without headers, for
> instance.
Yet they should be able to for a properly validating multi-column report. This
is IMO a valid bug in the current state [1]. So either header omission should
be implemented or the concept of a multi column report needs to be reworked.
To zoom in a bit on this issue: there is more to do than just omitting the
headers. The multi-column report only needs the contents of the <body> tag and
optionally any header elements (css, stylesheet, whatever) that were in the
original header and needed for the original report to function properly. So it
may be easier to write code in the multi-column report to extract this data
rather than make all reports deal with optional headers but with separated
style info.
Other than that I'm all for seriously reducing the complexity of the html and
stylesheet generating code.
Geert
[1] Which I did report years ago: https://bugs.gnucash.org/show_bug.cgi?
id=706266
More information about the gnucash-devel
mailing list