Skip to content

throw a Warning when namespace information are empty #123

@ymark

Description

@ymark

Currently, when the information about a namespace is empty (prefix and URI) an error message is displayed and an exception is thrown.

This situation causes issues since already existing mappings (in 3M) contains empty namespace info in the source_schema block.

In order to remain backwards compatible and allow previous mappings to be managed from the latest X3ML engine, we will throw an error and exception only if one of the fields is missing (either the prefix or the URI).

If both values are empty then, we will simply display a Warning message and continue the execution normally.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions