No way to reuse external namespaces (and their objects) in schema mapping

Submitted by Josef Kaltwasser on Friday, 26 July, 2013 - 15:21
Issue ID
129
Component
Methodology
Category
Feature request
Priority
Normal
Assigned
Status
Fixed
Source
Website
Description

The current mapping of DATEX II to XML schema definitions (XSD) does not support importing other namespaces, since the schemaTypeInclude tagged value does allow providing a bespoke schema definition for a datatype (as used for example for the MultiLingualString class) but this definition is just put as some kind of text macro at the place where the tool would introduce its own type definition if a standard mapping mechanism had been sued instead.

Unfortunatley reusing data structures from external specifications usually also requires importing external schemas and declaring their namespaces (see http://www.w3.org/TR/xmlschema-0/#import). SInce there is no way in the mapping that specifies how to create the required namespace declarations and import elements, such use of external schemas / namespaces is not possible.

Proposal: Include mechanisms in the XSD mapping to trigger creation of namespace declarations and schema imports.

Use Case: the issue appeared when trying to include an XMLDsig signature into a model extension. This was not possible since there was no way to declare the

http://www.w3.org/2000/09/xmldsig#

namespace and include the corresponding schema.
 

{"changeLogs":[{"date":1528109668822,"componentOLD":"- Select a value -","component":"Methodology","categoryOLD":"- Select a value -","category":"Feature request","priorityOLD":"- None -","priority":"Normal","statusOLD":"- None -","status":"Fixed","assignedOLD":"","assigned":"Josef Kaltwasser (18)"},{"date":1528109691448},{"date":1537269047179}]}

Posted by iancornwell on December 25, 2022 Permalink

UML profile changes agreed after email discussion with JJ, JK, IC, BdV and others. Agreed to add 3 stereotypes for external features, with some agreed tagged values. Added to profile and model in revision #709.

Posted by Josef Kaltwasser on August 25, 2022 Permalink

DATEX II v3.0 will have a feature to include external namespaces and objects from these..