SEnumVal does not produce correct output ----------------------------------------
Key: XERCESC-1914 URL: https://issues.apache.org/jira/browse/XERCESC-1914 Project: Xerces-C++ Issue Type: Bug Components: Samples/Tests Affects Versions: 3.1.0 Environment: Windows Reporter: David Burrell SEnumVal does not produce correct output. Our application relies on the ability to enumerate the grammar. The last release that worked correctly was 2.3.0. We cannot upgrade to any later version until we find a solution to this problem. The main problem is that the content model appears to be incorrect. This can be seen by comparing formatted content models produced by SEnumVal. Here is partial output from SEnumVal, comparing 2.3.0 with 3.1.0... xerces-c 2.3.0: (showing correct output) -------------------------------------------- Name: category Model Type: Children Create Reason: Declared ContentType: OneOrMore Content Model: (severity)+ ComplexType: TypeName: ,C2 ContentType: OneOrMore Attributes: Name: name Type: CDATA Default Type: #REQUIRED Base Datatype: string Name: categoryCode Type: CDATA Default Type: #REQUIRED Base Datatype: string Enumeration: 0 1 2 -------------------------------------------- 3.1.0: ( incorrect - content model should be '(severity)+' ) -------------------------------------------- Name: category Model Type: Children Create Reason: Declared ContentType: ModelGroupSequence Content Model: (severity,) ComplexType: TypeName: ,__AnonC2 ContentType: ModelGroupSequence Attributes: Name: categoryCode Type: CDATA Default Type: #REQUIRED Base Datatype: string Enumeration: 0 1 2 Name: name Type: CDATA Default Type: #REQUIRED Base Datatype: string -------------------------------------------- -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: c-dev-unsubscr...@xerces.apache.org For additional commands, e-mail: c-dev-h...@xerces.apache.org