[ 
https://issues.apache.org/jira/browse/AXIS2C-646?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12516339
 ] 

Manjula Peiris commented on AXIS2C-646:
---------------------------------------

The reason for failure here is guththila xml parser gives the wrong xml 
namespace for attribute "Algorithm". Accoarding to the specification unprefixed 
attributes are not in any namespace even if a default namespace declaration is 
in use.

<xenc:EncryptionMethod Algorithm = 
"http://www.w3.org/2001/04/xmlenc#rsa-1_5";></xenc:EncryptionMethod>

So in the above element "Algorithm" attribute is not in any namespace. So when 
axiom_attribute_get_namespace() method is called for attribute "Algorithm" it 
should return NULL. But when guththila xml parser is used it returns xenc: 
namespace uri. 

   



> Rampart does not work with Guththila xml parser
> -----------------------------------------------
>
>                 Key: AXIS2C-646
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-646
>             Project: Axis2-C
>          Issue Type: Bug
>    Affects Versions: Current (Nightly)
>            Reporter: Manjula Peiris
>             Fix For: 1.1.0
>
>         Attachments: scenario3.xml, services.xml
>
>
> There are 5 samples in rampart . The behaviour of these samples depend on 
> policy files and attached policies in services.xml. When guththila xml parser 
> is used to parse these xml documents it does not parse the xml correctly. For 
> an example I have attached the services.xml used in 
> rampart/samples/scenario5. I have tried to parse this xml using 
> axiom/test/om/test_om.c. But it does not parse correctly. It fails to return 
> the text value inside the following element.
> <rampc:ReceiverCertificate>/home/manjula/axis2/c/deploy/bin/samples/rampart/keys/bhome/alice_cert.cert</rampc:ReceiverCertificate>
> when I debug it seems to me some problem in the guththila_token_close  method.
> please change the AXIS2C_HOME string in the attached file to 
> home/manjula/axis2/c/deploy when you are testing with test_om.

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