Lack of typing of XML attributes in schema
Source
Website
- Read more about Lack of typing of XML attributes in schema
- 5 comments
- Log in or register to post comments
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.