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

--- Comment #5 from Regina Henschel <[email protected]> ---
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?

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to