Thanks Dhananjay! That was it.
Dhananjay Ragade <[EMAIL PROTECTED]> wrote: Hi,
This is just a guess since I havent really tried this out with your data...but
I think your problem is that youve specified the ConPoint mapping as
abstract=true. Therefore since the conPT field in ClassA is a ConPoint, it
cannot instantiate a ConPoint object.
Remove the abstract=true in the ConPoint mapping and see what happens.
Thanks,
Dhananjay
On 12/28/07 1:06 PM, "apurva mistry" <[EMAIL PROTECTED]> wrote:
Hi all,
I will appreciate any help to resolve this error.
I get following error while running the sample xml provided below :-
Element "usage" has no mapping that extends com.ext.ConPoint
------ Sample xml --------
<ClassA>
<conPt>
<usage>Text</usage>
</conPt>
</ClassA>
-------- Binding ---------------
<mapping class="com.ext.ClassA" abstract="true">
<structure name="conPt" field="conPt" map-as="com.ext.ConPoint"
usage="optional"/>
</mapping>
<mapping class="com.ext.ConPoint" abstract="true" ordered="false">
<value style="element" name="usage" field="usage" usage="optional" />
<value style="element" name="typeName" field="type" usage="optional" />
<value style="element" name="persistenceKey" field="persistenceKey"
usage="optional" />
</mapping>
---------------------------------
Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it
now.
<http://us.rd.yahoo.com/evt=51733/*http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
>
---------------------------------
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
---------------------------------
_______________________________________________
jibx-users mailing list
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/_______________________________________________
jibx-users mailing list
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
A new smarter way of sharing your world with family and friends! Its secured,
so only people you invite will have access to your stuff.
http://www.myfamilycapsule.com/
---------------------------------
Never miss a thing. Make Yahoo your homepage.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
jibx-users mailing list
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users