Axiom
  1. Axiom
  2. AXIOM-406

Wrong and strange behavior in escaping special symbols

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Invalid
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      When I parse a node which is like (test example):

      <node>< < > ></node>

      toString() returns "<node>< < > ></node>"
      getText() returns "< < > >"

      Why getText unescapes the special symbols?
      Why toString() unescapes the greater-than symbols and yet leaves < unchanged and < gets converted to < ?

      Is this correct?

        Activity

          People

          • Assignee:
            Unassigned
            Reporter:
            Juan Miguel Cejuela
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development