Uploaded image for project: 'XMLBeans'
  1. XMLBeans
  2. XMLBEANS-192

Saver.java does not properly convert the Greater Than (>) to > when it is contains inside an element or attribute.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Version 2
    • Fix Version/s: Version 2.1
    • Component/s: None
    • Labels:
      None
    • Environment:
      Windows XP

      Description

      Saver.java does not properly convert the Greater Than (>) sign to > when it is contains inside an element or attribute. However it seems to correctly convert the &, < symbols correctly.

      For example if have following fragment of input XML:

      <FareDisplayOptions>
      <PF2 PF2Ind="<>" PF3Allow="<>" PF3Rule="<>"
      </PF2>
      </FareDisplayOptions>

      It gets converted to: (Notice that the < gets converted correclty, but the > does not)

      <FareDisplayOptions>
      <PF2 PF2Ind="<>" PF3Allow="<>" PF3Rule="<>"
      </PF2>
      </FareDisplayOptions>

        Attachments

        1. CharEscapeBug.java
          0.7 kB
          Wing Yew Poon
        2. xmlbeans177-input2.xml
          0.6 kB
          Wing Yew Poon

          Activity

            People

            • Assignee:
              ljones Lawrence Aston Jones
              Reporter:
              stevexx Stephen Cole
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: