Assertions |
Previous | Contents |
This chapter includes the following topics:
Syntax must be valid, per the grammar in the specification.
A resolved SMAP must specify a DefaultStratumId.
A specified DefaultStratumId
must either be "Java" or be the StratumId
of a
StratumSection
.
No StratumSection
may have a StratumId
of "Java".
A FileSection
may only occur after a StratumSection
.
There must be exactly one FileSection
after each StratumSection
.
In a FileSection
, each FileId
must be unique within that FileSection
.
In a FileSection
, the FileName
must be non empty.
In a FileSection
, the AbsoluteFileName
, if specified, must be non empty.
A LineSection
may only occur after a StratumSection
.
There must be exactly one LineSection
after each StratumSection
.
In a LineSection
, RepeatCount
must be greater than or equal to one.
In a LineSection
, OutputLineIncrement
must be greater than or equal to zero.
In a LineSection
, InputStartLine
must be greater than or equal to one.
In a LineSection
, OutputStartLine
must be greater than or equal to one.
In a LineSection
, LineFileId
must be a FileId
in the FileSection
after the same StratumSection
.
In a VendorSection
, the VENDORID
must be well formed, per the specification.
FutureSection
must not be used until defined in the maintenance phase of the JSR.
There must be at least one StratumSection
.
An embedded SMAP must not occur in a resolved SMAP.
An OpenEmbeddedSection
must be followed by at least one SMAP, and terminated
with CloseEmbeddedSection
.
StratumId
of CloseEmbeddedSection
must match StratumId
of OpenEmbeddedSection
.
Previous | Contents |