Hotspot vide
authorPatrick PIERRE <patrick.pierre@prismallia.fr>
sam., 03 août 2013 12:03:41 +0200
changeset 243 5763ffc01aeb
parent 242 95f81124351c
child 244 9591f38effc4
Hotspot vide
RelaxNG/publidoc.rnc
--- a/RelaxNG/publidoc.rnc	mar. juil. 23 18:20:45 2013 +0200
+++ b/RelaxNG/publidoc.rnc	sam. août 03 12:03:41 2013 +0200
@@ -359,7 +359,7 @@
 
 # ~~~~~~ image
 image = element image { image.attributes, image.content }
-hotspot.image = element image {image.attributes }
+hotspot.image = element image { image.attributes }
 
 image.attributes =
    media.id.attribute
@@ -406,6 +406,7 @@
 hotspot.content =
    ((link | p+ | hotspot.image | audio | video), (spot, scenario?)?)
  | (spot, scenario?)
+ | empty 
    
 # ~~~~~~ spot
 spot = element spot { spot.attributes, spot.content }