From: Paul P. <bay...@gm...> - 2011-04-13 14:42:35
|
Hi Domenico, It appears you have an outdated version. Please update to head & this should be resolved. Thanks, Paul On Wed, Apr 13, 2011 at 4:50 AM, <D.D...@ak...> wrote: > Hi all, > > I think I spotted a little bug you might be interested in. In my project, I > send SOAP requests to a server that I compose in a stringbuffer, like the > following > > query.append("<TripInformationRequest xmlns=\ > "http://xml.amadeus.com/ori/bpel/TripInformation/schema/TripInformationRequest\"<http://xml.amadeus.com/ori/bpel/TripInformation/schema/TripInformationRequest%5C> > ><recordLocator>"); > > When sending the request however, I was receiving a Routing Error from the > server that I couldn't understand. > After some packet sniffing I found out that, in the Objectve-C version of > the project, the line was translated as > > _r3.o = @"<TripInformationRequest xmlns=\\042 > http://xml.amadeus.com/ori/bpel/TripInformation/schema/TripInformationRequest\\042 > ><recordLocator>"; > > The \" pattern in the string was converted to \\042 which caused the > problem. > I solved the problem by modifying the xslt sheet as follows (at line 2944) > > <xsl:value-of > select="replace(replace(replace(replace(replace(replace(replace(replace(@value,'\\','\\\\'), > > '\\\\011','\\t'),'\\\\012','\\n'),'\\\\015','\\r'),'\\\\014','\\f'),'\\\\010','\\b'), > '"','\\"'), '\\\\042','\\"')"/> > > Practically I just added a new replace pattern at the end of all the > others. Do you think it might be a good solution? > > Thanks, > > Domenico > > > ------------------------------------------------------------------------------ > Forrester Wave Report - Recovery time is now measured in hours and minutes > not days. Key insights are discussed in the 2010 Forrester Wave Report as > part of an in-depth evaluation of disaster recovery service providers. > Forrester found the best-in-class provider in terms of services and vision. > Read this report now! http://p.sf.net/sfu/ibm-webcastpromo > _______________________________________________ > Xmlvm-developers mailing list > Xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-developers > > |