Hi Stephan,
thanks for the hint. So I load the dtd and now the whitespaces inside
the value tag like in your example are preserved.
xmllint --loaddtd officecfg/registry/data.dtd --format
officecfg/registry/schema/org/openoffice/Office/Recovery.xcs
Looks quite sane. Or am I too naive? :)
Thomas
On 17.04.2013 13:13, Stephan Bergmann wrote:
On 04/17/2013 03:20 AM, Thomas Arnhold wrote:
does anyone have objections against running xmllint on officecfg like
fe4260c53e7df91a4d2dad06104d7979a212de29 did?
Isn't xmllint --fromat, without access to a DTD, fundamentally flawed,
in that it cannot decide whether an element has mixed content and all
whitespace would need to be left unchanged? In principle, this could
affect .xcu file content like
<value> <unicode oor:scalar="0"/></value>
Stephan
Context
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.