ST_TextAlignment is defined in wml.xsd and dml-diagramTypes.xsd. In the former, it takes values "left", "right", "center". In the latter, it takes values "l", "r", "ctr". Terminology should be consistent within a standard..
Remedy: Change "l", "r" and "ctr" in the latter to match the "left", "right", "center" values in the former
ST_TextAlignment
te
Proposed Disposition of DIS 29500 Comment GB-0631 (Modified: 2008-01-04) Agreed; this may cause confusion, therefore the schemas will be modified to make it clear that these two simple types are not the same and remove any chance for confusion. dml-diagramDefinition.xsd will be modified as follows: <xsd:simpleType name="ST_ Diagram TextAlignment" final="restriction"> <xsd:annotation> <xsd:documentation>Text Alignment</xsd:documentation> </xsd:annotation> <xsd:restriction base="xsd:token"> <xsd:enumeration value="l"> <xsd:annotation> <xsd:documentation>Left</xsd:documentation> </xsd:annotation> </xsd:enumeration> <xsd:enumeration value="ctr"> <xsd:annotation> <xsd:documentation>Center</xsd:documentation> </xsd:annotation> </xsd:enumeration> <xsd:enumeration value="r"> <xsd:annotation> <xsd:documentation>Right</xsd:documentation> </xsd:annotation> </xsd:enumeration> </xsd:restriction> </xsd:simpleType> dml-diagramDefinition.xsd will be modified as follows: <xsd:simpleType name="ST_ParameterVal"> <xsd:annotation> <xsd:documentation>Parameter Values</xsd:documentation> </xsd:annotation> <xsd:union memberTypes="ST_HorizontalAlignment ST_VerticalAlignment ST_ChildDirection ST_ChildAlignment ST_SecondaryChildAlignment ST_LinearDirection ST_SecondaryLinearDirection ST_StartingElement ST_BendPoint ST_ConnectorRouting ST_ArrowheadStyle ST_ConnectorDimension ST_RotationPath ST_CenterShapeMapping ST_NodeHorizontalAlignment ST_NodeVerticalAlignment ST_FallbackDimension ST_TextDirection ST_PyramidAccentPosition ST_PyramidAccentTextMargin ST_TextBlockDirection ST_TextAnchorHorizontal ST_TextAnchorVertical ST_ Diagram TextAlignment ST_AutoTextRotation ST_GrowDirection ST_FlowDirection ST_ContinueDirection ST_Breakpoint ST_Offset ST_HierarchyAlignment xsd:int xsd:double xsd:boolean xsd:string ST_ConnectorPoint" /> </xsd:simpleType>
