[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xmlbeans-user
Subject:    getting value of invalid enum
From:       "Les Walker" <lawalker () nortel ! com>
Date:       2007-05-25 23:12:56
Message-ID: E63CD74A41BC06418D625A31BDE26E8D107E7ABA () zrtphxm1 ! corp ! nortel ! com
[Download RAW message or body]

Hi

Is it possible to "get" an attribute value for an enumerated simpleType
when it is invalid? The document being read contains invalid values to
certain restricted attributes and when the getter for the generated bean
is invoked to read it, an XmlValueOutOfRangeException is thrown. The
document instance is being created with the usual
<class>.Factory.parse() interface. The 
 getXXX() method is being invoked to retrieve the value which is an
Enum. Is there a way to do this through the generated beans interfaces,
or is DOM access needed? 

thanks for any suggestions

Les

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: user-help@xmlbeans.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic