Can anyone explain why I get this JiBXException (see below)?

*My XML:
*<e k="dek" t="12">
<c><![CDATA[<span class="a2"><b class="dr">update</b></span> The company plans to use Singingfish technology to improve its own Web search engine by letting users look for audio and video content.^M
]]></c>
</e>


*The binding.xml:
* <mapping name="e" class="com.cnetnetworks.framework.data.cache.xpub.PseudoMapEntry" >
<value style="attribute" name="k" field="key" />
<value style="attribute" name="t" field="type" />
<value style="element" name="v" field="value" usage="optional" />
<value style="cdata" name="c" field="cdataValue" usage="optional" />
</mapping>


*Error when I try to jibx-bind:
*org.jibx.runtime.JiBXException: Name not allowed for text or CDATA value at tag "value"(line 22, col 77, in /home/johnc/projects/xpub/cvs/java/src/com/cnetnetworks/framework/data/cache/xpub/datasource-jibx-binding.xml)


Thanks

John



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
jibx-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to