https://bugs.documentfoundation.org/show_bug.cgi?id=95662

--- Comment #33 from Svante Schubert <svante.schub...@gmail.com> ---
In Robert's ODT all XML uses correctly a dot '.' and not ',' therefore the ','
are added later and there are some possibilites of the culpit:

I would like to provide some guidance to narraow down the possibilites!

1. I have checked the latest XSLT filter and could not view any ',' being
added.
By using his input document locally without LibreOffice (LO) the XSLT
spreadsheet could be sorted out (for the latest sources).
We (Michael Stahl and I) have a little test enviornment for the OASIS ODF TC
that runs on Linux for the ODF2HTML XSLT, see
https://github.com/oasis-tcs/odf-tc - especially the readme at:
https://github.com/oasis-tcs/odf-tc/#odf2html-transformation-not-yet-automated-regression-tests


2. Be aware that not the ODT but a single XML is being provided to the ODT XSLT
stylesheets by LibreOffice. 
To check the final flat file format, add an XSLT filter using the IDENT
(identicall) transformation:
https://github.com/oasis-tcs/odf-tc/blob/master/src/test/resources/odf1.4/tools/ident.xsl
for instance using the fodt suffix
as import/export filter, by this simply save to fodt format :-)
NOTE: We added some QA guidance on how to add a stand-lone LO office,
Configuration and pretty printing for ODF file XML in the ODF TC docu:
https://github.com/oasis-tcs/odf-tc/#odf-editing-tool (just use the office you
like)

3. Most likely the XSLT processor adds some localizied decimal-separator.
Those who have the problem might want to install the XSLT 2.0 extension (see
above docu as well that uses Saxon processor instead - but do not forget to
fill thbe check-box using XSLT 2.0 at the XSLT filter configuration).


Last but not least, I had been started writing this XSLT filter in my junior
days early 2000 where HTML 4.0 was not fully implemented by browsers. When I
look at the ODF of the test document using
https://docs.oasis-open.org/office/OpenDocument/v1.3/os/part3-schema/OpenDocument-v1.3-os-part3-schema.html#property-text_list-level-position-and-space-mode
I realized that nowadays CSS text-indent might be used:
https://caniuse.com/?search=text-indent
Helpful and efficient is to get into inspect mode (mouse context on selected
HTML or press F12 on keyboard) and alter the HTML/CSS to watch if this might
work.
I consider doing some hack-fest on HTML XSLT at our next LibreOffice Conference
in Bucharest, fixing the given test document.. :-)
Sorry, close to no spare pro-bono time ahead (already quite booked).. ;-)

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to