https://bugs.documentfoundation.org/show_bug.cgi?id=117091
Regina Henschel <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]
--- Comment #5 from Regina Henschel <[email protected]> ---
The bug has been introduced with the change to FastParser in
D:\Build_ODF_layers\core\starmath\source\mathmlimport.cxx
Currently
293 // finally, parser the stream
294 try
295 {
296 if( xFastParser.is() )
297 xFastParser->parseStream( aParserInput );
298 else
299 xParser->parseStream( aParserInput );
If I change this to
try
{
xParser->parseStream( aParserInput );
as it has been before, then clipboard content which is a valid <math>...</math>
fragment is detected as MathML and correctly converted. With FastParser is it
not detected as MathML but the FastParser needs the <?xml ... ?> prolog. But
the problem is, that MathML, which is embedded in an HTML document, do not have
such prolog.
The change was
https://cgit.freedesktop.org/libreoffice/core/commit/?h=libreoffice-6-1&id=bf46b46a1d734348096936284fb8a76e977936d0
Mohammed Abdul Azeem <[email protected]> 2017-10-01 14:11:11 +0530
Moving XSAXDocumentBuilder2 to use XFastDocumentHandler:
@Mohammed: Do you have an idea, how to solve it?
--
You are receiving this mail because:
You are the assignee for the bug._______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs