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 "jose (JIRA)" <ax...@ws.apache.org> on 2005/07/28 11:59:25 UTC

[jira] Created: (AXISCPP-770) const AnyElement* XMLParserXerces::next(bool isCharData) crashes

const AnyElement* XMLParserXerces::next(bool isCharData) crashes
----------------------------------------------------------------

         Key: AXISCPP-770
         URL: http://issues.apache.org/jira/browse/AXISCPP-770
     Project: Axis-C++
        Type: Bug
  Components: Parser Library - Xerces  
    Versions: 1.5 Final    
 Environment: linux 2.6.11
    Reporter: jose


The function const AnyElement* XMLParserXerces::next(bool isCharData) of XMLParserXerces.cpp crashes on the next line:

                bCanParseMore = m_pParser->parseNext(m_ScanToken);

I have tested with xerces 2.2 and with xerces 2.6 and the problem continues.

If I HTTP GET the Web Services List via http://localhost:8080/axis/ the parser works fine for the server.wsdd file, but when I
call the web service example Calculator and the engine tries to parse the soap request in process(), then crashes.

P.D.: Please, migrate to stable xerces 2.6

-- 
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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (AXISCPP-770) const AnyElement* XMLParserXerces::next(bool isCharData) crashes

Posted by "nadir amra (JIRA)" <ax...@ws.apache.org>.
    [ http://issues.apache.org/jira/browse/AXISCPP-770?page=comments#action_12427678 ] 
            
nadir amra commented on AXISCPP-770:
------------------------------------

There was a problem with XMLParserXerces::next in that it invoked m_pParser->parseNext(m_ScanToken) even when there may have been nothing to parse. 

I have fixed this (and simplified) and am currently running the test bucket, but the fix for XMLParserXerces::next  is as follows:

OLD CODE:
   bool bCanParseMore = false;
    while (true)
    {
        AnyElement* elem = m_Xhandler.getAnyElement();
        if (!elem)
        {
            //Chinthana:check the peek is called or not
            if(!m_bPeeked) 
                bCanParseMore = m_pParser->parseNext(m_ScanToken);
            else
            {
                m_bPeeked = false;
                bCanParseMore = true;
            }
            elem = m_Xhandler.getAnyElement();
        }
        if (elem)
        {
            if (!isCharData && (CHARACTER_ELEMENT == elem->m_type))
            { /* ignorable white space */
                m_Xhandler.freeElement();
                continue;
            }

            if( m_bPeeked )
                m_bPeeked = false;
            
            return elem;
        }
        else if (AXIS_FAIL == m_Xhandler.getStatus()) 
            return NULL;
        else if (!bCanParseMore) 
            return NULL;
    }

NEW CODE:

    bool bCanParseMore = true;
    AnyElement* elem;
    while (bCanParseMore)
    {
        // See if we have a token to consume
        elem = m_Xhandler.getAnyElement();
        
        // Since we have consumed whatever is there, ensure peek flag is set to false
        m_bPeeked = false;
        
        // If we do not have an element, then parse next token; else if
        // whitespace, ignore whitespace; else return token
        if (!elem)
        {     
            bCanParseMore = m_pParser->parseNext(m_ScanToken);
            if (AXIS_FAIL == m_Xhandler.getStatus())
                break;
        }
        else if (!isCharData && (CHARACTER_ELEMENT == elem->m_type))
            m_Xhandler.freeElement();
        else
            return elem;
    }
    
    return NULL;
==============================

The fix for XMLParserXerces::peek is as follows:

OLD CODE:

         
        bool bCanParseMore = true;
        
        m_Xhandler.freeElement();
        bCanParseMore = m_pParser->parseNext(m_ScanToken);
        AnyElement* elem = m_Xhandler.getAnyElement();
        while (CHARACTER_ELEMENT == elem->m_type) // we never peek for char data
                                                  //hence this is a white space
        { /* ignorable white space */
            m_Xhandler.freeElement();
            bCanParseMore = m_pParser->parseNext(m_ScanToken);
            elem = m_Xhandler.getAnyElement();
         }

NEW CODE:

        
        m_Xhandler.freeElement();
        
        AnyElement* elem;
        while (m_pParser->parseNext(m_ScanToken)) 
        { 
            // Attempt to get token
            elem = m_Xhandler.getAnyElement();
            
            // we never peek for char data hence this is a white space - ignore it.
            if (elem && CHARACTER_ELEMENT == elem->m_type)
                m_Xhandler.freeElement();
            else
                break;
         }

> const AnyElement* XMLParserXerces::next(bool isCharData) crashes
> ----------------------------------------------------------------
>
>                 Key: AXISCPP-770
>                 URL: http://issues.apache.org/jira/browse/AXISCPP-770
>             Project: Axis-C++
>          Issue Type: Bug
>          Components: Parser Library - Xerces
>    Affects Versions: 1.5 Final
>         Environment: linux 2.6.11
>            Reporter: jose
>         Assigned To: nadir amra
>
> The function const AnyElement* XMLParserXerces::next(bool isCharData) of XMLParserXerces.cpp crashes on the next line:
>                 bCanParseMore = m_pParser->parseNext(m_ScanToken);
> I have tested with xerces 2.2 and with xerces 2.6 and the problem continues.
> If I HTTP GET the Web Services List via http://localhost:8080/axis/ the parser works fine for the server.wsdd file, but when I
> call the web service example Calculator and the engine tries to parse the soap request in process(), then crashes.
> P.D.: Please, migrate to stable xerces 2.6

-- 
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
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


[jira] Commented: (AXISCPP-770) const AnyElement* XMLParserXerces::next(bool isCharData) crashes

Posted by "nadir amra (JIRA)" <ax...@ws.apache.org>.
    [ http://issues.apache.org/jira/browse/AXISCPP-770?page=comments#action_12427679 ] 
            
nadir amra commented on AXISCPP-770:
------------------------------------

I hope to have the code in SVN by Saturday morning, CDT.



> const AnyElement* XMLParserXerces::next(bool isCharData) crashes
> ----------------------------------------------------------------
>
>                 Key: AXISCPP-770
>                 URL: http://issues.apache.org/jira/browse/AXISCPP-770
>             Project: Axis-C++
>          Issue Type: Bug
>          Components: Parser Library - Xerces
>    Affects Versions: 1.5 Final
>         Environment: linux 2.6.11
>            Reporter: jose
>         Assigned To: nadir amra
>
> The function const AnyElement* XMLParserXerces::next(bool isCharData) of XMLParserXerces.cpp crashes on the next line:
>                 bCanParseMore = m_pParser->parseNext(m_ScanToken);
> I have tested with xerces 2.2 and with xerces 2.6 and the problem continues.
> If I HTTP GET the Web Services List via http://localhost:8080/axis/ the parser works fine for the server.wsdd file, but when I
> call the web service example Calculator and the engine tries to parse the soap request in process(), then crashes.
> P.D.: Please, migrate to stable xerces 2.6

-- 
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
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


[jira] Reopened: (AXISCPP-770) const AnyElement* XMLParserXerces::next(bool isCharData) crashes

Posted by "nadir amra (JIRA)" <ax...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/AXISCPP-770?page=all ]
     
nadir amra reopened AXISCPP-770:
--------------------------------


> const AnyElement* XMLParserXerces::next(bool isCharData) crashes
> ----------------------------------------------------------------
>
>          Key: AXISCPP-770
>          URL: http://issues.apache.org/jira/browse/AXISCPP-770
>      Project: Axis-C++
>         Type: Bug
>   Components: Parser Library - Xerces
>     Versions: 1.5 Final
>  Environment: linux 2.6.11
>     Reporter: jose

>
> The function const AnyElement* XMLParserXerces::next(bool isCharData) of XMLParserXerces.cpp crashes on the next line:
>                 bCanParseMore = m_pParser->parseNext(m_ScanToken);
> I have tested with xerces 2.2 and with xerces 2.6 and the problem continues.
> If I HTTP GET the Web Services List via http://localhost:8080/axis/ the parser works fine for the server.wsdd file, but when I
> call the web service example Calculator and the engine tries to parse the soap request in process(), then crashes.
> P.D.: Please, migrate to stable xerces 2.6

-- 
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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (AXISCPP-770) const AnyElement* XMLParserXerces::next(bool isCharData) crashes

Posted by "nadir amra (JIRA)" <ax...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/AXISCPP-770?page=all ]

