aspose file tools*
The moose likes Other Open Source Projects and the fly likes using JiBX Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "using JiBX" Watch "using JiBX" New topic
Author

using JiBX

Denis Mir
Greenhorn

Joined: Jul 20, 2009
Posts: 12
Hello,

I'm getting this error

org.jibx.runtime.JiBXException: Expected "{http://company.com/otc}clientKey" start tag, found "{http://company.com/otc}clientKey" end tag (line 3, col 37)

When trying to unmarshall this XML



My XSDs are as follows

Test.xsd




Stypes.xsd




Messages.xsd



I'm parsing same XML using XMLBeans and everything is fine. When I remove clientKey reference
from schema unmarshalling works. Can anybody point me in right direction?

Denis
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19541
    
  16

Moving to Other Open Source Projects


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: using JiBX
 
Similar Threads
Unqualified elment - but still have prefix at the root
WSSecurity, MTOM and TIBCO 5.6
JAXB issue | Jboss error on startup
how to import 2 xsd's which have same namespace?
valiating xml using multiple schemas