Uploaded image for project: 'Axis2-C'
  1. Axis2-C
  2. AXIS2C-1451

XML numeric entities are not parsed by guththila

    XMLWordPrintableJSON

Details

    Description

      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

      1. input: <root>abcABdef</root>
      2. got: <root>abc&#x41;&#x42;def</root>
      3. expected: <root>abcABdef</root>
        not ok
      4. input: <root>abcABdef</root>
      5. got: <root>abc&#65;&#66;def</root>
      6. expected: <root>abcABdef</root>

      Attachments

        1. AXIS2C-1451_entities-svn.patch
          7 kB
          Olivier Mengué
        2. AXIS2C-1451-1.6.0.patch
          7 kB
          Olivier Mengué
        3. guth_entity_bug.c
          5 kB
          Olivier Mengué
        4. guth_entity_bug.c
          1 kB
          Olivier Mengué

        Issue Links

          Activity

            People

              shankar Selvaratnam Uthaiyashankar
              dolmen-oxymel Olivier Mengué
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: