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 "Dimuthu Gamage (JIRA)" <ji...@apache.org> on 2008/04/21 15:15:21 UTC
[jira] Created: (AXIS2C-1118) Guththila fails parsing namespace
qualified attributes declared before the namespace declaration
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
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: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org
[jira] Assigned: (AXIS2C-1118) Guththila fails parsing namespace
qualified attributes declared before the namespace declaration
Posted by "Supun Kamburugamuva (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2C-1118?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Supun Kamburugamuva reassigned AXIS2C-1118:
-------------------------------------------
Assignee: Supun Kamburugamuva
> 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: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org
[jira] Updated: (AXIS2C-1118) Guththila fails parsing namespace
qualified attributes declared before the namespace declaration
Posted by "Supun Kamburugamuva (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2C-1118?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Supun Kamburugamuva updated AXIS2C-1118:
----------------------------------------
Attachment: namespace_validation.patch
Included proper namspace validation for elements and attributes. Previously Guththila didn't support namespace validation for elements which has the namespace declaration within it.
Please check weather everything works fine. I tested the patch on windows for the sample clients.
> 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
> 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: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org
[jira] Closed: (AXIS2C-1118) Guththila fails parsing namespace
qualified attributes declared before the namespace declaration
Posted by "Supun Kamburugamuva (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2C-1118?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Supun Kamburugamuva closed AXIS2C-1118.
---------------------------------------
> 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: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org
[jira] Resolved: (AXIS2C-1118) Guththila fails parsing namespace
qualified attributes declared before the namespace declaration
Posted by "Supun Kamburugamuva (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2C-1118?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Supun Kamburugamuva resolved AXIS2C-1118.
-----------------------------------------
Resolution: Fixed
Fixed the issue. As this issue has no relationship with the Google sample failure, I'm resolving this issue.
> 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: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org
[jira] Commented: (AXIS2C-1118) Guththila fails parsing namespace
qualified attributes declared before the namespace declaration
Posted by "Dimuthu Gamage (JIRA)" <ji...@apache.org>.
[ 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: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org