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>
   
   

Reply via email to