Hi,
If I have a schema element like this:
<xsd:element name="nillable" type="xsd:decimal" nillable="true"/>
and end up with an xml like this:
<nillable></nillable>
When I parse that xml with xmlbeans, I seem to get an
XmlValueOutOfRangeException
for the methods: isNilNillable() and getNillable().
So I have a couple of questions:
- Shouldn't my XML get parsed as nil?
- If not, is there a way to specify the schema so it is parsed as nil?
For complicated reasons, I don't necessarily control the XML I'm
recieving.
Also, I'm actually invoking the isNil... and get... methods via
reflection,
so I'm having trouble actually catching the exception.
Thanks,
-kevin
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]