axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Olivier Mengué (JIRA) <j...@apache.org>
Subject [jira] Updated: (AXIS2C-1451) XML numeric entities are not parsed by guththila
Date Fri, 19 Feb 2010 18:02:27 GMT

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

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

    Attachment: AXIS2C-1451_entities-svn.patch

Here is the patch against current SVN (revision 911851).

Any reviewer?

> 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: AXIS2C-1451-1.6.0.patch, AXIS2C-1451_entities-svn.patch, guth_entity_bug.c,
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.


Mime
View raw message