[ 
https://issues.apache.org/jira/browse/AXIS2C-959?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12567615#action_12567615
 ] 

Bill Mitchell commented on AXIS2C-959:
--------------------------------------

Senaka, I thought your changes looked right, but when I stepped through them on 
a SOAP message containing a comment, I found the calculated length of the 
comment was one character too short, so the comment value was getting 
truncated.  It seems the token open/token close logic in guththila expects that 
the character following the token has already been scanned, here the leading 
hyphen.  

I checked in a fix to adjust the next pointer back by 2 instead of 3, in rev 
620476.  

Regards,
Bill

> Guththila parser can't handle comments.
> ---------------------------------------
>
>                 Key: AXIS2C-959
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-959
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: guththila
>         Environment: Windows XP SP2, libcurl
>            Reporter: Senaka Fernando
>            Assignee: Senaka Fernando
>             Fix For: 1.3.0
>
>         Attachments: diff.txt
>
>
> It seems that Guththila can't properly print comments appreaing in XML. It 
> simply adds an additional '-->' at the end unlike it's counterpart libxml2.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to