Issue Details (XML | Word | Printable)

Key: AXISCPP-184
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Samisa Abeysinghe
Reporter: Samisa Abeysinghe
Votes: 1
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Axis-C++

Client cannot handle '<' and '>' characters in deserializing a returned string

Created: 05/Oct/04 05:08 AM   Updated: 22/Jan/05 05:10 PM
Return to search
Component/s: Serialization
Affects Version/s: 1.3 Beta
Fix Version/s: 1.3 Final

Time Tracking:
Not Specified

Environment: All platforms

Resolution Date: 13/Oct/04 06:20 AM


 Description  « Hide
Client cannot handle '<' character and '>' characters while deserializing a returned string.

e.g.
If server response contains:
<echoStringReturn xsi:type="xsd:string">hello&lt; world</echoStringReturn>

the client get the return value as:
< world

If server response contains:
<echoStringReturn xsi:type="xsd:string">hello&gt; world</echoStringReturn>

the client get the return value as:
> world

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Samisa Abeysinghe added a comment - 13/Oct/04 06:20 AM
Fixed the problem for Xerces parser.
Expat parser did not need any fix, it works.

I used the following XML for testing with echoSting of base sample and it works:

<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <PaymentConfirmResponse xmlns="http://service.zx.chinavnet.com/v1.0/"> <PaymentConfirmResult> <SenderID/> <Result>-10021</Result> <ErrorDescription>XXXXX</ErrorDescription> </PaymentConfirmResult> </PaymentConfirmResponse> </soap:Body> </soap:Envelope>

One more observation: Xerces parser is much slower than Expat parser in this case.

Samisa Abeysinghe added a comment - 22/Jan/05 05:10 PM
Spped problems related to Xerces parser module has been fixed.
Expat parser module is no more supported as that module is no longer maintained.