G.1 Syntax
3GPP51.013Release 17Test specification for Subscriber Identity Module (SIM) Application Programming Interface (API) for Java CardTS
The general syntax for this file will be:
<file> ::= <clause>+
<clause> ::= <clause heading> <line break> <clause body>
<clause heading> ::= ‘[‘ <name> ‘]’
<clause body> ::= <parameter assignment>+
<parameter assignment> ::= <name> ‘=’ <value> <line break>
Where ‘+’ indicates one or more repetitions of the previous syntax element.
Any text included between the symbol ‘;‘ and the end of line is considered a comment and ignored by parsing tools.
Empty values are considered valid. They are used to indicate that an optional value is not present.
Names of clauses, names of parameters and values are case-sensitive.
Blank spaces and Tabs between tokens are allowed and will be ignored by the parser.
When values represent a sequence of bytes, they are expressed in hexadecimal format, where every 2 digits represent one byte. Blank space between bytes is optional.
Example:
; comment
[Clause1]
Parameter11 = 00 11 22 33
Parameter12 = 0101 ; another comment
[Clause2]
Parameter21 = vvwwxxyyzz