[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jibx-devs
Subject:    [jibx-devs] [jira] Updated: (JIBX-154) Fails when <xsd:group> falls
From:       "Randal Cobb (JIRA)" <jira () codehaus ! org>
Date:       2007-02-14 21:23:21
Message-ID: 116997988.1171488201889.JavaMail.haus-jira () codehaus01 ! managed ! contegix ! com
[Download RAW message or body]


     [ http://jira.codehaus.org/browse/JIBX-154?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel \
]

Randal Cobb updated JIBX-154:
-----------------------------

    Attachment: PayrollFederalTaxWithholding-RAC.xsd

Actually attached the correct file this time.  ;/

> Fails when <xsd:group> falls within an <xsd:complexType> block
> --------------------------------------------------------------
> 
> Key: JIBX-154
> URL: http://jira.codehaus.org/browse/JIBX-154
> Project: JiBX
> Issue Type: Bug
> Components: xsd2jibx
> Affects Versions: xsd2jibx-beta0.2
> Environment: Suse SLED10 Linux, Sun Java 1.5.0_11
> Reporter: Randal Cobb
> Priority: Critical
> Attachments: PayrollFederalTaxWithholding-RAC.wsdl~, \
> PayrollFederalTaxWithholding-RAC.xsd 
> 
> When using the xsd2jibx tool (rebuilt  and repackaged to use the jibx 1.1.3 \
>                 libraries) on the attached xsd, the following exception is thrown:
> org.jibx.xsd2jibx.GeneratorException: unable to unmarshall
> Root cause: org.jibx.runtime.JiBXException: Expected "complexType" end tag, found \
> "group" start tag (line 18, col 31)  at \
> org.jibx.xsd2jibx.XsdSchema.unmarshall(XsdSchema.java:380)  at \
> org.jibx.xsd2jibx.XsdSchema.unmarshall(XsdSchema.java:254)  at \
> org.jibx.xsd2jibx.Generator.execute(Generator.java:170)  at \
> org.jibx.xsd2jibx.Generate.generate(Generate.java:131)  at \
> org.jibx.xsd2jibx.Generate.main(Generate.java:182) Caused by: \
> org.jibx.runtime.JiBXException: Expected "complexType" end tag, found "group" start \
> tag (line 18, col 31)  at \
> org.jibx.runtime.impl.UnmarshallingContext.parsePastCurrentEndTag(UnmarshallingContext.java:793)
>   at org.jibx.xsd2jibx.JiBX_xsdXsdComplexType_access.unmarshal()
> 	at org.jibx.xsd2jibx.JiBX_MungeAdapter.JiBX_xsd_unmarshal_1_1()
> 	at org.jibx.xsd2jibx.XsdSchema.JiBX_xsd_unmarshal_1_0(XsdSchema.java)
> 	at org.jibx.xsd2jibx.JiBX_xsdXsdSchema_access.unmarshal()
> 	at org.jibx.runtime.impl.UnmarshallingContext.unmarshalElement(UnmarshallingContext.java:2538)
>   at org.jibx.runtime.impl.UnmarshallingContext.unmarshalDocument(UnmarshallingContext.java:2681)
>   at org.jibx.xsd2jibx.XsdSchema.unmarshall(XsdSchema.java:378)
> 	at org.jibx.xsd2jibx.XsdSchema.unmarshall(XsdSchema.java:254)
> 	at org.jibx.xsd2jibx.Generator.execute(Generator.java:170)
> 	at org.jibx.xsd2jibx.Generate.generate(Generate.java:131)
> 	at org.jibx.xsd2jibx.Generate.main(Generate.java:182)
> Cause: org.jibx.runtime.JiBXException: Expected "complexType" end tag, found \
> "group" start tag (line 18, col 31)  at \
> org.jibx.runtime.impl.UnmarshallingContext.parsePastCurrentEndTag(UnmarshallingContext.java:793)
>   at org.jibx.xsd2jibx.JiBX_xsdXsdComplexType_access.unmarshal()
> 	at org.jibx.xsd2jibx.JiBX_MungeAdapter.JiBX_xsd_unmarshal_1_1()
> 	at org.jibx.xsd2jibx.XsdSchema.JiBX_xsd_unmarshal_1_0(XsdSchema.java)
> 	at org.jibx.xsd2jibx.JiBX_xsdXsdSchema_access.unmarshal()
> 	at org.jibx.runtime.impl.UnmarshallingContext.unmarshalElement(UnmarshallingContext.java:2538)
>   at org.jibx.runtime.impl.UnmarshallingContext.unmarshalDocument(UnmarshallingContext.java:2681)
>   at org.jibx.xsd2jibx.XsdSchema.unmarshall(XsdSchema.java:378)
> 	at org.jibx.xsd2jibx.XsdSchema.unmarshall(XsdSchema.java:254)
> 	at org.jibx.xsd2jibx.Generator.execute(Generator.java:170)
> 	at org.jibx.xsd2jibx.Generate.generate(Generate.java:131)
> 	at org.jibx.xsd2jibx.Generate.main(Generate.java:182)
> This same xsd works fine when used with XMLBeans

-- 
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

        

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
jibx-devs mailing list
jibx-devs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-devs


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic