Hi Surjit, Xsd2Jibx doesn't have much in the way of customization support. The replacement code is nearing completion, but probably won't be available to the public until around April. All I can suggest in the meantime is that you do a search and replace in the generated code.
- Dennis Dennis M. Sosnoski SOA and Web Services in Java Training and Consulting http://www.sosnoski.com - http://www.sosnoski.co.nz Seattle, WA +1-425-939-0576 - Wellington, NZ +64-4-298-6117 Konjengbam Singh wrote: > > I have an xsd which have a an element something like this: > > <xsd:element name="CreateApplication"> > > <xsd:complexType> > > <xsd:sequence> > > <xsd:element minOccurs="0" maxOccurs="1" name="m_sName" > type="xsd:string" /> > > <xsd:element minOccurs="0" maxOccurs="1" name="m_sDescription" > type="xsd:string" /> > > <xsd:element minOccurs="0" maxOccurs="1" name="m_sAppClass" > type="xsd:string" /> > > <xsd:element minOccurs="1" maxOccurs="1" name="m_sParentID" > type="xsd:int" /> > > </xsd:sequence> > > </xsd:complexType> > > </xsd:element> > > When I run the xsd2Jibx on this xsd, then the generated class has the > field name as follows: > > String mSName; > > String mSDescription; > > String mSAppClass; > > String mSParentID; > > So, this means any element with the name attribute having an “_” > [underscore] is getting replaced with the next letter in caps. > > If I want to preserve the name as it is (i.e. with the underscore > intact), do I need to set any parameter when I run the xsd2Jibx? > > Thanks > > Surjit > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > ------------------------------------------------------------------------ > > _______________________________________________ > jibx-users mailing list > jibx-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jibx-users > ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ jibx-users mailing list jibx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-users