[Libreoffice-bugs] [Bug 129510] TypeDetection: warn:configmgr/source/xcuparser.cxx:650: unknown property "ContentFormat"

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Apr 7 07:12:43 UTC 2020


https://bugs.documentfoundation.org/show_bug.cgi?id=129510

--- Comment #5 from Stephan Bergmann <sbergman at redhat.com> ---
(In reply to Oliver Brinzing from comment #4)
> Created attachment 159368 [details]
> typedetection.xcu

So that file is adding an element "KOSDOKTYPE" to the set
/org.openoffice.TypeDetection.Types/Types.  Such an element must be of the
template type /org.openoffice.TypeDetection.Types/Type, which is a
(non-extensible) group that has no property named "ContentFormat", see
officecfg/registry/schema/org/openoffice/TypeDetection/Types.xcs.

I think I understand your comment 0 better now.  You are not wondering why LO
considers that typedetection.xcu as wrong (by issuing that "warn:" line).  You
are wondering whether
<https://git.libreoffice.org/core/+/6ed41c4fe1656395d5f4ac4905570977df56f4bd%5E!/>
"INTEGRATION: CWS xmlfilter01 (1.3.6.1.32); FILE MERGED: 2003/03/14 13:32:07 as
1.3.6.1.32.1: #107711# new service ExtendedTypeDetectionFactory; new interfaces
and doc for TypeDetection and FilterFactory", which made the change from
deprecated ClipboardFormat to ContentFormat in the UNO properties supported by
the UNOIDL service com.sun.star.document.TypeDetection, should also have
adapted the configuration template type
/org.openoffice.TypeDetection.Types/Type in
officecfg/registry/schema/org/openoffice/TypeDetection/Types.xcs accordingly
(by, say, deprecating prop ClipboardFormat and adding a prop ContentFormat).

About which I have no idea.  But the fact that this difference between the UNO
properties documented for UNOIDL service TypeDetection and the configuration
props of group Type are there for 17 years now could be a hint that things are
working as intended.

Oliver, what exactly (if anything) do you claim is not working if your
KOSDOKTYPE element cannot provide a "ContentFormat" prop value?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200407/926dc7d0/attachment.htm>


More information about the Libreoffice-bugs mailing list