[ 
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

Here is a more complete test suite (38 tests).
It also tests issue AXIS2C-1453 (CDATA parsing).

> 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, guth_entity_bug.c
>
>
> The guththila_token_evaluate_references function does not parse numeric 
> entities such as A or A (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.

Reply via email to