Opencast generates invalid XML catalogs when a "default" (empty) Namespace is used.

Steps to reproduce

Steps to reproduce:
1. Copy the attached file org.opencastproject.ui.metadata.CatalogUIAdapterFactory-series-bug.cfg into your etc folder.
2. Notice the file defines an XML namespace with an empty prefix assigned
3. In the Admin UI, create a new series
4. In the tab "Metadata II" of the wizard, write any random value in the parameter defined

Actual Results:
After saving the series, its metadata cannot be read anymore. The logs show huge XML parsing errors. The generated series catalog that can be found in the table "mh_series_elements" is malformed (the root element contains an "xmlns:" attribute --notice the trailing colon--).

Expected Results:
An extra XML catalog should be generated. The element should have an empty prefix, which is allowed in XML.

Workaround (if any):

Assignee

Rubén Pérez

Reporter

Rubén Pérez

Severity

Data Loss/Corruption

Tags (folksonomy)

None

Components

Fix versions

Affects versions

Priority

Major
Configure