Subject: Re: [xsl] The data at the root level is invalid+xslt From: David Carlisle <davidc@xxxxxxxxx> Date: Wed, 22 Feb 2012 00:41:02 +0000 |
Guys, Without compilation and running the program, how can i say that there is problem with my xsl, Rather than arguing the syntax errors you can look at the real problem too
As Michael said, how can we know what the real problem is if the code you post clearly isn't generating the error message that you give (since the original version would not have run at all and this version runs without error producing the result below on your given input)
your experts and helping hands for new guys.) I have corrected the request and code multiple times and round and round coming to the same point syntax problem blah blah.
You seem to be trivialising the fact that we pointed out that the code you posted was incapable of producing any output?
Your corrected stylesheet produces this result on the posted xml (using saxon6 as a reference xslt 1 implementation)
</ns:request> </ns:Search> </soapenv:Body> </soapenv:Envelope>
which is well formed XML but without any schema or dtd reference so the following message is to be expected, and not necessarily an error:
When i do the validation for the generated xml in xmlspy i got the following error.
Unable to locate a reference to a supported schema type (DTD, W3C Schema) within this document instance.
> The error that I am getting when i hit the backend service provider > is > > <s:Body><s:Fault><faultcode > xmlns:a="http://schemas.microsoft.com/net/2005/12/windowscommunicationfoundation/dispatcher">a:DeserializationFailed</faultcode><faultstring > xml:lang="en-US">The formatter threw an exception while trying to > deserialize the message: Error in deserializing body of request > message for operation 'Search'. The data at the root level is > invalid. Line 69, position 4.</faultstring
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] The data at the root leve, ram | Thread | Re: [xsl] The data at the root leve, Michel Hendriksen |
Re: [xsl] The data at the root leve, ram | Date | Re: [xsl] The data at the root leve, Michel Hendriksen |
Month |