Invalid schema when deselecting Level B extension

Submitted by Joerg Freudenstein on Friday, 9 December, 2011 - 15:43
Issue ID
70
Component
Tool
Category
Bug report
Priority
Critical
Assigned
Status
Duplicate
Source
Website
Description

The default extension attribute for a component looks like this (here an example for the component 'Period'): <xs:element name="periodExtension" type="D2LogicalModel:_ExtensionType" minOccurs="0" /> If there is a Level-B-Extension for the component Period, it will look like this (no error so far): <xs:element name="periodExtension" type="D2LogicalModel:_PeriodExtensionType" minOccurs="0" /> Of course there will be a complex type "_PeriodExtensionType" defined. But if you now deselect the Level-B-Extension in the DATEX-Tool (and keep Period selected), the result will be the same, that means there will be a pointer to "D2LogicalModel:_PeriodExtensionType", but this time the specific complex type is not defined anywhere (so the schema is invalid!). Solution: When deselecting a Level-B extension, the Tool must point to the default Extension class "D2LogicalModel:_ExtensionType". Alternatly, the specific extension type could be defined as an empty complex tyoe.

{"changeLogs":[{"date":1528367387916,"componentOLD":"- Select a value -","component":"Tool","categoryOLD":"- Select a value -","category":"Bug report","priorityOLD":"- None -","priority":"Critical","assignedOLD":"","assigned":"jaderberg (22)","statusOLD":"- None -","status":"Duplicate"},{"date":1537269832152}]}

Posted by jaderberg on March 16, 2026 Permalink

This is the same issue as issue #50.