Daniel, Just walking through odl (and potentially unreplied) emails .. ;-). Did we ever get around to address this in one way or the other ?
Werner > -----Original Message----- > From: Daniel Nilsson [mailto:[EMAIL PROTECTED] > Sent: Donnerstag, 24. August 2006 16:05 > To: [email protected] > Subject: [castor-user] SourceGeneration generates new > java.lang.Object("1.0") > > Hi > > I am using the SourceGenerator on a XSD which contains > attributes without a datatype but with the default value 1.0 > > <xs:attribute name="versionID" use="optional" > default="1.2"></xs:attribute> > > Ok that the xsd is incorrect, but the source-generator > creates the following java-code: > > private java.lang.Object _versionID = new java.lang.Object("1.0"); > > Which is not very correct... > > Eventhough the xsd is incorrect, would it not be better if > the source-generator uses the String-type instead of Object > in this scenario. Then it would at least produce Java-code > which will compile. > > Regards > Daniel Nilsson > > > > --------------------------------------------------------------------- > To unsubscribe from this list please visit: > > http://xircles.codehaus.org/manage_email > > > --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email

