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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to