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 "Olivier Mengué (JIRA)" <ji...@apache.org> on 2010/02/18 17:16:27 UTC

[jira] Updated: (AXIS2C-1451) XML numeric entities are not parsed by guththila

     [ https://issues.apache.org/jira/browse/AXIS2C-1451?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Olivier Mengué updated AXIS2C-1451:
-----------------------------------

    Attachment: guth_entity_bug.c

Test case (guth_entity_bug.c).

Output is in Test Anything Protocol. http://testanything.org/

> XML numeric entities are not parsed by guththila
> ------------------------------------------------
>
>                 Key: AXIS2C-1451
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-1451
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: guththila
>    Affects Versions: 1.6.0, Current (Nightly)
>         Environment: Axis2/C 1.6.0 with the guththilla reader/writer.
>            Reporter: Olivier Mengué
>            Priority: Critical
>         Attachments: guth_entity_bug.c
>
>
> The guththila_token_evaluate_references function does not parse numeric entities such as &#65; or &#x41; (which should map to the letter 'A').
> A test case is attached.
> Here is its output:
> 1..2
> not ok
> #    input: <root>abc&#x41;&#x42;def</root>
> #      got: <root>abc&amp;#x41;&amp;#x42;def</root>
> # expected: <root>abcABdef</root>
> not ok
> #    input: <root>abc&#65;&#66;def</root>
> #      got: <root>abc&amp;#65;&amp;#66;def</root>
> # expected: <root>abcABdef</root>

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