From 401daebfbba2ebe23595453c99ce02f97d1ddcc8 Mon Sep 17 00:00:00 2001 From: markt Date: Mon, 9 Nov 2009 11:27:57 +0000 Subject: [PATCH] Update schemas to latest draft as of 2009-11-05 git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@834021 13f79535-47bb-0310-9956-ffa450edef68 --- java/javax/servlet/resources/javaee_6.xsd | 141 ++++++++++++---------- java/javax/servlet/resources/web-app_3_0.xsd | 1 + java/javax/servlet/resources/web-common_3_0.xsd | 5 +- java/javax/servlet/resources/web-fragment_3_0.xsd | 1 + 4 files changed, 85 insertions(+), 63 deletions(-) diff --git a/java/javax/servlet/resources/javaee_6.xsd b/java/javax/servlet/resources/javaee_6.xsd index f4c18c505..f59284e5c 100644 --- a/java/javax/servlet/resources/javaee_6.xsd +++ b/java/javax/servlet/resources/javaee_6.xsd @@ -182,12 +182,38 @@ - This group collects elements that are common to all the + This group collects elements that are common to most JNDI resource elements. + + + + + + The JNDI name to be looked up to resolve a resource reference. + + + + + + + + + + + + This group collects elements that are common to all the + JNDI resource elements. It does not include the lookup-name + element, that is only applicable to some resource elements. + + + + @@ -217,17 +243,6 @@ type="javaee:injection-targetType" minOccurs="0" maxOccurs="unbounded"/> - - - - - The JNDI name to be looked up to resolve a resource reference. - - - - @@ -315,14 +330,14 @@ minOccurs="0"> -url property is specified along with other standard DataSource properties such as serverName, databaseName and portNumber, the more specific properties will take precedence and url will be ignored. -]]> + ]]> @@ -355,7 +370,7 @@ - JDBC DataSource Propertry. This may be a vendor-specific + JDBC DataSource property. This may be a vendor-specific property or a less commonly used DataSource property. @@ -511,7 +526,7 @@ - + ]]> @@ -541,7 +556,7 @@ -../products/product.jar#ProductEJB -]]> + ]]> @@ -633,7 +648,7 @@ -ejb/Payroll -]]> + ]]> @@ -789,7 +804,7 @@ type="javaee:jndi-nameType"> -minAmount -]]> + ]]> @@ -811,7 +826,7 @@ minOccurs="0"> -java.lang.Integer -]]> + ]]> @@ -832,7 +847,7 @@ minOccurs="0"> -100.00 -]]> + ]]> @@ -860,7 +875,7 @@ -java.lang.Class com.example.Color -]]> + ]]> @@ -961,7 +976,7 @@ minOccurs="0"> -employee-service-icon16x16.jpg -]]> + ]]> @@ -983,7 +998,7 @@ minOccurs="0"> -employee-service-icon32x32.jpg -]]> + ]]> @@ -1046,14 +1061,16 @@ - public enum isolation-level-type { TRANSACTION_NONE, - TRANSACTION_READ_UNCOMMITTED, TRANSACTION_READ_COMMITTED, - TRANSACTION_REPEATABLE_READ, TRANSACTION_SERIALIZABLE }; + The following transaction isolation levels are allowed + (see documentation for the java.sql.Connection interface): + TRANSACTION_READ_UNCOMMITTED + TRANSACTION_READ_COMMITTED + TRANSACTION_REPEATABLE_READ + TRANSACTION_SERIALIZABLE - @@ -1107,7 +1124,7 @@ -jdbc:mysql://localhost:3307/testdb -]]> + ]]> @@ -1153,7 +1170,7 @@ -com.aardvark.payroll.PayrollHome -]]> + ]]> @@ -1340,7 +1357,7 @@ -Extended -]]> + ]]> @@ -1436,7 +1453,7 @@ - + @@ -1496,7 +1513,7 @@ - -]]> + ]]> @@ -1566,7 +1583,7 @@ - + @@ -1578,7 +1595,7 @@ -com.wombat.empl.EmployeeService -]]> + ]]> @@ -1600,7 +1617,7 @@ - -]]> + ]]> @@ -1677,7 +1694,7 @@ -Shareable -]]> + ]]> @@ -1859,7 +1876,7 @@ -employee -]]> + ]]> @@ -2168,7 +2185,7 @@ - -]]> + ]]> @@ -2257,7 +2274,7 @@ - -]]> + ]]> @@ -2365,7 +2382,7 @@ -javax.jms.Queue -]]> + ]]> @@ -2418,3 +2435,5 @@ + + diff --git a/java/javax/servlet/resources/web-app_3_0.xsd b/java/javax/servlet/resources/web-app_3_0.xsd index cdad777d6..305d6f86d 100644 --- a/java/javax/servlet/resources/web-app_3_0.xsd +++ b/java/javax/servlet/resources/web-app_3_0.xsd @@ -286,3 +286,4 @@ + diff --git a/java/javax/servlet/resources/web-common_3_0.xsd b/java/javax/servlet/resources/web-common_3_0.xsd index 3ca6dbc63..aa91587e5 100644 --- a/java/javax/servlet/resources/web-common_3_0.xsd +++ b/java/javax/servlet/resources/web-common_3_0.xsd @@ -121,8 +121,6 @@ - + @@ -1589,3 +1589,4 @@ + diff --git a/java/javax/servlet/resources/web-fragment_3_0.xsd b/java/javax/servlet/resources/web-fragment_3_0.xsd index 40b087434..3ec906b3c 100644 --- a/java/javax/servlet/resources/web-fragment_3_0.xsd +++ b/java/javax/servlet/resources/web-fragment_3_0.xsd @@ -286,3 +286,4 @@ + -- 2.11.0