You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xmlbeans-dev@xml.apache.org by Sy...@aol.com on 2004/02/22 04:03:13 UTC
get() method of the generated java class returns Null
I use xmlbeans to generate code from my schema.
If my source xml file looks like this, the get() method of the generated
java class return the right value.
<DeliverReq
xmlns="url of the schema">
<Version>5.3.0</Version>
...
</DeliverReq>
But if the source file is this (declare a namespace for the schema, e.g.
'm'), then get() method return NULL.
<m:DeliverReq
xmlns:m="url of the schema">
<Version>5.3.0</Version>
...
</m:DeliverReq>
Could someone please tell me how to config xmlbean so that source xml #2 will
work too?