[
https://issues.jboss.org/browse/TEIIDDES-1857?page=com.atlassian.jira.plu...
]
Paul Richardson commented on TEIIDDES-1857:
-------------------------------------------
Not convinced that OS types are appropriate to be included since the file system is the
determining factor. For example, original Windows FAT filesystem has different reserved
characters to VFAT or NTFS, see
[
here|https://en.wikipedia.org/wiki/Filename#Comparison_of_filename_limita...]. Thus, in
this situation clients should simply validate on the filesystem concerned, by setting the
parent directory.
Create and implement a cross-platform file name validator
---------------------------------------------------------
Key: TEIIDDES-1857
URL:
https://issues.jboss.org/browse/TEIIDDES-1857
Project: Teiid Designer
Issue Type: Enhancement
Components: Validation
Affects Versions: 8.2
Reporter: Barry LaFond
Assignee: Barry LaFond
Fix For: 8.2.x-prod-eds6.0
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.8...
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)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira