Error msg: Expected "{urn}RequestContext" start tag, found "RequestContext" 
start tag
-------------------------------------------------------------------------------------

         Key: JIBX-70
         URL: http://jira.codehaus.org/browse/JIBX-70
     Project: JiBX
        Type: Bug
  Components: xsd2jibx, core  
    Versions: xsd2jibx 0.1, 1.0-RC0    
 Environment: Windows XP SP2
    Reporter: Heerak Roy
    Priority: Critical
 Attachments: CustomerInvoiceRequest.xsd

My schema refers to a number of namepaces.

But whn I am trying to geneate binding classes using xsd2jibx-0.1 i am getting 
some warning.
like: "INFO JibxMapping:96 global element <mapping>: 
com.cardinal.ws.commonBasicElement
sXsd.USAddressType
WARN JibxMapping:94 global element class not found, mapping: com.ws.com
monBasicElementsXsd.UKAddressType com.ws.commonBasicElementsXsd.UKAddre
ssType"

But I am able to generate the classes and the package structure none the less.

Even when I am binding the classes I am not getting any error msg.

But when I am going to parse any sample  xml that conforms to this schema. i am 
getting error msg as belows
For thepupose of parsing I have written a simple java  class which creates an 
instance of Ibindingfactory, creates a context 
and then takes the xml as a file input stream. The same process succedded for 
simple schemas----

org.jibx.runtime.JiBXException: Expected 
"{http://ws.com/EbslRequest_1_0.xsd}RequestContext"; start tag, found 
"RequestContext" start tag (line 2, col 19)
        at 
org.jibx.runtime.impl.UnmarshallingContext.throwStartTagNameError(UnmarshallingContext.java:292)
        at 
org.jibx.runtime.impl.UnmarshallingContext.parsePastStartTag(UnmarshallingContext.java:786)
        at 
com.cardinal.ws.ebslRequest10Xsd.JiBX_invoiceServiceRequest10XsdRequestContextType_access.unmarshal()
        at 
com.cardinal.ws.invoiceServiceRequest10Xsd.CCMFRequest.JiBX_invoiceServiceRequest10Xsd_unmarshal_1_0(CCMFRequest.java)
        at 
com.cardinal.ws.invoiceServiceRequest10Xsd.JiBX_invoiceServiceRequest10XsdCCMFRequest_access.unmarshal()
        at 
org.jibx.runtime.impl.UnmarshallingContext.unmarshalElement(UnmarshallingContext.java:2614)
        at 
org.jibx.runtime.impl.UnmarshallingContext.unmarshalDocument(UnmarshallingContext.java:2782)
        at com.ws.invoiceServiceRequest10Xsd.testing.main(testing.java:48)



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



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
jibx-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-devs

Reply via email to