dynamic arc is transformed to a simple arc and the
following transition (the link) fires.
There are three variations for <a> element
according to the "show" attribute. The “show”
attribute specifies how to handle the current state of
the presentation at the time in which the link is
activated. Legal values for the attribute are “new”,
“pause”, and “replace”. The “pause” value
requires the source to be paused while playing the
destination element, so we use virtual arcs with
pause/resume tokens to pause and resume the source
element. The “replace” value require the destination
element to replace the source element and to play in
the same context, so the firing of the transition
retrieves a token to the source place in order to
disable it. The “new” value requires the destination
element to play in a new context without affecting
the source element.
3.5 Converting the <area> Element
The functionality of the <a> element is restricted in
that it only allows associating a link with a complete
media object. The <area> element allows associating
a link with spatial and/or temporal portions of an
object.
When the <area> element is associated with a
spatial portion of an object, it has the same temporal
behavior as the <a> element since it stills active
during all the duration of the source object.
When the <area> element is associated with a
temporal portion of an object using attributes such as
begin and end attributes, the interval of activation
associated to the link place is restricted to
[begin,*,end].
The <area> element also accepts the ‘show’
attribute, the SMIL-Net associated with the <area>
element with the different values of the ‘show’
attribute is the same as in the <a> element with a
different activation interval for the link place.
4 TEMPORAL AND
HYPER-TEMPORAL
VERIFICATION
The complexity of SMIL documents can lead
authors, in certain cases, to specify synchronization
relations which could not be satisfied during the
presentation of the document, thus characterizing the
occurrence of temporal inconsistencies. For this
reason, we associate verification techniques to
SMIL-Net to detect temporal inconsistencies.
The hyper-temporal inconsistencies resulting of
the definition of inconsistent temporal links are also
an important aspect of the verification process, and
are detected by SMIL-Net.
4.1 Temporal Verification
The time conflict is defined in (Yang,2000) as the
case of conflicting values of attributes in the SMIL
script.
There are two types of time conflicts for SMIL
presentations, the intra-element time conflict and the
inter-elements time conflict.
4.1.1 The Intra-element Time Conflict
The intra-element time conflict is the case of
conflicting attributes associated with a single
element. Therefore, to detect the intra-element time
conflict, we only need to examine the values of
attributes associated with a single element.
The intra-element time conflict is detected in
SMIL-Net when a master transition has two master
arcs coming from its input places.
4.1.2 The Inter-elements Time Conflict
The inter-elements time conflict is the case of
conflicting attributes among different elements.
In SMIL-Net, the firing time of transition should
be earlier than that of the following transition. It
implies that if the values of attributes set by the
author make the firing time of a transition later than
the firing time of some following transition, it results
in the inter-elements time conflict.
The inter-element time conflict could be detected
by comparing the computed firing times of
transitions.
Thus, it is necessary to calculate the firing time
for all the transitions in the SMIL-Net.
To compute the firing time for each transition,
we have to reduce the SMIL-Net by removing all
non-temporal elements.
Then, the firing time for each transition is
computed by traversing the reduced SMIL-Net
transition by transition from the initial state. The
computation rule for calculating the firing time of a
transition depends on its type: For simple transitions,
the firing time of the transition is the maximum
value of the “firing time of the preceding transition”
plus “the nominal duration of the following place of
the preceding transition”. For First transitions, the
firing time of the transition is the minimum value of
the “firing time of the preceding transition” plus “the
nominal duration of the following place of the
WEBIST 2007 - International Conference on Web Information Systems and Technologies
398