[ http://jira.codehaus.org/browse/JIBX-282?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dennis Sosnoski resolved JIBX-282. ---------------------------------- Resolution: Fixed Fix Version/s: JiBX 1.2.2 Assignee: Dennis Sosnoski There were several separate problems in handling this schema, all of which have now been corrected. > JiBX fails on http://www.broadband-forum.org/cwmp/cwmp-1-1.xsd > -------------------------------------------------------------- > > Key: JIBX-282 > URL: http://jira.codehaus.org/browse/JIBX-282 > Project: JiBX > Issue Type: Bug > Affects Versions: JiBX 1.2 > 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) > Reporter: Anders Norgaard > Assignee: Dennis Sosnoski > Fix For: JiBX 1.2.2 > > > java -cp lib/jibx-tools.jar org.jibx.schema.codegen.CodeGen -w cwmp.xsd > Exception in thread "main" org.jibx.runtime.JiBXException: Expected > "{http://www.w3.org/2001/XMLSchema}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) -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ jibx-devs mailing list jibx-devs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-devs