TMDM-6616: "Data Model Length does not change the table definition attribute size"

Takes into account xsd:length facet when parsing a simple type definition.
Merge branch 'master' into prototype/joint_er