nadir amra updated AXISCPP-770:
-------------------------------

    Comment: was deleted

> const AnyElement* XMLParserXerces::next(bool isCharData) crashes
> ----------------------------------------------------------------
>
>                 Key: AXISCPP-770
>                 URL: http://issues.apache.org/jira/browse/AXISCPP-770
>             Project: Axis-C++
>          Issue Type: Bug
>          Components: Parser Library - Xerces
>    Affects Versions: 1.5 Final
>         Environment: linux 2.6.11
>            Reporter: jose
>
> The function const AnyElement* XMLParserXerces::next(bool isCharData) of XMLParserXerces.cpp crashes on the next line:
>                 bCanParseMore = m_pParser->parseNext(m_ScanToken);
> I have tested with xerces 2.2 and with xerces 2.6 and the problem continues.
> If I HTTP GET the Web Services List via http://localhost:8080/axis/ the parser works fine for the server.wsdd file, but when I
> call the web service example Calculator and the engine tries to parse the soap request in process(), then crashes.
> P.D.: Please, migrate to stable xerces 2.6

-- 
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
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


[jira] Updated: (AXISCPP-770) const AnyElement* XMLParserXerces::next(bool isCharData) crashes

Posted by "nadir amra (JIRA)" <ax...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/AXISCPP-770?page=all ]

nadir amra updated AXISCPP-770:
-------------------------------

    Comment: was deleted

> const AnyElement* XMLParserXerces::next(bool isCharData) crashes
> ----------------------------------------------------------------
>
>                 Key: AXISCPP-770
>                 URL: http://issues.apache.org/jira/browse/AXISCPP-770
>             Project: Axis-C++
>          Issue Type: Bug
>          Components: Parser Library - Xerces
>    Affects Versions: 1.5 Final
>         Environment: linux 2.6.11
>            Reporter: jose
>
> The function const AnyElement* XMLParserXerces::next(bool isCharData) of XMLParserXerces.cpp crashes on the next line:
>                 bCanParseMore = m_pParser->parseNext(m_ScanToken);
> I have tested with xerces 2.2 and with xerces 2.6 and the problem continues.
> If I HTTP GET the Web Services List via http://localhost:8080/axis/ the parser works fine for the server.wsdd file, but when I
> call the web service example Calculator and the engine tries to parse the soap request in process(), then crashes.
> P.D.: Please, migrate to stable xerces 2.6

-- 
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
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


[jira] Closed: (AXISCPP-770) const AnyElement* XMLParserXerces::next(bool isCharData) crashes

Posted by "nadir amra (JIRA)" <ax...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/AXISCPP-770?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

nadir amra closed AXISCPP-770.
------------------------------


> const AnyElement* XMLParserXerces::next(bool isCharData) crashes
> ----------------------------------------------------------------
>
>                 Key: AXISCPP-770
>                 URL: https://issues.apache.org/jira/browse/AXISCPP-770
>             Project: Axis-C++
>          Issue Type: Bug
>          Components: Parser Library - Xerces
>    Affects Versions: 1.5 Final
>         Environment: linux 2.6.11
>            Reporter: jose
>         Assigned To: nadir amra
>             Fix For:  1.6 Beta
>
>
> The function const AnyElement* XMLParserXerces::next(bool isCharData) of XMLParserXerces.cpp crashes on the next line:
>                 bCanParseMore = m_pParser->parseNext(m_ScanToken);
> I have tested with xerces 2.2 and with xerces 2.6 and the problem continues.
> If I HTTP GET the Web Services List via http://localhost:8080/axis/ the parser works fine for the server.wsdd file, but when I
> call the web service example Calculator and the engine tries to parse the soap request in process(), then crashes.
> P.D.: Please, migrate to stable xerces 2.6

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


[jira] Reopened: (AXISCPP-770) const AnyElement* XMLParserXerces::next(bool isCharData) crashes

Posted by "nadir amra (JIRA)" <ax...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/AXISCPP-770?page=all ]
     
nadir amra reopened AXISCPP-770:
--------------------------------


> const AnyElement* XMLParserXerces::next(bool isCharData) crashes
> ----------------------------------------------------------------
>
>          Key: AXISCPP-770
>          URL: http://issues.apache.org/jira/browse/AXISCPP-770
>      Project: Axis-C++
>         Type: Bug
>   Components: Parser Library - Xerces
>     Versions: 1.5 Final
>  Environment: linux 2.6.11
>     Reporter: jose

>
> The function const AnyElement* XMLParserXerces::next(bool isCharData) of XMLParserXerces.cpp crashes on the next line:
>                 bCanParseMore = m_pParser->parseNext(m_ScanToken);
> I have tested with xerces 2.2 and with xerces 2.6 and the problem continues.
> If I HTTP GET the Web Services List via http://localhost:8080/axis/ the parser works fine for the server.wsdd file, but when I
> call the web service example Calculator and the engine tries to parse the soap request in process(), then crashes.
> P.D.: Please, migrate to stable xerces 2.6

-- 
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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (AXISCPP-770) const AnyElement* XMLParserXerces::next(bool isCharData) crashes

Posted by "Dushshantha Chandradasa (JIRA)" <ax...@ws.apache.org>.
    [ http://issues.apache.org/jira/browse/AXISCPP-770?page=comments#action_12317159 ] 

Dushshantha Chandradasa commented on AXISCPP-770:
-------------------------------------------------

I tested Xerces c++ 2.6.0 with Axis C++. It didnt give any Build breakages and all samples are working fine. What i did was i just used Xerces c++ 2.6.0 in place of Xerces c++ 2.2 . It simply worked. I think we can move to Xerces c++ 2.6.0 without any major changes to the system. 

Any thoughts on this please... 

Dushshantha 

> const AnyElement* XMLParserXerces::next(bool isCharData) crashes
> ----------------------------------------------------------------
>
>          Key: AXISCPP-770
>          URL: http://issues.apache.org/jira/browse/AXISCPP-770
>      Project: Axis-C++
>         Type: Bug
>   Components: Parser Library - Xerces
>     Versions: 1.5 Final
>  Environment: linux 2.6.11
>     Reporter: jose

>
> The function const AnyElement* XMLParserXerces::next(bool isCharData) of XMLParserXerces.cpp crashes on the next line:
>                 bCanParseMore = m_pParser->parseNext(m_ScanToken);
> I have tested with xerces 2.2 and with xerces 2.6 and the problem continues.
> If I HTTP GET the Web Services List via http://localhost:8080/axis/ the parser works fine for the server.wsdd file, but when I
> call the web service example Calculator and the engine tries to parse the soap request in process(), then crashes.
> P.D.: Please, migrate to stable xerces 2.6

-- 
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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (AXISCPP-770) const AnyElement* XMLParserXerces::next(bool isCharData) crashes

Posted by "nadir amra (JIRA)" <ax...@ws.apache.org>.
    [ http://issues.apache.org/jira/browse/AXISCPP-770?page=comments#action_12332863 ] 

nadir amra commented on AXISCPP-770:
------------------------------------

Is this still a problem?  

> const AnyElement* XMLParserXerces::next(bool isCharData) crashes
> ----------------------------------------------------------------
>
>          Key: AXISCPP-770
>          URL: http://issues.apache.org/jira/browse/AXISCPP-770
>      Project: Axis-C++
>         Type: Bug
>   Components: Parser Library - Xerces
>     Versions: 1.5 Final
>  Environment: linux 2.6.11
>     Reporter: jose

>
> The function const AnyElement* XMLParserXerces::next(bool isCharData) of XMLParserXerces.cpp crashes on the next line:
>                 bCanParseMore = m_pParser->parseNext(m_ScanToken);
> I have tested with xerces 2.2 and with xerces 2.6 and the problem continues.
> If I HTTP GET the Web Services List via http://localhost:8080/axis/ the parser works fine for the server.wsdd file, but when I
> call the web service example Calculator and the engine tries to parse the soap request in process(), then crashes.
> P.D.: Please, migrate to stable xerces 2.6

-- 
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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (AXISCPP-770) const AnyElement* XMLParserXerces::next(bool isCharData) crashes

Posted by "nadir amra (JIRA)" <ax...@ws.apache.org>.
    [ http://issues.apache.org/jira/browse/AXISCPP-770?page=comments#action_12427676 ] 
            
nadir amra commented on AXISCPP-770:
------------------------------------

Adding note on the forum by Kamlesh kumar <ka...@yahoo.com> related to this:

The current implementation of XMLParserXerces ignores
the  value returned by the parseNext() call, this
causes the program to crash the next time parseNext()
is called. 

Here is a sample code inside the peek function
illustrating the problem. 

AnyElement* elem = m_Xhandler.getAnyElement();
        while (CHARACTER_ELEMENT == elem->m_type) /
        { /* ignorable white space */
            m_Xhandler.freeElement();
            bCanParseMore =
m_pParser->parseNext(m_ScanToken);
            elem = m_Xhandler.getAnyElement();
         }

It has two problems one it ignores the value of
bCanParseMore and secondly it doesn't check if elem is
null or not before entering the while loop again. 

Ideally, once the parser returns a value of
false(indicating the end of stream) we shouldn't be
calling parseNext() function. I think it would be
better to have a class member variable called
m_bCanParseMore which we check before making any call
to parseNext function. This would avoid the problem.

I run into this situation more often as I am using the
SoapDeSerializer API directly.

> const AnyElement* XMLParserXerces::next(bool isCharData) crashes
> ----------------------------------------------------------------
>
>                 Key: AXISCPP-770
>                 URL: http://issues.apache.org/jira/browse/AXISCPP-770
>             Project: Axis-C++
>          Issue Type: Bug
>          Components: Parser Library - Xerces
>    Affects Versions: 1.5 Final
>         Environment: linux 2.6.11
>            Reporter: jose
>
> The function const AnyElement* XMLParserXerces::next(bool isCharData) of XMLParserXerces.cpp crashes on the next line:
>                 bCanParseMore = m_pParser->parseNext(m_ScanToken);
> I have tested with xerces 2.2 and with xerces 2.6 and the problem continues.
> If I HTTP GET the Web Services List via http://localhost:8080/axis/ the parser works fine for the server.wsdd file, but when I
> call the web service example Calculator and the engine tries to parse the soap request in process(), then crashes.
> P.D.: Please, migrate to stable xerces 2.6

-- 
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
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


[jira] Assigned: (AXISCPP-770) const AnyElement* XMLParserXerces::next(bool isCharData) crashes

Posted by "nadir amra (JIRA)" <ax...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/AXISCPP-770?page=all ]

nadir amra reassigned AXISCPP-770:
----------------------------------

    Assignee: nadir amra

> const AnyElement* XMLParserXerces::next(bool isCharData) crashes
> ----------------------------------------------------------------
>
>                 Key: AXISCPP-770
>                 URL: http://issues.apache.org/jira/browse/AXISCPP-770
>             Project: Axis-C++
>          Issue Type: Bug
>          Components: Parser Library - Xerces
>    Affects Versions: 1.5 Final
>         Environment: linux 2.6.11
>            Reporter: jose
>         Assigned To: nadir amra
>
> The function const AnyElement* XMLParserXerces::next(bool isCharData) of XMLParserXerces.cpp crashes on the next line:
>                 bCanParseMore = m_pParser->parseNext(m_ScanToken);
> I have tested with xerces 2.2 and with xerces 2.6 and the problem continues.
> If I HTTP GET the Web Services List via http://localhost:8080/axis/ the parser works fine for the server.wsdd file, but when I
> call the web service example Calculator and the engine tries to parse the soap request in process(), then crashes.
> P.D.: Please, migrate to stable xerces 2.6

-- 
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
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


[jira] Resolved: (AXISCPP-770) const AnyElement* XMLParserXerces::next(bool isCharData) crashes

Posted by "nadir amra (JIRA)" <ax...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/AXISCPP-770?page=all ]

nadir amra resolved AXISCPP-770.
--------------------------------

    Fix Version/s:  1.6 Beta
       Resolution: Fixed

I adjusted the loop control for peek so it is now:

while (m_pParser->parseNext(m_ScanToken) && AXIS_FAIL != m_Xhandler.getStatus())

Code is now in SVN.

Will wait on closing to see if we can come up with a test case and to hear of any problems from people.

> const AnyElement* XMLParserXerces::next(bool isCharData) crashes
> ----------------------------------------------------------------
>
>                 Key: AXISCPP-770
>                 URL: http://issues.apache.org/jira/browse/AXISCPP-770
>             Project: Axis-C++
>          Issue Type: Bug
>          Components: Parser Library - Xerces
>    Affects Versions: 1.5 Final
>         Environment: linux 2.6.11
>            Reporter: jose
>         Assigned To: nadir amra
>             Fix For:  1.6 Beta
>
>
> The function const AnyElement* XMLParserXerces::next(bool isCharData) of XMLParserXerces.cpp crashes on the next line:
>                 bCanParseMore = m_pParser->parseNext(m_ScanToken);
> I have tested with xerces 2.2 and with xerces 2.6 and the problem continues.
> If I HTTP GET the Web Services List via http://localhost:8080/axis/ the parser works fine for the server.wsdd file, but when I
> call the web service example Calculator and the engine tries to parse the soap request in process(), then crashes.
> P.D.: Please, migrate to stable xerces 2.6

-- 
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
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org