Ticket #613 (closed defect: fixed)
SchemaManager autodetect defaults to defaultSchema (with patch)
|Reported by:||jesseeichar||Owned by:||geonetwork-devel@…|
This is a problem in some situations like MEF import because if there 2 metadata files. In my case GM03 and iso19139.che. It does not recognize GM03 so it uses the default, then an error occurs when it tries to import GM03.
I have a patch that adds a second parameter that is the default to use. In all cases the current behaviour is used but MEF import has been changed so that null is returned if the schema is not auto detected so it is correctly handled.