altinn-studio
altinn-studio copied to clipboard
Datamodelling: Using spaces in field-names causes xsd and c# class to fail to update
Description of the bug
Using spaces in field names appears to be invalid for xsd. However in the datamodelling tool, you are not prevented from adding spaces to field names or given any feedback that this is not allowed. Generating the new xsd and c# class therefore fails silently.
Steps To Reproduce
- Open an existing datamodel in altinn studio.
- Add a space to a field name.
- (optional): Make other changes to the datamodel.
- Save and push changes.
- The json-schema should be updated, but not the xsd or c# class.
Additional Information
No response