Re: [xsl] The data at the root level is invalid+xslt

Subject: Re: [xsl] The data at the root level is invalid+xslt
From: ram <ram_kurra@xxxxxxxxxxx>
Date: Wed, 22 Feb 2012 02:29:45 +0530 (IST)
Here is the complete example, Sorry some of the element got missed while doing
the editing


<soapenv:Envelope xmlns:tri="http://abc.com/WebServices.Common";
xmlns:ns="http://abc.com/Case/471"; xmlns:con="http://xyz.com/eb/context";
xmlns:head="http://xyz.com/eb/header";
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";>
<soapenv:Header>
        <head:ESBHeader>
            <head:ESBProps>
<head:Property>
                    <head:name>?</head:name>
<head:value>?</head:value>
                </head:Property>
</head:ESBProps>
            
        </head:ESBHeader>
        <con:Context>
<con:clientReqId>?</con:clientReqId>
            <con:transId>?</con:transId>
<con:msgTyp>?</con:msgTyp>
            <con:Security>
<con:UsernameToken>
                    <con:username></con:username>
<con:password>1</con:password>
</con:UsernameToken>
            </con:Security>
</con:Context>
    </soapenv:Header>
    <soapenv:Body>
<ns:SearchCases>
            <ns:request>
<tri:SessionId>?</tri:SessionId>
                <ns:Member>
<ns:MemberId>?</ns:MemberId>
                    <ns:SystemId>?</ns:SystemId>
</ns:Member>
                <ns:Pagination>
<ns:CurrentPageNumber>?</ns:CurrentPageNumber>
</ns:Pagination>
      
            </ns:request>
        </ns:SearchCases>
</soapenv:Body>
</soapenv:Envelope>


 so i am getting the following error
when try to do validation of generated xml, 

"Unable to locate a refernce to
a supported schematype(DTD,W3C Schema) with in document instance."

      how
do i fix this issue.
--- On Wed, 22/2/12, Markus Abt <abt@xxxxxxxx> wrote:

>
From: Markus Abt <abt@xxxxxxxx>
> Subject: Re: [xsl] The data at the root
level is invalid+xslt
> To: "'xsl-list@xxxxxxxxxxxxxxxxxxxxxx'"
<xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
> Date: Wednesday, 22 February, 2012, 2:24
AM
> ram wrote:
> >      I have soap request in which i am
> stripping off
some of the elements in the soap header
> elements and adding wssecurity
elements and activityId.
> >    I am not touching the soap body. i was
> just
copying it.
> 
> Then the soap body was broken before: missing
>
</ns:Pagination> end tag.
> 
> Markus
> 
> 
>
--~------------------------------------------------------------------
>
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> To
unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
> or e-mail:
<mailto:xsl-list-unsubscribe@xxxxxxxxxxxxxxxxxxxxxx>
> --~--

Current Thread