Hi,
On 09.03.2011 17:12, rag007 wrote:
>
> Hi All,
>
> I am using castor in myapplication. I am new to this. I have one doubt
> please clarify as soon as possible.
>
> I have one xsd file through that i generated java files. Not an issue. Its
> ok for me. My question, is it possible to get mapping file along with that?
Why would you need a mapping file at all when you generate Java sources
from an XML schema. During code generation, Castor generates Java POJOs
AND descriptor classes, which are an optimized (internal) representation
of the XML to object mapping.
> I used gen-mapping command but its not working for me. I am using castor
> 1.3. Because I need to use custom namespace prefix in my xml.
Where's the issue. If your XML schema has correct namespace definitions,
Castor will use the right namespace URIs/prefixes for your XML.
>
> Kindly help me asap.
>
> Thanks in advance.
Kind Regards
Werner Guttmann
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email