V Stuart Foote <vsfoote@libreoffice.org> writes:
Looks like ^L is not allowed in ODT files. However, I see no such information on http://docs.oasis-open.org/office/v1.2/os/OpenDocument-v1.2-os-part1.htmlMay somebody check if there is an official list of unsupported characters in ODT? Or maybe it is simply a bug in LibreOffice?Are form feed characters (page delimiters) allowed?Once inside an ODF archive (manually inserted to content.xml, or via some generator--an FF control character (0x0C) has no meaning and the character is treated as a formatting error on filter parsing of the ODF. Which incidentally matches behavior of the MS Edge (chromium) or Chrome browser parsing of the XML.
Thanks! So, the trick was looking into XML spec, after all. I found the list of forbidden characters in https://www.w3.org/TR/REC-xml/#charsets Note that XML1.1 is more lax: https://stackoverflow.com/questions/404107/why-are-control-characters-illegal-in-xml-1-0 -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92> -- To unsubscribe e-mail to: users+unsubscribe@global.libreoffice.org Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette List archive: https://listarchives.libreoffice.org/global/users/ Privacy Policy: https://www.documentfoundation.org/privacy