V Stuart Foote <vsfo...@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.html
>> 
>>> May 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 
http://www.w3.org/TR/REC-xml/#charsets

Note that XML1.1 is more lax:
http://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 <http://orgmode.org/>.
Support Org development at <http://liberapay.com/org-mode>,
or support my work at <http://liberapay.com/yantar92>

-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
Privacy Policy: http://www.documentfoundation.org/privacy

Reply via email to