Bug 366271 - Kdenlive project XML does not validate due no missing kdenlive namespace declaration for customeffects attribute
Summary: Kdenlive project XML does not validate due no missing kdenlive namespace decl...
Status: RESOLVED FIXED
Alias: None
Product: kdenlive
Classification: Applications
Component: User Interface (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-30 10:20 UTC by Wegwerf
Modified: 2021-03-07 13:42 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
fritzibaby: timeline_corruption+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Wegwerf 2016-07-30 10:20:02 UTC
Sometimes, it may be necessary or desirable to process Kdenlive project files using XML tools. Some of these tools, such as the Firefox browser as well as all libxml2-based tools, cannot process some, but not all, Kdenlive XML project files. As it turns out, sometimes Kdenlive projects contain an attribute kdenlive:customeffects. However, the project document lacks any declaration of the namespace kdenlive. In turn, these files won't be processed by XML tools, but instead turned down.

To allow correct processing of such project files, it will be sufficient that Kdenlive generates a proper namespace declaration in some suitable place (opening mlt tag), such as:

<mlt ... xmlns:kdenlive="http://www.kdenlive.org/" ...>

Also, I see both an attribute as well as a property element both for custom effects using the same namespace and same name. Which one of the two is the real one? What if both differ? What if only one is present?

Reproducible: Always
Comment 1 farid 2021-03-07 13:42:29 UTC
Namespaces have been dropped in recent versions. Thanks for reporting.