[ 
https://issues.apache.org/jira/browse/XERCESC-1914?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Boris Kolpackov updated XERCESC-1914:
-------------------------------------

    Fix Version/s: 3.1.1
                   3.2.0

Need to check what's going on here.

> 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
>             Fix For: 3.1.1, 3.2.0
>
>
> 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.
-
If you think it was sent incorrectly contact one of the administrators: 
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscr...@xerces.apache.org
For additional commands, e-mail: c-dev-h...@xerces.apache.org

Reply via email to