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

Dimuthu Gamage commented on AXIS2C-1118:
----------------------------------------

Hi supun,
I tested the patch with above two cases and it passes them correctly. I tested 
it against axis2/c samples, and I too found the google sample is getting seg 
faults randomly, all the other samples are working.

> Guththila fails parsing namespace qualified attributes declared before the 
> namespace declaration
> ------------------------------------------------------------------------------------------------
>
>                 Key: AXIS2C-1118
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-1118
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: guththila
>    Affects Versions: 1.3.1
>         Environment: Linux + windows
>            Reporter: Dimuthu Gamage
>            Assignee: Supun Kamburugamuva
>         Attachments: namespace_validation.patch
>
>
> Guththila fails handling following type of XML.
>                <ns1:image  p:contentType="image/jpeg" 
> xmlns:p="http://www.w3.org/2004/06/xmlmime";>
>                   <xop:Include 
> xmlns:xop="http://www.w3.org/2004/08/xop/include"; 
> href="cid:myid1"></xop:Include>
>                </ns1:image>
> Note that  p:contentType is declared before the xmlns:p declaration
> But whenever the namespace declared earlier to the attribute declaration like 
> this 
>                <ns1:image  xmlns:p="http://www.w3.org/2004/06/xmlmime"; 
> p:contentType="image/jpeg">
>                   <xop:Include 
> xmlns:xop="http://www.w3.org/2004/08/xop/include"; 
> href="cid:myid1"></xop:Include>
>                </ns1:image>
> It is parsing correctly. But the first xml is correct in syntax, so guththila 
> should be fixed to parse it.

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