You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by ax...@ws.apache.org on 2004/10/18 21:50:51 UTC
[jira] Updated: (AXISCPP-208) SoapDeSerializer doesn't check for expected end tag, it skips next tag instead
The following issue has been updated:
Updater: James Guido (mailto:james_guido@homedepot.com)
Date: Mon, 18 Oct 2004 12:49 PM
Comment:
diff with latest version of SoapDeSerializer
Changes:
Attachment changed to SoapDeSerializer.cpp.diff_with_latest_version_1.92
---------------------------------------------------------------------
For a full history of the issue, see:
http://issues.apache.org/jira/browse/AXISCPP-208?page=history
---------------------------------------------------------------------
View the issue:
http://issues.apache.org/jira/browse/AXISCPP-208
Here is an overview of the issue:
---------------------------------------------------------------------
Key: AXISCPP-208
Summary: SoapDeSerializer doesn't check for expected end tag, it skips next tag instead
Type: Bug
Status: Unassigned
Priority: Minor
Project: Axis-C++
Components:
Serialization/Deserialization
Versions:
1.3 Beta
Assignee:
Reporter: James Guido
Created: Mon, 18 Oct 2004 12:47 PM
Updated: Mon, 18 Oct 2004 12:49 PM
Environment: HP-UX with gnu compiler
Description:
Current code blindly skips next tag, when supposedly skipping end tag.
Case scenario:
If client and server have a mismatch such as an extra tag was added to client, but not yet to server. Server stops parsing due to unknown tag, and ignores all following tags. Server gets half of the data, instead of error'ng. This is a very undesirable behavior.
I'm posting a fix/change, where SoapDeSerializer checks for an end tag and the right tag name before skipping tag. If tag is not an ending tag or it does not have the right tag name, it errors.
I have only changed getCmplxObject and getCmplxArray for DOC_ENCODING.
Changes to the RPC_ENCODING code may also be desired.
Blindly skipping ending tags may be a desired performance improvement for simple tags (no nested tags).
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira