mvrdevelopment / spec

DIN SPEC 15800 General Device Type Format (GDTF) and My Virtual Rig (MVR) File Format description DIN SPEC 15801
66 stars 15 forks source link

Change format of value Type "Resource" to ensure they are correct file names #36

Closed danielmuellerma closed 1 year ago

danielmuellerma commented 5 years ago

The current format of the value type "Resource" is string. Shouldn´t there be some restrictions regarding to special characters in file names? I guess not every special character is allowed to be used in a file name.

danielmuellerma commented 5 years ago

@AndriiVoitenko what do you think?

petrvanekrobe commented 5 years ago

This is a good start: http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_282

Which proposes:

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z 0 1 2 3 4 5 6 7 8 9 . _ -

AndriiVoitenko commented 5 years ago

We already have a type Name. And this type is used also for xml-Attribute Name of Fixture Type xml-Node. And the same field, is used as a part of GDTF file name. So I suggest to remove from Appendix C symbols: SOLIDUS, COLON, LESS-THAN SIGN, GREATER-THAN SIGN, ASTERISK, QUOTATION MARK,. An use the same type "Name" also for Resources.

moritzstaffel commented 1 year ago

I think this is defined OK as UTF-8 Text from the XML itself