05.07.2014 Views

UDF 2.00 - OSTA - Optical Storage Technology Association

UDF 2.00 - OSTA - Optical Storage Technology Association

UDF 2.00 - OSTA - Optical Storage Technology Association

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

end a file with “.” followed by a 1 to 5 character extension. Therefore the<br />

following algorithms attempt to preserve the file extension up to a<br />

maximum of 5 characters.<br />

4.2.2.1.1 MS-DOS<br />

Due to the restrictions imposed by the MS DOS operating system environments on<br />

the FileIdentifier associated with a file the following methodology shall be<br />

employed to handle FileIdentifier(s) under the above-mentioned operating system<br />

environments :<br />

Restrictions: The file name component of the FileIdentifier shall not exceed 8<br />

characters. The file extension component of the FileIdentifier shall not exceed 3<br />

characters.<br />

1. FileIdentifier Lookup: Upon request for a "lookUp" of a FileIdentifier,<br />

a case-insensitive comparison shall be performed.<br />

2. Validate FileIdentifer: If the FileIdentifier is a valid MS-DOS file<br />

identifier then do not apply the following steps.<br />

3. Remove Spaces: All embedded spaces within the identifier shall be<br />

removed.<br />

4. Invalid Characters: A FileIdentifier that contains characters considered<br />

invalid within a file name or file extension (as defined above), or not<br />

displayable in the current environment, shall have them translated into<br />

"_" (#005F). (the file identifier on the media is NOT modified).<br />

Multiple sequential invalid or non-displayable characters shall be<br />

translated into a single “_” (#005F) character. Reference the appendix<br />

on invalid characters for a complete list.<br />

5. Leading Periods: In the event that there do not exist any characters<br />

prior to the first "." (#002E) character, leading "." (#002E) characters<br />

shall be disregarded up to the first non “.” (#002E) character, in the<br />

application of this heuristic.<br />

6. Multiple Periods: In the event that the FileIdentifier contains multiple<br />

"." (#002E) characters, all characters appearing subsequent to the last<br />

'.' (#002E) shall be considered as constituting the file extension if and<br />

only if it is less than or equal to 5 characters in length, otherwise the<br />

file extension shall not exist. Characters appearing prior to the file<br />

extension, excluding the last '.' (#002E), shall be considered as<br />

constituting the file name. All embedded "." (#002E) characters within<br />

the file name shall be removed.<br />

7. Long Extension: In the event that the number of characters constituting<br />

the file extension at this step in the process is greater than 3, the file<br />

extension shall be regarded as having been composed of the first 3<br />

characters amongst the characters constituting the file extension at this<br />

step in the process.<br />

<strong>UDF</strong> <strong>2.00</strong> April 3, 1998<br />

81

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!