While checking the saved output from the authoring tool, i noticed that bold <emph> tags are being place around other tags. Original XML <emph><switchinline select="sys"><caseinline select="MAC">%PRODUCTNAME - Preferences</caseinline><defaultinline>Tools - Options</defaultinline></switchinline> - <link href="text/shared/optionen/01010600.xhp" name="%PRODUCTNAME - General">%PRODUCTNAME- General</link></emph> Output XML <emph><switchinline select="sys"></emph><emph><caseinline select="MAC"></emph><emph>%PRODUCTNAME - Preferences</emph><emph> </caseinline></emph><emph><defaultinline></emph><emph>Tools - Options</emph><emph></defaultinline></emph><emph></switchinline></emph><emph> - </emph><emph><link href="text/shared/optionen/01010600.xhp" name="%PRODUCTNAME - General"></emph><emph>%PRODUCTNAME- General</emph><emph></link></emph> The simplest thing is to just removal all '</emph><emph>' entries from the output, which would solve the issue.
Which version do you use? That should already be solved. Look into the file soffice2xmlhelp.xsl in folder "filter" in the *.oxt container. If it has a line <xsl:when test="not(starts-with($masterstyle,'hlp_'))"><emph><xsl:apply-templates/></emph></xsl:when> instead of <xsl:when test="not(starts-with($masterstyle,'hlp_'))"><xsl:apply-templates/></xsl:when> then it is an old version.
I'm running my modified fork of 3.1.0 and it has <xsl:when test="not(starts-with($masterstyle,'hlp_'))"><xsl:apply-templates/></xsl:when>
Can you please attach this special helpauthoring.oxt here. I know you have mentioned it on the mailing-list, but I do not find it. And please say on which file you have tested it. Do you see the same problem with the version 3.1.1
Created attachment 118648 [details] forked version 0.5 The file tested - /source/text/shared/01/01020000.xhp It shows up in 3.1.1 release, so it will be there also in the 3.1.0 release you are using.
I do not get the same as you. I get Original XML <emph><switchinline select="sys"><caseinline select="MAC">%PRODUCTNAME - Preferences</caseinline><defaultinline>Tools - Options</defaultinline></switchinline> - <link href="text/shared/optionen/01010300.xhp" name="%PRODUCTNAME - Paths">%PRODUCTNAME - Paths</link></emph> Resaved XML <switchinline select="sys"><caseinline select="MAC"><emph>%PRODUCTNAME - Preferences</emph> </caseinline><defaultinline><emph>Tools - Options</emph></defaultinline></switchinline><emph> - </emph><link href="text/shared/optionen/01010300.xhp" name="%PRODUCTNAME - Paths"><emph>%PRODUCTNAME - Paths</emph></link> Notice, that in the original XML the emph-element is the outer one and has the children 'switchinline' and 'link'. But both are not allowed as child of an emph-element in xmlhelp.dtd. Therefore the extension correctly moves the emph-element to the content of 'switchinline' and 'link'. There the emph-element is an allowed child and the file becomes valid against the xmlhelp.dtd. Does your output really has a <emph>-tag before the <switchinline> tag and an </emph> element after the </link> element?
Created attachment 118658 [details] screencast (In reply to Regina Henschel from comment #5) > Does your output really has a <emph>-tag before the <switchinline> tag and > an </emph> element after the </link> element? Yes. Check the screencast using oxt 3.1.1 and LO 5.0 daily. :D
I have used Version: 5.1.0.0.alpha1+ Build ID: fdafa5302df26df4f147b0d2efb6064389a1330c TinderBox: Win-x86@62-merge-TDF, Branch:MASTER, Time: 2015-08-22_23:42:26 Locale: de-DE (de_DE)
I use master with my 3.1.0 fork. Version: 5.1.0.0.alpha1+ Build ID: eb2e1ab4651350bffc53f618961a910bd3bbcfd9 TinderBox: Linux-rpm_deb-x86_64@70-TDF, Branch:master, Time: 2015-09-02_23:57:52 Locale: en-US (en_US.UTF-8)
Now I have download Version: 5.1.0.0.alpha1+ Build ID: 88c51cd55d1a9b29e62269c53b3923770253ab07 TinderBox: Win-x86@62-merge-TDF, Branch:MASTER, Time: 2015-09-11_13:09:15 Locale: de-DE (de_DE) And now I see the error too. Because I have used version 3.1.1 in both cases, I fear, that a change in the core interferes with the extension.
Created attachment 118755 [details] Shortened version of /source/text/shared/01/01020000.xhp Another way to reproduce: Install the extension helpauthoring.oxt. You get the two filters xmlhelp2soffice.xsl and soffice2xmlhelp.xsl. They are registers, so that you can use them from Tools > XML Filter settings. Select item 'XHP_Help' and then click on button 'Test XSLTs..' I have done this with LO4.2 and LO5.1 The results from the import filter xmlhelp2soffice.xsl is identical. But the export filter soffice2xmlhelp.xsl works in LO4.2 but not in LO5.1. Because here are really only the filters involved and not any Basic code of the extension, I think, the problem is not in the extension but in core. The xml result of the export filter in LO5.2 is not even well-formed, although it uses the same input as in LO4.2.
** Please read this message in its entirety before responding ** To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year. There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present. If you have time, please do the following: Test to see if the bug is still present on a currently supported version of LibreOffice (5.1.5 or 5.2.1 https://www.libreoffice.org/download/ If the bug is present, please leave a comment that includes the version of LibreOffice and your operating system, and any changes you see in the bug behavior If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a short comment that includes your version of LibreOffice and Operating System Please DO NOT Update the version field Reply via email (please reply directly on the bug tracker) Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case) If you want to do more to help you can test to see if your issue is a REGRESSION. To do so: 1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) http://downloadarchive.documentfoundation.org/libreoffice/old/ 2. Test your bug 3. Leave a comment with your results. 4a. If the bug was present with 3.3 - set version to "inherited from OOo"; 4b. If the bug was not present in 3.3 - add "regression" to keyword Feel free to come ask questions or to say hello in our QA chat: http://webchat.freenode.net/?channels=libreoffice-qa Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-UntouchedBug-20160920
Helpauthoring extension is deprecated. closing wontfix.