DocBook v2
Thibaut Cuvelier
tcuvelier at lyx.org
Sat Sep 19 02:02:00 UTC 2020
On Wed, 16 Sep 2020 at 23:06, Scott Kostyshak <skostysh at lyx.org> wrote:
> On Wed, Sep 16, 2020 at 04:35:42PM -0400, Scott Kostyshak wrote:
> > On Wed, Sep 16, 2020 at 09:57:39PM +0200, Thibaut Cuvelier wrote:
> > > On Wed, 16 Sep 2020 at 06:55, Scott Kostyshak <skostysh at lyx.org>
> wrote:
> > >
> > > > On Tue, Sep 15, 2020 at 11:28:16PM -0400, Scott Kostyshak wrote:
> > > > > On Tue, Sep 15, 2020 at 11:00:35PM -0400, Scott Kostyshak wrote:
> > > > > > On Wed, Sep 16, 2020 at 04:17:41AM +0200, Thibaut Cuvelier wrote:
> > > > > > > On Sun, 13 Sep 2020 at 09:20, Kornel Benko <kornel at lyx.org>
> wrote:
> > > > > > >
> > > > > > > > Am Sat, 12 Sep 2020 20:48:32 -0400
> > > > > > > > schrieb Scott Kostyshak <skostysh at lyx.org>:
> > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > Just a list of tests, that would be awesome for now!
> > > > > > > > >
> > > > > > > > > Sounds good, it's attached.
> > > > > > > > >
> > > > > > > > > Scott
> > > > > > > > >
> > > > > > > > > [LastTestsFailed.log text/plain (9168 Bytes)]
> > > > > > > >
> > > > > > > > Just my 2c.
> > > > > > > >
> > > > > > > > 27% tests passed, 100 tests failed out of 137
> > > > > > > >
> > > > > > > > My list of failed 100 is far shorter than that from Scott
> though.
> > > > > > > > But I only tested the previously failed ...
> > > > > > > >
> > > > > > >
> > > > > > > As long as I have a few cases to work on, that's perfect :)!
> > > > > > >
> > > > > > > I pushed a few commits, they seem to improve the situation. If
> > > > that's not
> > > > > > > enough, I propose to remove the functionality altogether (i.e.
> stay
> > > > at the
> > > > > > > same level as 2cb7050d010435c1b4345e7924699c6cfb0042da): the
> > > > behaviour in
> > > > > > > DocBook and XHTML is very different regarding sectioning
> (especially
> > > > for
> > > > > > > the top-level section), I'm less and less confident that a
> similar
> > > > > > > implementation is viable.
> > > > > >
> > > > > > I don't know anything about this, so you and Riki should decide.
> If
> > > > > > tests are expected to fail because of an improvement, just let
> Kornel
> > > > > > and I know which tests and we'll adapt the tests accordingly (we
> can
> > > > > > tell CMake which tests are expected to fail).
> > > > > >
> > > > > > I'll run the tests on 34769eb2 and let you know the results.
> > > > >
> > > > > All docbook5 tests still pass. There are many xhtml tests failing.
> I'll
> > > > > report the results when they finish. I'm seeing a lot of the
> following
> > > > > types of errors:
> > > > >
> > > > > Premature end of data in tag section line 284 -> html(1), body(1),
> > > > div(1), span(1), span(2), div(1)
> > > > > Premature end of data in tag body line 178 -> html(1), body(1),
> div(1),
> > > > span(1), span(2), div(1)
> > > > > Premature end of data in tag html line 3 -> html(1), body(1),
> div(1),
> > > > span(1), span(2), div(1)
> > > >
> > > > List of failed XHTML tests is attached.
> > > >
> > >
> > > And what about commit 2cb7050d010435c1b4345e7924699c6cfb0042da? Just
> to see
> > > what failures are related to the sections, and which one are not (and
> > > probably due to unrelated issues).
> >
> > > --
> > > lyx-devel mailing list
> > > lyx-devel at lists.lyx.org
> > > http://lists.lyx.org/mailman/listinfo/lyx-devel
> >
> > I'm running the tests now on 2cb7050d, but a lot of them are failing.
> Here are the first 20:
> >
> >
> > 1/385 Test #239: export/export/MissingEndLayoutBetweenTables_xhtml
> ........... Passed 2.14 sec
> > Start 257:
> INVERTED.LYXBUGS_export/export/WrongDfnTagHandling_xhtml
> > 2/385 Test #257:
> INVERTED.LYXBUGS_export/export/WrongDfnTagHandling_xhtml .... Passed
> 2.14 sec
> > Start 259: export/export/docbook/A0_Poster_Simple_xhtml
> > 3/385 Test #259: export/export/docbook/A0_Poster_Simple_xhtml
> ................***Failed 1.83 sec
> > Start 261: export/export/docbook/Additional_lyxcode_xhtml
>
> > 4/385 Test #261: export/export/docbook/Additional_lyxcode_xhtml
> ..............***Failed 2.65 sec
> > Start 262: export/export/docbook/Development_xhtml
> > 5/385 Test #262: export/export/docbook/Development_xhtml
> .....................***Failed 1.99 sec
> > Start 263: export/export/docbook/Linguistics_xhtml
> > 6/385 Test #263: export/export/docbook/Linguistics_xhtml
> .....................***Failed 1.79 sec
> > Start 265: export/export/docbook/SciPoster_xhtml
> > 7/385 Test #265: export/export/docbook/SciPoster_xhtml
> ....................... Passed 2.09 sec
> > Start 267: export/export/docbook/Tufte_Book_xhtml
> > 8/385 Test #267: export/export/docbook/Tufte_Book_xhtml
> ......................***Failed 2.46 sec
> > Start 268: export/export/docbook/basic_xhtml
> > 9/385 Test #268: export/export/docbook/basic_xhtml
> ........................... Passed 2.63 sec
> > Start 270: export/export/docbook/basic_book_xhtml
> > 10/385 Test #270: export/export/docbook/basic_book_xhtml
> ......................***Failed 2.05 sec
> > Start 272: export/export/docbook/bibliography_precooked_xhtml
> > 11/385 Test #272: export/export/docbook/bibliography_precooked_xhtml
> ..........***Failed 1.49 sec
> > Start 274:
> export/export/docbook/bibliography_precooked_aastex_xhtml
> > 12/385 Test #274:
> export/export/docbook/bibliography_precooked_aastex_xhtml ... Passed
> 3.92 sec
> > Start 276: export/export/docbook/description_list_nested_xhtml
> > 13/385 Test #276: export/export/docbook/description_list_nested_xhtml
> ......... Passed 1.98 sec
> > Start 277: export/export/docbook/deutsches_ert_xhtml
> > 14/385 Test #277: export/export/docbook/deutsches_ert_xhtml
> ...................***Failed 2.65 sec
> > Start 278: export/export/docbook/easy_xhtml
> > 15/385 Test #278: export/export/docbook/easy_xhtml
> ............................ Passed 1.89 sec
> > Start 280: export/export/docbook/fonts_EmbeddedObjects_xhtml
>
> > 16/385 Test #280: export/export/docbook/fonts_EmbeddedObjects_xhtml
> ...........***Failed 2.26 sec
> > Start 281:
> export/export/docbook/issue1732_charstyles-docbook_xhtml
> > 17/385 Test #281:
> export/export/docbook/issue1732_charstyles-docbook_xhtml .... Passed
> 1.47 sec
> > Start 283: export/export/docbook/issue5165_xhtml
> > 18/385 Test #283: export/export/docbook/issue5165_xhtml
> ....................... Passed 1.24 sec
> > Start 285: export/export/docbook/issue_infinite_loop_xhtml
> > 19/385 Test #285: export/export/docbook/issue_infinite_loop_xhtml
> .............***Failed 1.38 sec
> > Start 287: export/export/docbook/labeling_list_nested_xhtml
> > 20/385 Test #287: export/export/docbook/labeling_list_nested_xhtml
> ............ Passed 1.82 sec
>
> Attached is the full list of failures.
>
I finally managed to get everything working on my machine (the most
complicated part was getting the right paths to CMake through my IDE…). By
the way, the wiki is updated on this, in case anyone else would need it.
The last patch on the DocBook branch fixes a large part of the regressions.
I noticed three new tests that fail:
export/templates/Articles/Association_for_Computing_Machinery_%28ACM%29_xhtml
export/export/docbook/A0_Poster_Simple_xhtml
export/templates/Posters/A0_Poster/Simple_xhtml
There is also one crash, but I could reproduce it on older LyX versions
(before the first DocBook commit was merged).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20200919/4d0f357d/attachment-0001.html>
More information about the lyx-devel
mailing list