Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Duplicate
-
Affects Version/s: 0.9.6, 0.9.7
-
Fix Version/s: 1.0.4
-
Component/s: XML code generator
-
Labels:None
-
Environment:HP-UX 11.0
-
Number of attachments :
Description
(From the mail list – ATTN Werner Guttmann)
I am trying to upgrade from castor 0.9.3 to 0.9.6 (or 9.7). I am finding that castor is not creating all of the methods in the generated java classes in 0.9.6 that it generated in 0.9.3.
We call the source generator using:
$(JDKDIR)/java -cp $(CLASSPATH) org.exolab.castor.builder.SourceGenerator -i $(SCHEMA) -package sentry.config -f
I have tried this using our old version of xerces (xerces.jar version 1.4.4) and the newer xerces (xml-apis.jar and xercesImpl.jar version 2.6.2) with the same result. Since the schema hasn't changed, the only other variable is castor. Perhaps I missed a configuration step somewhere?
Issue Links
- is related to
-
CASTOR-1678
CLONE -Missing methods in generated class
-
sentry schema not valid
<xsd:element name="identifier" type="xsd:positiveInteger" default="-1" minOccurs="0"/>
for type 'positiveinteger' default value cant be -1