Greetings,
I'm not a developer, but I wasn't able to find another way of communicating
the bug, except subscribing to this list. I hope, I'm not violating the
norms. This is the problem. I just downloaded castor 0.9.5. As with the
previous releases, it choked on the following schema type definition:
<xsd:simpleType name="NonceType">
<xsd:annotation>
<xsd:documentation>non-neg long integer</xsd:documentation>
</xsd:annotation>
<xsd:restriction base="xsd:nonNegativeInteger">
<xsd:maxInclusive value="9223372036854775807"/>
</xsd:restriction>
</xsd:simpleType>
castor:
[java] - using UNIX style line separation.
[java] Exception in thread "main" java.lang.NumberFormatException:
9223372036854775807
[java] at java.lang.Integer.parseInt(Integer.java:426)
[java] at java.lang.Integer.parseInt(Integer.java:463)
[java] at org.exolab.castor.xml.schema.Facet.toInt(Facet.java:144)
[java] at
org.exolab.castor.builder.types.XSInteger.setFacets(XSInteger.java:272)
[java] at
org.exolab.castor.builder.TypeConversion.convertType(TypeConversion.java:286)
[java] at
org.exolab.castor.builder.binding.XMLBindingComponent.getJavaType(XMLBindingComponent.java:1111)
[java] at
org.exolab.castor.builder.MemberFactory.createFieldInfo(MemberFactory.java:221)
[java] at
org.exolab.castor.builder.SourceFactory.processContentModel(SourceFactory.java:1366)
[java] at
org.exolab.castor.builder.SourceFactory.processContentModel(SourceFactory.java:1401)
[java] at
org.exolab.castor.builder.SourceFactory.processComplexType(SourceFactory.java:1332)
[java] at
org.exolab.castor.builder.SourceFactory.createSourceCode(SourceFactory.java:348)
[java] at
org.exolab.castor.builder.SourceGenerator.processComplexType(SourceGenerator.java:1282)
[java] at
org.exolab.castor.builder.SourceGenerator.createClasses(SourceGenerator.java:1246)
[java] at
org.exolab.castor.builder.SourceGenerator.createClasses(SourceGenerator.java:1177)
[java] at
org.exolab.castor.builder.SourceGenerator.generateSource(SourceGenerator.java:481)
[java] at
org.exolab.castor.builder.SourceGenerator.generateSource(SourceGenerator.java:540)
[java] at
org.exolab.castor.builder.SourceGenerator.generateSource(SourceGenerator.java:571)
[java] at
org.exolab.castor.builder.SourceGenerator.main(SourceGenerator.java:1126)
[java] Java Result: 1
Regards,
--
Aaron Stromas | "Tik-tik-tik!!!... ja, Pantani is weg..."
mailto:[EMAIL PROTECTED] | BRTN commentator
+1 (301) 493 4933 | L'Alpe d'Huez
http://www.izoard.com | 1995 Tour de France
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev