Issue 14906

Redesign fragment xml parsing

14906
Reporter: mdoering
Type: Improvement
Summary: Redesign fragment xml parsing
Priority: Major
Status: Open
Created: 2014-01-22 12:16:42.0
Updated: 2014-06-17 10:48:14.065
        
Description: The occurrence parser uses its own model package based heavily on the old mysql portal database. Remove the entire package and parse directly into VerbatimOccurrence instead.

The xml parsing also selects some properties over others based on the PropertyPrioritizer. A lot of this can now be hold in the verbatim class map and be decided in the regular interpretation step. For example there is dwc:country and dwc:countryCode or decimalLatitude and verbatimLatitude. Even if dwc does not have a term for something we can invent our own terms and fill in those. Ideally we should also create ABCD terms for the ones that do not have a dwc correspondence at least. But maybe even completely keeping ABCD as ABCD terms would make sense for a verbatim record?

Consider to do away with unitQualifier for ABCD, see linked issue]]>