Thanks.
I had to extract the inner definitions out to get it work for now.
Also the 'clear' APIs are changed to 'removeAll' ... had to change 50 or so
Java caller files :-)
Werner Guttmann <[EMAIL PROTECTED]> wrote:
v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);}
st1\:*{behavior:url(#default#ieooui) } Theres already a Jira
issue addressing a similar issue. So please bear with us. Still Id appreciate
if you could open a new issue at http://jira.codehaus.org/browse/CASTOR, and
attach all relevant files to it.
Werner
---------------------------------
Von: Praveen Jani [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 02. März 2007 00:15
An: [email protected]
Betreff: [castor-user] Java Mapping/Packaging
Hi
I was using 0.9.6 earlier. I just upgraded to 1.0.5 and seeing problems
while source code generation. Earlier any annonymous complexType was generated
in the same package the parent was. Now it is generating it a "No package"
level. DO you know why ? I am newbie to Castor, please help.
In the following XML piece CommentVO is generated in the package it is
mapped to, but ReplyVOs is generated at "NO Package" level. Please help.
-Praveen
<xsd:complexType name="CommentVO">
<xsd:sequence>
<xsd:element name="commentId" type="xsd:long" minOccurs="0" maxOccurs="1"/>
<xsd:element name="parentCommentId" type="xsd:long" minOccurs="0"
maxOccurs="1"/>
<xsd:element name="discussionId" type="xsd:long" minOccurs="0"
maxOccurs="1"/>
<xsd:element name="subject" type="xsd:string" minOccurs="0" maxOccurs="1"/>
<xsd:element name="text" type="xsd:string" minOccurs="1" maxOccurs="1"/>
<xsd:element name="status" type="com:CommentStatus" minOccurs="0"
maxOccurs="1" />
<xsd:element name="createdBy" type="xsd:long" minOccurs="0" maxOccurs="1"/>
<xsd:element name="createdDate" type="xsd:dateTime" minOccurs="0"
maxOccurs="1"/>
<xsd:element name="replyVOs" minOccurs="1" maxOccurs="1">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="replyVO" type="com:CommentVO" minOccurs="0"
maxOccurs="unbounded" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>