W3C home > Mailing lists > Public > public-html-commits@w3.org > February 2010

html5/markup/schema assertions.sch,1.2,1.3

From: Michael Smith via cvs-syncmail <cvsmail@w3.org>
Date: Mon, 01 Feb 2010 11:33:29 +0000
To: public-html-commits@w3.org
Message-Id: <E1NbuX3-0006Gs-KA@lionel-hutz.w3.org>
Update of /sources/public/html5/markup/schema
In directory hutz:/tmp/cvs-serv23919/schema

Modified Files:
	assertions.sch 
Log Message:
reify common attributes

Index: assertions.sch
===================================================================
RCS file: /sources/public/html5/markup/schema/assertions.sch,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- assertions.sch	28 Jan 2010 17:11:53 -0000	1.2
+++ assertions.sch	1 Feb 2010 11:33:27 -0000	1.3
@@ -20,58 +20,58 @@
 			</assert>
 		</rule>
 
-		<rule context='h:img'>
-			<assert test='@src'>
-				An &#x201C;img&#x201D; element must have a
-				&#x201C;src&#x201D; attribute.
-			</assert>
-		</rule>
-
-		<rule context='h:link'>
-			<assert test='@href'>
-				A &#x201C;link&#x201D; element must have an &#x201C;href&#x201D; attribute.
-			</assert>
-			<assert test='@rel'>
-				A &#x201C;link&#x201D; element must have a &#x201C;rel&#x201D; attribute.
-			</assert>
-		</rule>
-
-		<rule context='h:map'>
-			<assert test='@name'>
-				A &#x201C;map&#x201D; element must have a &#x201C;name&#x201D; attribute.
-			</assert>
-		</rule>
-
-		<rule context='h:meter'>
-			<assert test='@value'>
-				An &#x201C;meter&#x201D; element must have a
-				&#x201C;value&#x201D; attribute.
-			</assert>
-		</rule>
-
-		<rule context='h:object'>
-			<assert test='@data or @type'>
-				An &#x201C;object&#x201D; element must have a
-				&#x201C;data&#x201D; attribute or a
-				&#x201C;type&#x201D; attribute.
-			</assert>
-		</rule>
-
-		<rule context='h:param'>
-			<assert test='@name'>
-				A &#x201C;param&#x201D; element must have an &#x201C;name&#x201D; attribute.
-			</assert>
-			<assert test='@value'>
-				A &#x201C;param&#x201D; element must have a &#x201C;value&#x201D; attribute.
-			</assert>
-		</rule>
-
-		<rule context='h:source'>
-			<assert test='@src'>
-				A &#x201C;source&#x201D; element must have a
-				&#x201C;src&#x201D; attribute.
-			</assert>
-		</rule>
+		<!-- * <rule context='h:img'> -->
+			<!-- * <assert test='@src'> -->
+				<!-- * An &#x201C;img&#x201D; element must have a -->
+				<!-- * &#x201C;src&#x201D; attribute. -->
+			<!-- * </assert> -->
+		<!-- * </rule> -->
+<!-- *  -->
+		<!-- * <rule context='h:link'> -->
+			<!-- * <assert test='@href'> -->
+				<!-- * A &#x201C;link&#x201D; element must have an &#x201C;href&#x201D; attribute. -->
+			<!-- * </assert> -->
+			<!-- * <assert test='@rel'> -->
+				<!-- * A &#x201C;link&#x201D; element must have a &#x201C;rel&#x201D; attribute. -->
+			<!-- * </assert> -->
+		<!-- * </rule> -->
+<!-- *  -->
+		<!-- * <rule context='h:map'> -->
+			<!-- * <assert test='@name'> -->
+				<!-- * A &#x201C;map&#x201D; element must have a &#x201C;name&#x201D; attribute. -->
+			<!-- * </assert> -->
+		<!-- * </rule> -->
+<!-- *  -->
+		<!-- * <rule context='h:meter'> -->
+			<!-- * <assert test='@value'> -->
+				<!-- * An &#x201C;meter&#x201D; element must have a -->
+				<!-- * &#x201C;value&#x201D; attribute. -->
+			<!-- * </assert> -->
+		<!-- * </rule> -->
+<!-- *  -->
+		<!-- * <rule context='h:object'> -->
+			<!-- * <assert test='@data or @type'> -->
+				<!-- * An &#x201C;object&#x201D; element must have a -->
+				<!-- * &#x201C;data&#x201D; attribute or a -->
+				<!-- * &#x201C;type&#x201D; attribute. -->
+			<!-- * </assert> -->
+		<!-- * </rule> -->
+<!-- *  -->
+		<!-- * <rule context='h:param'> -->
+			<!-- * <assert test='@name'> -->
+				<!-- * A &#x201C;param&#x201D; element must have an &#x201C;name&#x201D; attribute. -->
+			<!-- * </assert> -->
+			<!-- * <assert test='@value'> -->
+				<!-- * A &#x201C;param&#x201D; element must have a &#x201C;value&#x201D; attribute. -->
+			<!-- * </assert> -->
+		<!-- * </rule> -->
+<!-- *  -->
+		<!-- * <rule context='h:source'> -->
+			<!-- * <assert test='@src'> -->
+				<!-- * A &#x201C;source&#x201D; element must have a -->
+				<!-- * &#x201C;src&#x201D; attribute. -->
+			<!-- * </assert> -->
+		<!-- * </rule> -->
 	</pattern>
 
 	<pattern name='Triggered on mutually exclusive elements and prohibited-descendant cases'>
Received on Monday, 1 February 2010 11:33:31 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 1 February 2010 11:33:39 GMT