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

Dennis Sosnoski closed JIBX-70.
-------------------------------


> Error msg: Expected "{urn}RequestContext" start tag, found "RequestContext" 
> start tag
> -------------------------------------------------------------------------------------
>
>                 Key: JIBX-70
>                 URL: http://jira.codehaus.org/browse/JIBX-70
>             Project: JiBX
>          Issue Type: Bug
>          Components: xsd2jibx
>    Affects Versions: 1.0-RC0, xsd2jibx 0.1
>         Environment: Windows XP SP2
>            Reporter: Heerak Roy
>            Assignee: Dennis Sosnoski
>             Fix For: JiBX 1.2.1
>
>         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

        

------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
jibx-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-devs

Reply via email to