Uploaded image for project: 'Teiid Designer'
  1. Teiid Designer
  2. TEIIDDES-1857

Create and implement a cross-platform file name validator

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 8.4
    • 8.2
    • Validation
    • None

      Currently, Teiid Designer allows creating models with pretty much and character in it besides ".".

      Unfortunatelly, a LOT of special characters are not valid on some OS's like Windows, so opening a project containing invalid Windows file names in Eclipse will probably cause issues.

      Need to create a utility class/framework that can perform name validation across OS's.

      Teiid has reserved model names: TEMP, SYS, or SYSADMIN

      For Windows chars and reserved words: http://msdn.microsoft.com/en-us/library/windows/desktop/aa365247%28v=vs.85%29.aspx

      For more comprehensive list and links: http://en.wikipedia.org/wiki/Filename

      Other potential features:

      • setNoSpaces(boolean)
      • ignoredSystems(WINDOWS, OSX) (i.e. turn off one or more OS types)

            parichar@redhat.com Paul Richardson
            blafond Barry LaFond
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: