Within Replay we had the concept of the "original language" title. This is encoded via the lack of a language annotation to that particular title field. Translations of the original title are forced to have the language annotation. After discussing this issue with Olaf we decided to drop this demand for now. I'll update the code accordingly.
Christoph Am 27.05.2011 um 01:26 schrieb Josh Holtzman: > I'm working on a small feature that I'd like to add before we cut 1.2. The > feature uses Jobs to store mediapackages that are published in the search > service. This is a stop-gap solution to enable updating the search index for > 1.3 without having a full episode service in 1.2. > > While implementing this, I ran into a problem. The class > StaticMetadataServiceDublinCoreImpl requires that a title be provideded with > no language set: > > notNull(episode.getFirst(DublinCore.PROPERTY_TITLE, > DublinCore.LANGUAGE_UNDEFINED), "dcterms:title(lang=undefined)"); > > Our test DC files [1] fail this check. I tried relaxing this check, by > removing LANGUAGE_UNDEFINED, but this caused test failures. Evidently, > somebody thinks a DC document *must* have a title without a specified > language. I don't know if this is a DC requirement or not. > > If this is the case, we should fix our test files. Otherwise, let's fix the > implementation and the tests. > > [1] > https://opencast.jira.com/svn/MH/trunk/modules/matterhorn-kernel/src/test/resources/dublincore.xml > > Thanks, > Josh > _______________________________________________ > Matterhorn mailing list > [email protected] > http://lists.opencastproject.org/mailman/listinfo/matterhorn > > > To unsubscribe please email > [email protected] > _______________________________________________
_______________________________________________ Matterhorn mailing list [email protected] http://lists.opencastproject.org/mailman/listinfo/matterhorn To unsubscribe please email [email protected] _______________________________________________
