Customizing File Types-I |
The syntax of signature description is similar to that of the XML language. They are stored in the file specified on the R-Studio Main settings dialog box. More advanced features are described in Customizing File Types-II. Signature file example <?xml version="1.0" encoding="utf-8"?> <FileTypeList> <FileType id="2" group="archive" description="ARJ Archive" extension="arj"> <Signature offset="3" count="1">Abc\x5c\x00\x04</Signature> <Signature offset="9" count="2">\x23\x01\xf4</Signature> </FileType> </FileTypeList> File structure File header The file starts with a standard XML header <?xml version="1.0" encoding="utf-8"?> Section FileTypeList <FileTypeList> It requires a closing element </FileTypeList>. Section FileType This is a description of each file signature. Attributes:
File type properties flags
This section can contain an unlimited number of the Signature elements.If there are several Signature elements, that means that all those signatures are simultaneously present in the file. Such signatures should have different offset attributes and they should not overlap. Element Signature The element contains a string value of the file signature consisting of ASCII characters and hex bytes in the \xhh format, where hh is a hexadecimal byte code. If there is not a hexadecimal number after \x , \x are treated as a part of the string section of the signature Attributes:
Comments <!-- Comment string --> An XML standard string for a comment. |
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator at webmaster@systemmanager.forsenergy.ru to inform them of the time this error occurred, and the actions you performed just before this error.
More information about this error may be available in the server error log.
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.