# HG changeset patch
# User Patrick PIERRE <patrick.pierre@prismallia.fr>
# Date 1372027861 -7200
# Node ID 0decd945374e0e9150ec553149203847e2421926
# Parent  1c5f4d82319842503ec9331027f2ac4a5bc73c48
Restriction du contenu de <link> et <name>

diff -r 1c5f4d823198 -r 0decd945374e RelaxNG/publiset.rnc
--- a/RelaxNG/publiset.rnc	dim. juin 23 12:11:00 2013 +0200
+++ b/RelaxNG/publiset.rnc	lun. juin 24 00:51:01 2013 +0200
@@ -308,10 +308,11 @@
 
 name.attributes =
    name.of.attribute?
-name.of.attribute = attribute of
-   { "person" | "company" | "book" | "newspaper" | "party" | "painting" }
+name.of.attribute = attribute of {
+   "person" | "company" | "book" | "newspaper" | "party" | "painting"
+ | "movie" }
 
-name.content = inlines
+name.content = mixed { sup* }
 
 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ highlight ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
@@ -327,7 +328,7 @@
    uri.attribute
 uri.attribute = attribute uri { xsd:anyURI }
 
-link.content = inlines
+link.content = mixed { sup* & sub* & date* & name* & highlight* }
 
 
 # =============================================================================