https://bugs.freedesktop.org/show_bug.cgi?id=80403
Priority: medium
Bug ID: 80403
Assignee: [email protected]
Summary: AutoCorrect - parse XML files using XFastParser ...
Severity: normal
Classification: Unclassified
OS: All
Reporter: [email protected]
Hardware: Other
Status: NEW
Version: 4.2.4.1 rc
Component: Linguistic
Product: LibreOffice
We should parse our auto-correct XML files using the nice tokenizing
XFastParser instead of the significantly slower SAX parser interface. Code is
here:
editeng/source/misc/SvXMLAutoCorrectImport.cxx
The XFastParser interface is in offapi, and needs a hash function to tokenise
its input; you'd want to look at sax/source/fastparser/fastparser.cxx to see
how that works I guess.
This would move the parsing into its own thread.
Then again - perhaps that is too complicated; we could get at least some win by
moving to xmlreader/ perhaps.
Thanks !
--
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