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

Andy Brook resolved XMLBEANS-420.
---------------------------------

    Resolution: Invalid

My problem, old XML referring to old schema, not what Id compiled against.

> Enum values dont appear to be accessible
> ----------------------------------------
>
>                 Key: XMLBEANS-420
>                 URL: https://issues.apache.org/jira/browse/XMLBEANS-420
>             Project: XMLBeans
>          Issue Type: Bug
>    Affects Versions:  Version 2.3, Version 2.4 
>         Environment: Ubuntu x86_64/ SUN JDK 1.6.0_16
>            Reporter: Andy Brook
>
> Ive compiled a schema  via maven-xmlbeans, works perfectly, can validate 
> schema document via xbeans, can render out 99% of all values without a 
> problem.
> The only thing I cannot seem to get is Enum values.  The format of xml is 
> like:
> {code}
>           <W>
>             <Xs>
>               <X/>
>             </Xs>
>             <Ys>
>               <Y/>
>             </Yz>
>             <Z>XpanD</Z>
>           </W>
> {code}
> So, I can dump the node, I see Z and the text within.  I can also go 
> statically through the enum and list the enumerated values.
> On W there is a _isZ()_ method, calling this returns false for the two W's I 
> have, both of which have a value for Z.  If I go ahead and call W.getZ(), it 
> just returns null.
> The data is in there, I just can't get it out.  Ive tried 2.3 and 2.4.  Is 
> there something I'm missing (probable!) or is this a bug?
> worst case I'm gonna have to go to String processing to fix this, would be 
> nice to understand whats wrong and avoid scratchy string processing!

-- 
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: dev-unsubscr...@xmlbeans.apache.org
For additional commands, e-mail: dev-h...@xmlbeans.apache.org

Reply via email to