Thread: [Htt-developers] HTTP command libXML2 < 2.6.27 and XML command implementation
Brought to you by:
ia97lies
From: Rafael T. <rdt...@gm...> - 2013-02-21 21:00:54
|
Hi all, I don't know the proper way to submit an patch, so follow attached my contributions to the project. Basically I did the following: 1) Old versions of libxml2 does not expose the htmlNewParserCtxt (and htmlInitParserCtxt which it uses) method. htmlNewParserCtxt wasn't added to the libxml2 header files until 2.6.27. So I've simply copied them ( with a small modification) from a newer version of libxml2. 2) I've implemented a XML command, which I can use to parse XML responses using XPath. I hope you guys enjoy it. []'s Rafael Torres |
From: Christian L. <li...@gm...> - 2013-02-22 06:15:02
|
Hi Rafael Thanks for the contribution. Currently I do not have a proper way to receive contributions. But your's the second in weeks, so I will think about that :) I will have a look at your patch within the next days and see if I could integrate it. Many Thanks. Regards Christian On 02/21/13 22:00, Rafael Torres wrote: > Hi all, > > I don't know the proper way to submit an patch, so follow attached my > contributions to the project. Basically I did the following: > > 1) Old versions of libxml2 does not expose the htmlNewParserCtxt (and > htmlInitParserCtxt which it uses) method. htmlNewParserCtxt wasn't > added to the libxml2 header files until 2.6.27. So I've simply copied > them ( with a small modification) from a newer version of libxml2. > > 2) I've implemented a XML command, which I can use to parse XML > responses using XPath. > > I hope you guys enjoy it. > > []'s > Rafael Torres > > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_d2d_feb > > > _______________________________________________ > Htt-developers mailing list > Htt...@li... > https://lists.sourceforge.net/lists/listinfo/htt-developers |
From: Christian L. <li...@gm...> - 2013-02-25 07:16:05
|
Rafael, I integrated your module, looks quite straightforward and simple. All my tests are green. I would like to have at least one test for new features/commands. Perhaps you have one? Else I'll try it by myself and add one. The xml_module can be enabled like the html module ./configure --enable-xml-module This will be integrated within the next release. I think it will be useful for soap based tests :) Regards Christian On 02/21/2013 10:00 PM, Rafael Torres wrote: > Hi all, > > I don't know the proper way to submit an patch, so follow attached my > contributions to the project. Basically I did the following: > > 1) Old versions of libxml2 does not expose the htmlNewParserCtxt (and > htmlInitParserCtxt which it uses) method. htmlNewParserCtxt wasn't > added to the libxml2 header files until 2.6.27. So I've simply copied > them ( with a small modification) from a newer version of libxml2. > > 2) I've implemented a XML command, which I can use to parse XML > responses using XPath. > > I hope you guys enjoy it. > > []'s > Rafael Torres > > > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_d2d_feb > > > > _______________________________________________ > Htt-developers mailing list > Htt...@li... > https://lists.sourceforge.net/lists/listinfo/htt-developers > |
From: Rafael T. <rdt...@gm...> - 2013-02-26 03:12:35
Attachments:
xmltest.htt
|
Hi Christian, Find attached a test that you can use. Thanks for taking some time to revise and add this module to your tool. As you said, it is useful to test some SOAP services. Instead of creating --enable-xml-module and a --enable-html-module option, how about creating a single --enable-libxml option? []'s Rafael Torres On Mon, Feb 25, 2013 at 2:15 AM, Christian Liesch <li...@gm...> wrote: > Rafael, > > I integrated your module, looks quite straightforward and simple. All my > tests are green. I would like to have at least one test for new > features/commands. Perhaps you have one? Else I'll try it by myself and > add one. > > The xml_module can be enabled like the html module > > ./configure --enable-xml-module > > This will be integrated within the next release. I think it will be > useful for soap based tests :) > > Regards > Christian > > > > On 02/21/2013 10:00 PM, Rafael Torres wrote: >> Hi all, >> >> I don't know the proper way to submit an patch, so follow attached my >> contributions to the project. Basically I did the following: >> >> 1) Old versions of libxml2 does not expose the htmlNewParserCtxt (and >> htmlInitParserCtxt which it uses) method. htmlNewParserCtxt wasn't >> added to the libxml2 header files until 2.6.27. So I've simply copied >> them ( with a small modification) from a newer version of libxml2. >> >> 2) I've implemented a XML command, which I can use to parse XML >> responses using XPath. >> >> I hope you guys enjoy it. >> >> []'s >> Rafael Torres >> >> >> >> ------------------------------------------------------------------------------ >> Everyone hates slow websites. So do we. >> Make your web apps faster with AppDynamics >> Download AppDynamics Lite for free today: >> http://p.sf.net/sfu/appdyn_d2d_feb >> >> >> >> _______________________________________________ >> Htt-developers mailing list >> Htt...@li... >> https://lists.sourceforge.net/lists/listinfo/htt-developers >> > > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_d2d_feb > _______________________________________________ > Htt-developers mailing list > Htt...@li... > https://lists.sourceforge.net/lists/listinfo/htt-developers On Mon, Feb 25, 2013 at 2:15 AM, Christian Liesch <li...@gm...> wrote: > Rafael, > > I integrated your module, looks quite straightforward and simple. All my > tests are green. I would like to have at least one test for new > features/commands. Perhaps you have one? Else I'll try it by myself and > add one. > > The xml_module can be enabled like the html module > > ./configure --enable-xml-module > > This will be integrated within the next release. I think it will be > useful for soap based tests :) > > Regards > Christian > > > > On 02/21/2013 10:00 PM, Rafael Torres wrote: >> Hi all, >> >> I don't know the proper way to submit an patch, so follow attached my >> contributions to the project. Basically I did the following: >> >> 1) Old versions of libxml2 does not expose the htmlNewParserCtxt (and >> htmlInitParserCtxt which it uses) method. htmlNewParserCtxt wasn't >> added to the libxml2 header files until 2.6.27. So I've simply copied >> them ( with a small modification) from a newer version of libxml2. >> >> 2) I've implemented a XML command, which I can use to parse XML >> responses using XPath. >> >> I hope you guys enjoy it. >> >> []'s >> Rafael Torres >> >> >> >> ------------------------------------------------------------------------------ >> Everyone hates slow websites. So do we. >> Make your web apps faster with AppDynamics >> Download AppDynamics Lite for free today: >> http://p.sf.net/sfu/appdyn_d2d_feb >> >> >> >> _______________________________________________ >> Htt-developers mailing list >> Htt...@li... >> https://lists.sourceforge.net/lists/listinfo/htt-developers >> > > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_d2d_feb > _______________________________________________ > Htt-developers mailing list > Htt...@li... > https://lists.sourceforge.net/lists/listinfo/htt-developers |