Uploaded image for project: 'MidPoint'
  1. MidPoint
  2. MID-3723

Eclipse XML formatting

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: distant future
    • Component/s: None
    • Labels:
      None

      Description

      When using Eclipse XML formatter (ctrl+shift+F) with short line length (e.g. 72), the XML code breaks into multiple lines (which is expectable), XML can be uploaded to mp. But mp does not like some values, e.g.:

      <xsd:element minOccurs="0" name="sAMAccountName" type="xsd:string">
      <xsd:annotation>
      <xsd:appinfo>
      <a:displayOrder>490</a:displayOrder>
      <ra:frameworkAttributeName>sAMAccountName
      </ra:frameworkAttributeName>
      </xsd:appinfo>
      </xsd:annotation>
      </xsd:element>

      results to:

      java.lang.IllegalArgumentException: Unknown LDAP attribute sAMAccountName (translated from ICF attribute sAMAccountName

        Attachments

          Activity

            People

            • Assignee:
              mederly Pavol Mederly
              Reporter:
              martin.lizner Martin Lizner
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: