Issue 16888: Grammar for XML Schema - XMI Canonical (canonical-xmi-ftf) Source: Georgia Institute of Technology (Dr. Mark Kindl, mark.kindl(at)gtri.gatech.edu) Nature: Uncategorized Issue Severity: Summary: As part of our UML work for the National Information Exchange Model (NIEM) we have encountered what appear to be errors in the grammars for XML Schema in several XMI specs. Please let us know if we have misinterpreted these issues Resolution: Address the issues spotted: they are all generally minor syntax/consistency errors and do not affect actual XMI interchanged. Note that for comment d4, the use of attributeGroup in rule 4e, this should be retained but encapsulated by a local xsd:complexType element. Note: the parallel issue for the main XMI spec is 16889, which fixed some further issues. Revised Text: All the following changes apply to section B3.2 Rule 4. ClassTypeDef. Replace 3rd line: "<xsd:extension base='" 4a:ClassTypeName "'")? By: "<xsd:extension base='" 4a:ClassTypeName "'>")? Replace 5th line: ( 4b:ClassContents By: 4b:ClassContents Replace last line: "</xsd:complexType> By: "</xsd:complexType>” Rule 4e. ClassReferences: Replace last line: "xsd:attributeGroup ref='linkAttribs'")* By "<xsd:complexType> "xsd:attributeGroup ref='linkAttribs' </xsd:complexType> />" )* Rule 4f ClassCompositions Replace last 4 lines: "type='" 4a:ClassTypeName "'/>" | (" ><xsd:complexType><xsd:choice>" ("<ref='" 4a: ClassTypeName "'/>")* "</xsd:choice></xsd:complexType></xsd:element>" ) )* By: ( ( "type='" 4a:ClassTypeName "'/>" ) | (" ><xsd:complexType><xsd:choice>" ("<xsd:element ref='" 4a: ClassTypeName "'/>")* "</xsd:choice></xsd:complexType></xsd:element>" ) ) )* Rule 6 StructuredDataTypeDef Replace 3rd line: "<xsd:extension base='" 6a:DataTypeName By: "<xsd:extension base='" 6a:DataTypeName " '>" )? Rule 7 AssociationDef Replace 1st line: "<xsd:element name='"' 7a:AssnElmtName '"'>" By: "<xsd:element name='" 7a:AssnElmtName "'>" Actions taken: December 8, 2011: received issue December 23, 2013: closed issue Discussion: End of Annotations:===== s is issue # 16888 Grammar for XML Schema - XMI Canonical As part of our UML work for the National Information Exchange Model (NIEM) we have encountered what appear to be errors in the grammars for XML Schema in several XMI specs. Please let us know if we have misinterpreted these issues see attached