<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapping PUBLIC "-//EXOLAB/Castor Object Mapping DTD Version 1.0//EN" 
"Mapping\mapping.dtd">
<mapping>
        <description xmlns="">Guidancer V5.0.01007 Mapping File</description>
        <class name="testdesigner.persistence.Content">
                <map-to xml="content"/>
                <field name="model" 
type="testdesigner.models.TestDesignerModel" direct="true">
                        <bind-xml name="project" node="element"/>
                </field>
        </class>
        <class name="testdesigner.models.TestDesignerModel" 
auto-complete="false">

                <!-- maybe you missed this -->
                <map-to xml="project"/>

                <field name="name" type="java.lang.String">
                        <bind-xml name="name" node="element"/>
                </field>
        </class>
</mapping>

> -----邮件原件-----
> 发件人: Patrick Möller [mailto:[email protected]]
> 发送时间: 2011年4月26日 16:18
> 收件人: [email protected]
> 主题: [castor-user] castor unmarshalling with xmlns and xmlns:xsi in root
> elemet with a mapping file
> 
> Hi @ all. Sorry my provider always cuts off my email. I dont know why. I
> attached my previous email to this mail in a *.txt file Greetings Patrick 
> Möller
> ___________________________________________________________
> WEB.DE DSL Doppel-Flat ab 19,99 &euro;/mtl.! Jetzt mit gratis Handy-Flat!
> http://produkte.web.de/go/DSL_Doppel_Flatrate/2

Reply via email to