[jQuery] Re: HTML Parsing issue

2008-07-11 Thread shruthi

Hi,

Thanks for your reply!

> I notice your request has a closing tag after a self-closing tag.
> ...

 is closing the tag 
 is a self closing tag.

The soap request is generated by the axis client and I don't really
have any control on how it gets generated. The above request is
valid and it works fine otherwise.

Any other suggestions to work around this problem usign JQuery?

On Jul 9, 10:30 pm, [EMAIL PROTECTED] wrote:
> I notice your request has a closing tag after a self-closing tag.
> ...
>  shouldn't close itself and
> also have a closing tag. That would and should invalidate your soap
> request if I am correct without jquery interfering.
>
> try making the original request valid xml and check it again. IE..
> ...
>   notice that the first open
> tag is not self-closed allowing the  tag to be the closing
> entity.
>
> Also for future reference, always try and validate the xml involved in
> your SOAP requests. I find it helps a great deal in debugging them.
>
> On Jul 8, 6:19 am,shruthi<[EMAIL PROTECTED]> wrote:
>
> > Hi,
>
> > I noticed JQuery does some clean up while appending html to an
> > element. This is a problem for me,
> > because I'm trying to use a text area which gets loaded with a soap
> > request.
>
> > My soap request looks like this.
>
> >  > xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";
> > xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
> > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";> > soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
> > xmlns:ns1="http://ws.apache.org/axis2";> > ns1:echoInteger> > soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
> > xsi:type="soapenc:int" xmlns:soapenc="http://schemas.xmlsoap.org/soap/
> > encoding/">1
>
> > JQuery is closing the tag  as . This makes my soap
> > request invalid.
>
> > Is there a way to turn off this feature? Even a workaround would be
> > great!


[jQuery] HTML Parsing issue

2008-07-08 Thread shruthi

Hi,

I noticed JQuery does some clean up while appending html to an
element. This is a problem for me,
because I'm trying to use a text area which gets loaded with a soap
request.

My soap request looks like this.

http://schemas.xmlsoap.org/soap/envelope/";
xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:xsi="http://
www.w3.org/2001/XMLSchema-instance">http://schemas.xmlsoap.org/soap/encoding/";
xmlns:ns1="http://ws.apache.org/axis2";>http://schemas.xmlsoap.org/soap/encoding/";
xsi:type="soapenc:int" xmlns:soapenc="http://schemas.xmlsoap.org/soap/
encoding/">1


JQuery is closing the tag  as . This makes my soap
request invalid.

Is there a way to turn off this feature? Even a workaround would be
great!