fix #8594 support for Registration, occurrences, events in cdm_base_url(), sanitizing base ulrs in cdm_tagged_text_expand_entity_references() & better problem reporting
fix #8594 support for Registration, occurrences, events in cdm_base_url(), sanitizing base ulrs in cdm_tagged_text_expand_entity_references() & better problem reporting