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/24 11:10:25 UTC

[jira] Updated: (AXISCPP-223) when an string element contain "<" ">", the extracted result lost some of content

The following issue has been updated:

    Updater: MENG Xinxin (mailto:mxx@xinsu.com)
       Date: Sun, 24 Oct 2004 2:09 AM
    Comment:
AXISCPP-184,223 fix patch, change malloc/free to new/delete, and use XMLString::release method to release string buffer. 
    Changes:
             Attachment changed to XercesHandler.cpp-1.8.diff
    ---------------------------------------------------------------------
For a full history of the issue, see:

  http://issues.apache.org/jira/browse/AXISCPP-223?page=history

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/AXISCPP-223

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: AXISCPP-223
    Summary: when an string element contain "<" ">", the extracted result lost some of content
       Type: Bug

     Status: Unassigned
   Priority: Major

    Project: Axis-C++
 Components: 
             XML parser abstraction layer

   Assignee: 
   Reporter: MENG Xinxin

    Created: Sat, 23 Oct 2004 11:31 PM
    Updated: Sun, 24 Oct 2004 2:09 AM
Environment: xerces 2.5 and xerces 2.6

Description:
when using Xerces parser, xml element such as: <some>&lt;String&gt;</some>, would only get the last ">", other content lost.

reasons maybe: xerces parser call XercesHandler::characters() twice,
the first time return content "<String", and the second time return ">". the second value cover the first one.



---------------------------------------------------------------------
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