Uploaded image for project: 'Axiom'
  1. Axiom
  2. AXIOM-406

Wrong and strange behavior in escaping special symbols

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Invalid
    • None
    • None
    • None
    • 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?

      Attachments

        Activity

          People

            Unassigned Unassigned
            jmcejuela Juan Miguel Cejuela
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: