Lack of typing of XML attributes in schema

Submitted by Anonymous (not verified) on Monday, 17 May, 2010 - 15:50
Issue ID
3
Component
Methodology
Category
Feature request
Priority
Normal
Assigned
Status
Fixed
Source
Website
Description

The generated schema does not specify typing for "fixed" XML attributes e.g. the attributes "modelBaseVersion" and the "targetClass"
 

The lack of explicit type for the attributes causes it to default to xs:anySimpleType.

 

Wouldn’t it be more logical to make these explicit xs:string? It should make code generators produce more acceptable, deterministic code from the schema.

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

Posted by Joerg Freudenstein on April 25, 2024 Permalink

Will be fixed in version 3.0

Posted by jaderberg on June 25, 2022 Permalink

In version 3 of the tool I have fixed this. type is set to xs:string.