XML parsing errors in tests
Ilmari Lauhakangas
ilmari.lauhakangas at libreoffice.org
Sun May 11 05:45:35 UTC 2025
I have reports from two devs on Windows and Linux about XML parsing
errors while running tests.
On Windows:
[_RUN_____] `anonymous namespace'::testForcePoint71::TestBody
Throwing InvalidHeaderException
Throwing InvalidHeaderException
Throwing InvalidHeaderException
Throwing InvalidHeaderException
AbiDocument::isFileFormatSupported
Found xml parser severity error Start tag expected, '<' not found
Throwing InvalidHeaderException
VisioDocument: version 0
Found xml parser severity error Start tag expected, '<' not found
warn:legacy.tools:12852:7684:sfx2/source/appl/appuno.cxx:452: invalid
type for Stream
warn:sfx.view:12852:7684:sfx2/source/view/frmload.cxx:503:
DBG_UNHANDLED_EXCEPTION in impl_handleCaughtError_nothrow exception:
com.sun.star.task.ErrorCodeIOException message:
"SfxBaseModel::handleLoadError: 0x0x11b(Error Area:Io Class:Abort
Code:27) at
C:/cygwin/home/user/lode/dev/core/sfx2/source/doc/sfxbasemodel.cxx:2883"
errcode: 283
warn:fwk.loadenv:12852:7684:framework/source/loadenv/loadenv.cxx:201:
caught LoadEnvException 6 "interaction request",
com.sun.star.task.ErrorCodeRequest2 "at
C:/cygwin/home/user/lode/dev/core/sfx2/source/doc/objmisc.cxx:1822"
while loading
<file:///C:/cygwin/home/user/lode/dev/core//vcl/qa/cppunit/pdfexport/data//forcepoint71.key>
On Linux:
[_RUN_____] testForcepoint107::TestBody
WPSDocument::isFileFormatSupported()
Throwing InvalidHeaderException
Throwing InvalidHeaderException
WPSDocument::isFileFormatSupported()
Throwing InvalidHeaderException
WPSDocument::isFileFormatSupported()
Throwing InvalidHeaderException
AbiDocument::isFileFormatSupported
Found xml parser severity error Start tag expected, '<' not found
WPSDocument::isFileFormatSupported()
WPSDocument::isFileFormatSupported()
WPSDocument::isFileFormatSupported()
WPSDocument::isFileFormatSupported()
Throwing InvalidHeaderException
WPSDocument::isFileFormatSupported()
VisioDocument: version 0
Found xml parser severity error Start tag expected, '<' not found
warn:legacy.tools:1290593:1290593:sfx2/source/appl/appuno.cxx:452:
invalid type for Stream
warn:sfx.view:1290593:1290593:sfx2/source/view/frmload.cxx:503:
DBG_UNHANDLED_EXCEPTION in impl_handleCaughtError_nothrow exception:
com.sun.star.task.ErrorCodeIOException message:
"SfxBaseModel::handleLoadError: 0x0x11b(Error Area:Io Class:Abort
Code:27) at
/home/user/Documents/libreoffice/sfx2/source/doc/sfxbasemodel.cxx:2885"
errcode: 283
warn:fwk.loadenv:1290593:1290593:framework/source/loadenv/loadenv.cxx:191:
caught LoadEnvException 6 "interaction request",
com.sun.star.task.ErrorCodeRequest2 "at
/home/user/Documents/libreoffice/sfx2/source/doc/objmisc.cxx:1824" while
loading
<file:///home/user/Documents/libreoffice/sc/qa/unit/data/xlsx/forcepoint107.xlsx>
As well as this:
[_RUN_____] testImportCrashes::TestBody
warn:legacy.osl:1290593:1290593:sc/source/core/data/bcaslot.cxx:626:
Row/Col invalid, using first slot!
warn:legacy.osl:1290593:1290593:sc/source/core/data/bcaslot.cxx:626:
Row/Col invalid, using first slot!
warn:xmloff:1290593:1292861:sax/source/fastparser/fastparser.cxx:1242:
unknown attribute defaultSlicerStyle=SlicerStyleLight1
warn:svx:1290593:1290593:svx/source/unodraw/unoshape.cxx:1522: Ignoring
property Representation
warn:comphelper.container:1290593:1290593:comphelper/source/container/embeddedobjectcontainer.cxx:357:
EmbeddedObjectContainer::Get_Impl: exception caught:
N3com3sun4star3uno9ExceptionE msg: at
/home/user/Documents/libreoffice/embeddedobj/source/general/xcreator.cxx:99
warn:legacy.tools:1290593:1290593:svx/source/svdraw/svdoole2.cxx:1074:
No object in connect!
warn:comphelper.container:1290593:1290593:comphelper/source/container/embeddedobjectcontainer.cxx:357:
EmbeddedObjectContainer::Get_Impl: exception caught:
N3com3sun4star3uno9ExceptionE msg: at
/home/user/Documents/libreoffice/embeddedobj/source/general/xcreator.cxx:99
warn:legacy.tools:1290593:1290593:svx/source/svdraw/svdoole2.cxx:1074:
No object in connect!
warn:legacy.osl:1290593:1290593:svx/source/svdraw/svdoole2.cxx:1167:
Disconnect() called on disconnected object!
warn:legacy.osl:1290593:1290593:svx/source/svdraw/svdoole2.cxx:1167:
Disconnect() called on disconnected object!
warn:xmloff:1290593:1290593:xmloff/source/style/xmlstyle.cxx:471:
Unknown element urn:oasis:names:tc:opendocument:xmlns:style:1.0
style:default-style
warn:xmloff:1290593:1290593:xmloff/source/style/xmlstyle.cxx:471:
Unknown element urn:oasis:names:tc:opendocument:xmlns:style:1.0
style:default-style
warn:legacy.osl:1290593:1290593:xmloff/source/style/xmlimppr.cxx:690:
Exception caught; style may not be imported correctly.
warn:xmloff:1290593:1290593:xmloff/source/core/xmlerror.cxx:186: An
error or a warning has occurred during XML import/export!
Error-Id: 0x20040001
Flags: 2 ERROR
Class: 4 API
Number: 1
Parameters:
0: HeaderTopBorder
Exception-Message: at
/home/user/Documents/libreoffice/svl/source/items/itemprop.cxx:182
Position:
Public Identifier:
System Identifier:
file:///home/user/Documents/libreoffice/sc/qa/unit/data/ods/tdf138507.ods
Row, Column: 44,26
warn:xmloff:1290593:1290593:xmloff/source/core/xmlerror.cxx:186: An
error or a warning has occurred during XML import/export!
Error-Id: 0x20040001
Flags: 2 ERROR
Class: 4 API
Number: 1
Parameters:
0: FooterTopBorder
Exception-Message: at
/home/user/Documents/libreoffice/svl/source/items/itemprop.cxx:182
Position:
Public Identifier:
System Identifier:
file:///home/user/Documents/libreoffice/sc/qa/unit/data/ods/tdf138507.ods
Row, Column: 44,26
warn:xmloff:1290593:1290593:xmloff/source/core/xmlerror.cxx:186: An
error or a warning has occurred during XML import/export!
Error-Id: 0x10020002
Flags: 1 WARNING
Class: 2 FORMAT
Number: 2
Parameters:
0: fo:text-align
1: left
Exception-Message:
Position:
Public Identifier:
System Identifier:
file:///home/user/Documents/libreoffice/sc/qa/unit/data/ods/tdf138507.ods
Row, Column: 439,105
Any ideas?
Ilmari
More information about the LibreOffice
mailing list