Takashi Okamoto,
Please make sure you compile the generated *Descriptor classes. These are what tell castor how to marshal and unmarshal the objects. --Keith Takashi Okamoto wrote: > > Hi, castor > > I used CVS snapshot. > > When CastorObject created by following schema mashalled XML, I obtained > extra 'valid' and 'idCount' tag > > <?xml version="1.0" encoding="UTF-8"?> > <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"> > <xsd:element name="root"> > <xsd:complexType> > <xsd:sequence> > <xsd:element name="id" type="xsd:integer" minOccurs="1" > maxOccurs="unbounded"/> > </xsd:sequence> > </xsd:complexType> > </xsd:element> > </xsd:schema> > > Following XML is generated by Marshaller: > > <?xml version="1.0" encoding="UTF-8"?> > <root> > <idCount>1</idCount> > <valid>true</valid> > <id>1</id> > </root> > > Well, how can I remove valid and idCount tag from output XML? > > I could remove them by removing isValid() and getIdCount() methods in > generated Root.java. > But I don't want to modify generated source. > > If easy way is exists, please tell me. > > regards, > > Takashi Okamoto > > ----------------------------------------------------------- > If you wish to unsubscribe from this mailing, send mail to > [EMAIL PROTECTED] with a subject of: > unsubscribe castor-dev ----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to [EMAIL PROTECTED] with a subject of: unsubscribe castor-dev
