Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-1021

Xml files from wildfly-core don't end with "new line character"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2.0.0.CR7
    • 2.0.0.CR5
    • Server
    • None

      Description of problem:

      • Some of xml files from wildfly-core don't end with "new line character".
      • Each xml file should end with "new line character", because of posix standard:
      • List of affected files:
        • ./modules/system/layers/base/org/wildfly/security/elytron/main/module.xml
        • ./domain/configuration/host.xml
        • ./domain/configuration/domain.xml
        • ./domain/configuration/host-slave.xml
        • ./domain/configuration/host-master.xml
        • ./standalone/configuration/standalone.xml

      How reproducible:
      Always

      Steps to Reproduce:

      1. cd EAP_HOME
      2. for xml in `find -type f | grep xml$`; do
        if [ "`cat -E $xml | tail -n 1 |grep -o '.$'`" != "$" ] ; then
        echo $xml
        fi
        done
        

              tomazcerar Tomaž Cerar (Inactive)
              mkopecky@redhat.com Marek Kopecky
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: