Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: JiBX 1.2
-
Fix Version/s: JiBX 1.2.2
-
Component/s: None
-
Labels:None
-
Environment:Ubuntu 8.10, java version "1.6.0_10", Java(TM) SE Runtime Environment (build 1.6.0_10-b33), Java HotSpot(TM) Server VM (build 11.0-b15, mixed mode)
-
Testcase included:yes
-
Number of attachments :
Description
java -cp lib/jibx-tools.jar org.jibx.schema.codegen.CodeGen -w cwmp.xsd
Exception in thread "main" org.jibx.runtime.JiBXException: Expected "
restriction" end tag, found "
{http://www.w3.org/2001/XMLSchema}enumeration" start tag (line 53, col 36, in cwmp.xsd)
at org.jibx.runtime.impl.UnmarshallingContext.parsePastCurrentEndTag(UnmarshallingContext.java:736)
at org.jibx.schema.elements.FilteredSegmentList.JiBX_schema_noprefix_binding_unmarshal_3_21(FilteredSegmentList.java)
at org.jibx.schema.elements.SimpleTypeElement.JiBX_schema_noprefix_binding_unmarshal_5_0(SimpleTypeElement.java)
at org.jibx.schema.elements.JiBX_schema_xsprefix_bindingSimpleTypeElement_access.unmarshal()
at org.jibx.schema.elements.FilteredSegmentList.JiBX_schema_noprefix_binding_unmarshal_3_9(FilteredSegmentList.java)
at org.jibx.schema.elements.UnionElement.JiBX_schema_noprefix_binding_unmarshal_4_0(UnionElement.java)
at org.jibx.schema.elements.JiBX_schema_xsprefix_bindingUnionElement_access.unmarshal()
at org.jibx.schema.elements.FilteredSegmentList.JiBX_schema_noprefix_binding_unmarshal_3_21(FilteredSegmentList.java)
at org.jibx.schema.elements.SimpleTypeElement.JiBX_schema_noprefix_binding_unmarshal_5_0(SimpleTypeElement.java)
at org.jibx.schema.elements.JiBX_schema_xsprefix_bindingSimpleTypeElement_access.unmarshal()
at org.jibx.schema.elements.FilteredSegmentList.JiBX_schema_noprefix_binding_unmarshal_3_1(FilteredSegmentList.java)
at org.jibx.schema.elements.SchemaElement.JiBX_schema_noprefix_binding_unmarshal_3_0(SchemaElement.java)
at org.jibx.schema.elements.JiBX_schema_xsprefix_bindingSchemaElement_access.unmarshal()
at org.jibx.schema.elements.SchemaElement.unmarshal(SchemaElement.java)
at org.jibx.schema.codegen.CodeGen.load(CodeGen.java:306)
at org.jibx.schema.codegen.CodeGen.main(CodeGen.java:1616)
There were several separate problems in handling this schema, all of which have now been corrected.