Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
None
-
None
Description
I can define an SDO based on an xml schema which uses the type xsd:token. This is mapped to a String SDO type. I can then create an SDO based off this model and set the string value of that property to something like " foo bar ". This is invalid against the schema (xsd:token), but valid against the SDO model (string), so I wouldn't necessarily expect an error or warning at this point. I can then write out the SDO as XML and it writes out the string value " foo bar " which is not valid against the xml schama. I would expect the data to either be modified to be serialized out following the schema (e.g. "foo bar"), or some kind of warning/error to be generated.