geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hogst...@apache.org
Subject svn commit: r484942 - in /geronimo/sandbox/xsds: jsp_2.0.xsd jsp_2_0.xsd jsp_2_1.xsd web-app_2_4.xsd web-jsptaglibrary_2_0.xsd
Date Sat, 09 Dec 2006 07:37:53 GMT
Author: hogstrom
Date: Fri Dec  8 23:37:51 2006
New Revision: 484942

URL: http://svn.apache.org/viewvc?view=rev&rev=484942
Log:
Additional XSDs for J2EE and Java EE 5

Added:
    geronimo/sandbox/xsds/jsp_2_0.xsd
      - copied unchanged from r484936, geronimo/sandbox/xsds/jsp_2.0.xsd
    geronimo/sandbox/xsds/jsp_2_1.xsd   (with props)
    geronimo/sandbox/xsds/web-app_2_4.xsd   (with props)
    geronimo/sandbox/xsds/web-jsptaglibrary_2_0.xsd   (with props)
Removed:
    geronimo/sandbox/xsds/jsp_2.0.xsd

Added: geronimo/sandbox/xsds/jsp_2_1.xsd
URL: http://svn.apache.org/viewvc/geronimo/sandbox/xsds/jsp_2_1.xsd?view=auto&rev=484942
==============================================================================
--- geronimo/sandbox/xsds/jsp_2_1.xsd (added)
+++ geronimo/sandbox/xsds/jsp_2_1.xsd Fri Dec  8 23:37:51 2006
@@ -0,0 +1,69 @@
+<?xml version "1.0" encoding="UTF-8"?>
+
+<!--
+  --  The actual Sun XSD for this stripped down XSD can be found at
+  --  http://java.sun.com/xml/ns/javaee/jsp_2_1.xsd
+  --  This XSD contains only the functional elements for programatic use.
+  -->
+
+<xsd:schema xmlns="http://www.w3.org/2001/XMLSchema"
+	targetNamespace="http://java.sun.com/xml/ns/javaee"
+	xmlns:javaee="http://java.sun.com/xml/ns/javaee"
+	xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+	elementFormDefault="qualified" attributeFormDefault="unqualified"
+	version="2.1">
+
+	<xsd:include schemaLocation="javaee_5.xsd">
+
+		<xsd:complexType name="jsp-configType">
+			<xsd:sequence>
+				<xsd:element name="taglib" type="javaee:taglibType"
+					minOccurs="0" maxOccurs="unbounded" />
+				<xsd:element name="jsp=property-group"
+					type="javaee:jsp-property-groupType" minOccurs="0"
+					maxOccurs="unbounded" />
+			</xsd:sequence>
+			<xsd:attribute name="id" type="xsd:ID" />
+		</xsd:complexType>
+
+		<xsd:complexType name="jsp-fileType">
+			<xsd:simpleContent>
+				<xsd:restriction base="javaee:pathType" />
+			</xsd:simpleContent>
+		</xsd:complexType>
+
+		<xsd:complexType name="jsp-property-groupType">
+			<xsd:sequence>
+				<xsd:group ref="javaee:descriptionGroup">
+					<xsd:element name="url-pattern"
+						type="javaee:url-patternType" maxOccurs="unbounded" />
+					<xsd:element name="el-ignored"
+						type="javaee:true-falseType" minOccurs="0" />
+					<xsd:element name="page-encoding"
+						type="javaee:string" minOccurs="0" />
+					<xsd:element name="scripting-invalid"
+						type="javaee:true-falseType" minOccurs="0" />
+					<xsd:element name="is-xml"
+						type="javaee:true-falseType" minOccurs="0" />
+					<xsd:element name="include-prelude"
+						type="javaee:pathType" minOccurs="0" maxOccurs="unbounded" />
+					<xsd:element name="include-coda"
+						type="javaee:pathType" minOccurs="0" maxOccurs="unbounded" />
+					<xsd:element
+						name="deferred-syntax-allowed-as-literal"
+						type="javaee:true-falseType" minOccurs="0" />
+					<xsd:element name="trim-directive-whitespaces"
+						type="javaee:true-falseType" minOccurs="0" />
+			</xsd:sequence>
+			<xsd:attribute name="id" type="xsd:ID />
+		</xsd:complexType>
+
+		<xsd:complexType name="taglibType">
+			<xsd:sequence>
+				<xsd:element name="taglib-uri" type="javaee:string" />
+				<xsd:element name="taglib-location"
+					type="javaee:pathType" />
+			</xsd:sequence>
+			<xsd:attribute name="id" type="xsd:ID" />
+		</xsd:complexType>
+</xsd:schema>
\ No newline at end of file

Propchange: geronimo/sandbox/xsds/jsp_2_1.xsd
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/sandbox/xsds/jsp_2_1.xsd
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/sandbox/xsds/jsp_2_1.xsd
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: geronimo/sandbox/xsds/web-app_2_4.xsd
URL: http://svn.apache.org/viewvc/geronimo/sandbox/xsds/web-app_2_4.xsd?view=auto&rev=484942
==============================================================================
--- geronimo/sandbox/xsds/web-app_2_4.xsd (added)
+++ geronimo/sandbox/xsds/web-app_2_4.xsd Fri Dec  8 23:37:51 2006
@@ -0,0 +1,368 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<!--
+  --  The actual Sun XSD for this stripped down XSD can be found at
+  --  http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd
+  --  This XSD contains only the functional elements for programatic use.
+  -->
+
+
+<xsd:schema xmlns="http://www.w3.org/2001/XMLSchema"
+	targetNamespace="http://java.sun.com/xml/ns/j2ee"
+	xmlns:j2ee="http://java.sun.com/xml/ns/j2ee"
+	xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+	elementFormDefault="qualified" attributeFormDefault="unqualified"
+	version="2.4">
+	<xsd:include schemaLocation="j2ee_1_4.xsd" />
+	<xsd:include schemaLocation="jsp_2_0.xsd" />
+	<xsd:element name="web-app" type="j2ee:web-appType">
+		<xsd:unique name="web-app-servlet-name-uniqueness">
+			<xsd:selector xpath="j2ee:servlet" />
+			<xsd:field xpath="j2ee:servlet-name" />
+		</xsd:unique>
+		<xsd:unique name="web-app-filter-name-uniqueness">
+			<xsd:selector xpath="j2ee:filter" />
+			<xsd:field xpath="j2ee:filter-name" />
+		</xsd:unique>
+		<xsd:unique name="web-app-ejb-local-ref-name-uniqueness">
+			<xsd:selector xpath="j2ee:ejb-local-ref" />
+			<xsd:field xpath="j2ee:ejb-ref-name" />
+		</xsd:unique>
+		<xsd:unique name="web-app-ejb-ref-name-uniqueness">
+			<xsd:selector xpath="j2ee:ejb-ref" />
+			<xsd:field xpath="j2ee:ejb-ref-name" />
+		</xsd:unique>
+		<xsd:unique name="web-app-resource-env-ref-uniqueness">
+			<xsd:selector xpath="j2ee:resource-env-ref" />
+			<xsd:field xpath="j2ee:resource-env-ref-name" />
+		</xsd:unique>
+		<xsd:unique name="web-app-message-destination-ref-uniqueness">
+			<xsd:selector xpath="j2ee:message-destination-ref" />
+			<xsd:field xpath="j2ee:message-destination-ref-name" />
+		</xsd:unique>
+		<xsd:unique name="web-app-res-ref-name-uniqueness">
+			<xsd:selector xpath="j2ee:resource-ref" />
+			<xsd:field xpath="j2ee:res-ref-name" />
+		</xsd:unique>
+		<xsd:unique name="web-app-env-entry-name-uniqueness">
+			<xsd:selector xpath="j2ee:env-entry" />
+			<xsd:field xpath="j2ee:env-entry-name" />
+		</xsd:unique>
+		<xsd:key name="web-app-role-name-key">
+			<xsd:selector xpath="j2ee:security-role" />
+			<xsd:field xpath="j2ee:role-name" />
+		</xsd:key>
+		<xsd:keyref name="web-app-role-name-references"
+			refer="j2ee:web-app-role-name-key">
+			<xsd:selector xpath="j2ee:servlet/j2ee:security-role-ref" />
+			<xsd:field xpath="j2ee:role-link" />
+		</xsd:keyref>
+	</xsd:element>
+	<xsd:complexType name="auth-constraintType">
+		<xsd:sequence>
+			<xsd:element name="description" type="j2ee:descriptionType"
+				minOccurs="0" maxOccurs="unbounded" />
+			<xsd:element name="role-name" type="j2ee:role-nameType"
+				minOccurs="0" maxOccurs="unbounded" />
+		</xsd:sequence>
+		<xsd:attribute name="id" type="xsd:ID" />
+	</xsd:complexType>
+	<xsd:complexType name="auth-methodType">
+		<xsd:simpleContent>
+			<xsd:restriction base="j2ee:string" />
+		</xsd:simpleContent>
+	</xsd:complexType>
+	<xsd:complexType name="dispatcherType">
+		<xsd:simpleContent>
+			<xsd:restriction base="j2ee:string">
+				<xsd:enumeration value="FORWARD" />
+				<xsd:enumeration value="INCLUDE" />
+				<xsd:enumeration value="REQUEST" />
+				<xsd:enumeration value="ERROR" />
+			</xsd:restriction>
+		</xsd:simpleContent>
+	</xsd:complexType>
+	<xsd:simpleType name="encodingType">
+		<xsd:restriction base="xsd:string">
+			<xsd:pattern value="[^s]+" />
+		</xsd:restriction>
+	</xsd:simpleType>
+	<xsd:complexType name="error-codeType">
+		<xsd:simpleContent>
+			<xsd:restriction base="j2ee:xsdPositiveIntegerType">
+				<xsd:pattern value="d{3}" />
+				<xsd:attribute name="id" type="xsd:ID" />
+			</xsd:restriction>
+		</xsd:simpleContent>
+	</xsd:complexType>
+	<xsd:complexType name="error-pageType">
+		<xsd:sequence>
+			<xsd:choice>
+				<xsd:element name="error-code"
+					type="j2ee:error-codeType" />
+				<xsd:element name="exception-type"
+					type="j2ee:fully-qualified-classType">
+				</xsd:element>
+			</xsd:choice>
+			<xsd:element name="location" type="j2ee:war-pathType">
+			</xsd:element>
+		</xsd:sequence>
+		<xsd:attribute name="id" type="xsd:ID" />
+	</xsd:complexType>
+	<xsd:complexType name="filter-mappingType">
+		<xsd:sequence>
+			<xsd:element name="filter-name" type="j2ee:filter-nameType" />
+			<xsd:choice>
+				<xsd:element name="url-pattern"
+					type="j2ee:url-patternType" />
+				<xsd:element name="servlet-name"
+					type="j2ee:servlet-nameType" />
+			</xsd:choice>
+			<xsd:element name="dispatcher" type="j2ee:dispatcherType"
+				minOccurs="0" maxOccurs="4" />
+		</xsd:sequence>
+		<xsd:attribute name="id" type="xsd:ID" />
+	</xsd:complexType>
+	<xsd:complexType name="filter-nameType">
+		<xsd:simpleContent>
+			<xsd:extension base="j2ee:nonEmptyStringType" />
+		</xsd:simpleContent>
+	</xsd:complexType>
+	<xsd:complexType name="filterType">
+		<xsd:sequence>
+			<xsd:group ref="j2ee:descriptionGroup" />
+			<xsd:element name="filter-name" type="j2ee:filter-nameType" />
+			<xsd:element name="filter-class"
+				type="j2ee:fully-qualified-classType">
+			</xsd:element>
+			<xsd:element name="init-param" type="j2ee:param-valueType"
+				minOccurs="0" maxOccurs="unbounded">
+			</xsd:element>
+		</xsd:sequence>
+		<xsd:attribute name="id" type="xsd:ID" />
+	</xsd:complexType>
+	<xsd:complexType name="form-login-configType">
+		<xsd:sequence>
+			<xsd:element name="form-login-page"
+				type="j2ee:war-pathType">
+			</xsd:element>
+			<xsd:element name="form-error-page"
+				type="j2ee:war-pathType">
+			</xsd:element>
+		</xsd:sequence>
+		<xsd:attribute name="id" type="xsd:ID" />
+	</xsd:complexType>
+	<xsd:complexType name="http-methodType">
+		<xsd:simpleContent>
+			<xsd:restriction base="j2ee:string">
+				<xsd:enumeration value="GET" />
+				<xsd:enumeration value="POST" />
+				<xsd:enumeration value="PUT" />
+				<xsd:enumeration value="DELETE" />
+				<xsd:enumeration value="HEAD" />
+				<xsd:enumeration value="OPTIONS" />
+				<xsd:enumeration value="TRACE" />
+			</xsd:restriction>
+		</xsd:simpleContent>
+	</xsd:complexType>
+	<xsd:complexType name="locale-encoding-mapping-listType">
+		<xsd:sequence>
+			<xsd:element name="locale-encoding-mapping"
+				type="j2ee:locale-encoding-mappingType" maxOccurs="unbounded" />
+		</xsd:sequence>
+		<xsd:attribute name="id" type="xsd:ID" />
+	</xsd:complexType>
+	<xsd:complexType name="locale-encoding-mappingType">
+		<xsd:sequence>
+			<xsd:element name="locale" type="j2ee:localeType" />
+			<xsd:element name="encoding" type="j2ee:encodingType" />
+		</xsd:sequence>
+		<xsd:attribute name="id" type="xsd:ID" />
+	</xsd:complexType>
+	<xsd:simpleType name="localeType">
+		<xsd:restriction base="xsd:string">
+			<xsd:pattern value="[a-z]{2}(_|-)?([p{L}-p{Nd}]{2})?" />
+		</xsd:restriction>
+	</xsd:simpleType>
+	<xsd:complexType name="login-configType">
+		<xsd:sequence>
+			<xsd:element name="auth-method" type="j2ee:auth-methodType"
+				minOccurs="0" />
+			<xsd:element name="realm-name" type="j2ee:string"
+				minOccurs="0">
+			</xsd:element>
+			<xsd:element name="form-login-config"
+				type="j2ee:form-login-configType" minOccurs="0" />
+		</xsd:sequence>
+		<xsd:attribute name="id" type="xsd:ID" />
+	</xsd:complexType>
+	<xsd:complexType name="mime-mappingType">
+		<xsd:sequence>
+			<xsd:element name="extension" type="j2ee:string" />
+			<xsd:element name="mime-type" type="j2ee:mime-typeType" />
+		</xsd:sequence>
+		<xsd:attribute name="id" type="xsd:ID" />
+	</xsd:complexType>
+	<xsd:complexType name="mime-typeType">
+		<xsd:simpleContent>
+			<xsd:restriction base="j2ee:string">
+				<xsd:pattern value="[p{L}-p{Nd}]+/[p{L}-p{Nd}.]+" />
+			</xsd:restriction>
+		</xsd:simpleContent>
+	</xsd:complexType>
+	<xsd:complexType name="nonEmptyStringType">
+		<xsd:simpleContent>
+			<xsd:restriction base="j2ee:string">
+				<xsd:minLength value="1" />
+			</xsd:restriction>
+		</xsd:simpleContent>
+	</xsd:complexType>
+	<xsd:complexType name="security-constraintType">
+		<xsd:sequence>
+			<xsd:element name="display-name"
+				type="j2ee:display-nameType" minOccurs="0" maxOccurs="unbounded" />
+			<xsd:element name="web-resource-collection"
+				type="j2ee:web-resource-collectionType" maxOccurs="unbounded" />
+			<xsd:element name="auth-constraint"
+				type="j2ee:auth-constraintType" minOccurs="0" />
+			<xsd:element name="user-data-constraint"
+				type="j2ee:user-data-constraintType" minOccurs="0" />
+		</xsd:sequence>
+		<xsd:attribute name="id" type="xsd:ID" />
+	</xsd:complexType>
+	<xsd:complexType name="servlet-mappingType">
+		<xsd:sequence>
+			<xsd:element name="servlet-name"
+				type="j2ee:servlet-nameType" />
+			<xsd:element name="url-pattern" type="j2ee:url-patternType" />
+		</xsd:sequence>
+		<xsd:attribute name="id" type="xsd:ID" />
+	</xsd:complexType>
+	<xsd:complexType name="servlet-nameType">
+		<xsd:simpleContent>
+			<xsd:extension base="j2ee:nonEmptyStringType" />
+		</xsd:simpleContent>
+	</xsd:complexType>
+	<xsd:complexType name="servletType">
+		<xsd:sequence>
+			<xsd:group ref="j2ee:descriptionGroup" />
+			<xsd:element name="servlet-name"
+				type="j2ee:servlet-nameType" />
+			<xsd:choice>
+				<xsd:element name="servlet-class"
+					type="j2ee:fully-qualified-classType">
+				</xsd:element>
+				<xsd:element name="jsp-file" type="j2ee:jsp-fileType" />
+			</xsd:choice>
+			<xsd:element name="init-param" type="j2ee:param-valueType"
+				minOccurs="0" maxOccurs="unbounded" />
+			<xsd:element name="load-on-startup"
+				type="j2ee:xsdIntegerType" minOccurs="0">
+			</xsd:element>
+			<xsd:element name="run-as" type="j2ee:run-asType"
+				minOccurs="0" />
+			<xsd:element name="security-role-ref"
+				type="j2ee:security-role-refType" minOccurs="0"
+				maxOccurs="unbounded" />
+		</xsd:sequence>
+		<xsd:attribute name="id" type="xsd:ID" />
+	</xsd:complexType>
+	<xsd:complexType name="session-configType">
+		<xsd:sequence>
+			<xsd:element name="session-timeout"
+				type="j2ee:xsdIntegerType" minOccurs="0">
+			</xsd:element>
+		</xsd:sequence>
+		<xsd:attribute name="id" type="xsd:ID" />
+	</xsd:complexType>
+	<xsd:complexType name="transport-guaranteeType">
+		<xsd:simpleContent>
+			<xsd:restriction base="j2ee:string">
+				<xsd:enumeration value="NONE" />
+				<xsd:enumeration value="INTEGRAL" />
+				<xsd:enumeration value="CONFIDENTIAL" />
+			</xsd:restriction>
+		</xsd:simpleContent>
+	</xsd:complexType>
+	<xsd:complexType name="user-data-constraintType">
+		<xsd:sequence>
+			<xsd:element name="description" type="j2ee:descriptionType"
+				minOccurs="0" maxOccurs="unbounded" />
+			<xsd:element name="transport-guarantee"
+				type="j2ee:transport-guaranteeType" />
+		</xsd:sequence>
+		<xsd:attribute name="id" type="xsd:ID" />
+	</xsd:complexType>
+	<xsd:complexType name="war-pathType">
+		<xsd:simpleContent>
+			<xsd:restriction base="j2ee:string">
+				<xsd:pattern value="/.*" />
+			</xsd:restriction>
+		</xsd:simpleContent>
+	</xsd:complexType>
+	<xsd:simpleType name="web-app-versionType">
+		<xsd:restriction base="xsd:token">
+			<xsd:enumeration value="2.4" />
+		</xsd:restriction>
+	</xsd:simpleType>
+	<xsd:complexType name="web-appType">
+		<xsd:choice minOccurs="0" maxOccurs="unbounded">
+			<xsd:group ref="j2ee:descriptionGroup" />
+			<xsd:element name="distributable" type="j2ee:emptyType" />
+			<xsd:element name="context-param"
+				type="j2ee:param-valueType">
+			</xsd:element>
+			<xsd:element name="filter" type="j2ee:filterType" />
+			<xsd:element name="filter-mapping"
+				type="j2ee:filter-mappingType" />
+			<xsd:element name="listener" type="j2ee:listenerType" />
+			<xsd:element name="servlet" type="j2ee:servletType" />
+			<xsd:element name="servlet-mapping"
+				type="j2ee:servlet-mappingType" />
+			<xsd:element name="session-config"
+				type="j2ee:session-configType" />
+			<xsd:element name="mime-mapping"
+				type="j2ee:mime-mappingType" />
+			<xsd:element name="welcome-file-list"
+				type="j2ee:welcome-file-listType" />
+			<xsd:element name="error-page" type="j2ee:error-pageType" />
+			<xsd:element name="jsp-config" type="j2ee:jsp-configType" />
+			<xsd:element name="security-constraint"
+				type="j2ee:security-constraintType" />
+			<xsd:element name="login-config"
+				type="j2ee:login-configType" />
+			<xsd:element name="security-role"
+				type="j2ee:security-roleType" />
+			<xsd:group ref="j2ee:jndiEnvironmentRefsGroup" />
+			<xsd:element name="message-destination"
+				type="j2ee:message-destinationType" />
+			<xsd:element name="locale-encoding-mapping-list"
+				type="j2ee:locale-encoding-mapping-listType" />
+		</xsd:choice>
+		<xsd:attribute name="version" type="j2ee:web-app-versionType"
+			use="required" />
+		<xsd:attribute name="id" type="xsd:ID" />
+	</xsd:complexType>
+	<xsd:complexType name="web-resource-collectionType">
+		<xsd:sequence>
+			<xsd:element name="web-resource-name" type="j2ee:string">
+			</xsd:element>
+			<xsd:element name="description" type="j2ee:descriptionType"
+				minOccurs="0" maxOccurs="unbounded" />
+			<xsd:element name="url-pattern" type="j2ee:url-patternType"
+				maxOccurs="unbounded" />
+			<xsd:element name="http-method" type="j2ee:http-methodType"
+				minOccurs="0" maxOccurs="unbounded" />
+		</xsd:sequence>
+		<xsd:attribute name="id" type="xsd:ID" />
+	</xsd:complexType>
+	<xsd:complexType name="welcome-file-listType">
+		<xsd:sequence>
+			<xsd:element name="welcome-file" type="xsd:string"
+				maxOccurs="unbounded">
+			</xsd:element>
+		</xsd:sequence>
+		<xsd:attribute name="id" type="xsd:ID" />
+	</xsd:complexType>
+</xsd:schema>

Propchange: geronimo/sandbox/xsds/web-app_2_4.xsd
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/sandbox/xsds/web-app_2_4.xsd
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/sandbox/xsds/web-app_2_4.xsd
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: geronimo/sandbox/xsds/web-jsptaglibrary_2_0.xsd
URL: http://svn.apache.org/viewvc/geronimo/sandbox/xsds/web-jsptaglibrary_2_0.xsd?view=auto&rev=484942
==============================================================================
--- geronimo/sandbox/xsds/web-jsptaglibrary_2_0.xsd (added)
+++ geronimo/sandbox/xsds/web-jsptaglibrary_2_0.xsd Fri Dec  8 23:37:51 2006
@@ -0,0 +1,233 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+  --  The actual Sun XSD for this stripped down XSD can be found at
+  --  http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0.xsd
+  --  This XSD contains only the functional elements for programatic use.
+  -->
+
+<xsd:schema targetNamespace="http://java.sun.com/xml/ns/j2ee"
+	xmlns:j2ee="http://java.sun.com/xml/ns/j2ee"
+	xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+	elementFormDefault="qualified" attributeFormDefault="unqualified"
+	version="2.0">
+	
+	<xsd:include schemaLocation="j2ee_1_4.xsd" />
+	
+	<xsd:element name="taglib" type="j2ee:tldTaglibType">
+		<xsd:unique name="tag-name-uniqueness">
+			<xsd:selector xpath="j2ee:tag|j2ee:tag-file" />
+			<xsd:field xpath="j2ee:name" />
+		</xsd:unique>
+		<xsd:unique name="function-name-uniqueness">
+			<xsd:selector xpath="j2ee:function" />
+			<xsd:field xpath="j2ee:name" />
+		</xsd:unique>
+	</xsd:element>
+	
+	<xsd:complexType name="body-contentType">
+		<xsd:simpleContent>
+			<xsd:restriction base="j2ee:string">
+				<xsd:enumeration value="tagdependent" />
+				<xsd:enumeration value="JSP" />
+				<xsd:enumeration value="empty" />
+				<xsd:enumeration value="scriptless" />
+			</xsd:restriction>
+		</xsd:simpleContent>
+	</xsd:complexType>
+	
+	<xsd:complexType name="extensibleType" abstract="true">
+		<xsd:attribute name="id" type="xsd:ID" />
+	</xsd:complexType>
+	
+	<xsd:complexType name="functionType">
+		<xsd:sequence>
+			<xsd:group ref="j2ee:descriptionGroup" />
+			<xsd:element name="name"
+				type="j2ee:tld-canonical-nameType">
+			</xsd:element>
+			<xsd:element name="function-class"
+				type="j2ee:fully-qualified-classType">
+			</xsd:element>
+			<xsd:element name="function-signature" type="j2ee:string">
+			</xsd:element>
+			<xsd:element name="example" type="j2ee:xsdStringType"
+				minOccurs="0">
+			</xsd:element>
+			<xsd:element name="function-extension"
+				type="j2ee:tld-extensionType" minOccurs="0" maxOccurs="unbounded">
+			</xsd:element>
+		</xsd:sequence>
+		<xsd:attribute name="id" type="xsd:ID" />
+	</xsd:complexType>
+	
+	<xsd:complexType name="tagFileType">
+		<xsd:sequence>
+			<xsd:group ref="j2ee:descriptionGroup" />
+			<xsd:element name="name" type="j2ee:tld-canonical-nameType" />
+			<xsd:element name="path" type="j2ee:pathType" />
+			<xsd:element name="example" type="j2ee:xsdStringType"
+				minOccurs="0">
+			</xsd:element>
+			<xsd:element name="tag-extension"
+				type="j2ee:tld-extensionType" minOccurs="0" maxOccurs="unbounded">
+			</xsd:element>
+		</xsd:sequence>
+		<xsd:attribute name="id" type="xsd:ID" />
+	</xsd:complexType>
+	
+	<xsd:complexType name="tagType">
+		<xsd:sequence>
+			<xsd:group ref="j2ee:descriptionGroup" />
+			<xsd:element name="name" type="j2ee:tld-canonical-nameType" />
+			<xsd:element name="tag-class"
+				type="j2ee:fully-qualified-classType">
+			</xsd:element>
+			<xsd:element name="tei-class"
+				type="j2ee:fully-qualified-classType" minOccurs="0">
+			</xsd:element>
+			<xsd:element name="body-content"
+				type="j2ee:body-contentType">
+			</xsd:element>
+			<xsd:element name="variable" type="j2ee:variableType"
+				minOccurs="0" maxOccurs="unbounded" />
+			<xsd:element name="attribute" type="j2ee:tld-attributeType"
+				minOccurs="0" maxOccurs="unbounded" />
+			<xsd:element name="dynamic-attributes"
+				type="j2ee:generic-booleanType" minOccurs="0" />
+			<xsd:element name="example" type="j2ee:xsdStringType"
+				minOccurs="0">
+			</xsd:element>
+			<xsd:element name="tag-extension"
+				type="j2ee:tld-extensionType" minOccurs="0" maxOccurs="unbounded">
+			</xsd:element>
+		</xsd:sequence>
+		<xsd:attribute name="id" type="xsd:ID" />
+	</xsd:complexType>
+	
+	<xsd:complexType name="tld-attributeType">
+		<xsd:sequence>
+			<xsd:element name="description" type="j2ee:descriptionType"
+				minOccurs="0" maxOccurs="unbounded" />
+			<xsd:element name="name" type="j2ee:java-identifierType" />
+			<xsd:element name="required" type="j2ee:generic-booleanType"
+				minOccurs="0">
+			</xsd:element>
+			<xsd:choice>
+				<xsd:sequence>
+					<xsd:element name="rtexprvalue"
+						type="j2ee:generic-booleanType" minOccurs="0">
+					</xsd:element>
+					<xsd:element name="type"
+						type="j2ee:fully-qualified-classType" minOccurs="0">
+					</xsd:element>
+				</xsd:sequence>
+				<xsd:element name="fragment"
+					type="j2ee:generic-booleanType" minOccurs="0">
+				</xsd:element>
+			</xsd:choice>
+		</xsd:sequence>
+		<xsd:attribute name="id" type="xsd:ID" />
+	</xsd:complexType>
+	
+	<xsd:complexType name="tld-canonical-nameType">
+		<xsd:simpleContent>
+			<xsd:restriction base="j2ee:xsdNMTOKENType" />
+		</xsd:simpleContent>
+	</xsd:complexType>
+	
+	<xsd:complexType name="tld-extensionType">
+		<xsd:sequence>
+			<xsd:element name="extension-element"
+				type="j2ee:extensibleType" maxOccurs="unbounded" />
+		</xsd:sequence>
+		<xsd:attribute name="namespace" use="required"
+			type="xsd:anyURI" />
+		<xsd:attribute name="id" type="xsd:ID" />
+	</xsd:complexType>
+	
+	<xsd:complexType name="tldTaglibType">
+		<xsd:sequence>
+			<xsd:group ref="j2ee:descriptionGroup" />
+			<xsd:element name="tlib-version"
+				type="j2ee:dewey-versionType">
+			</xsd:element>
+			<xsd:element name="short-name"
+				type="j2ee:tld-canonical-nameType">
+			</xsd:element>
+			<xsd:element name="uri" type="j2ee:xsdAnyURIType"
+				minOccurs="0">
+			</xsd:element>
+			<xsd:element name="validator" type="j2ee:validatorType"
+				minOccurs="0">
+			</xsd:element>
+			<xsd:element name="listener" type="j2ee:listenerType"
+				minOccurs="0" maxOccurs="unbounded">
+			</xsd:element>
+			<xsd:element name="tag" type="j2ee:tagType" minOccurs="0"
+				maxOccurs="unbounded" />
+			<xsd:element name="tag-file" type="j2ee:tagFileType"
+				minOccurs="0" maxOccurs="unbounded" />
+			<xsd:element name="function" type="j2ee:functionType"
+				minOccurs="0" maxOccurs="unbounded" />
+			<xsd:element name="taglib-extension"
+				type="j2ee:tld-extensionType" minOccurs="0" maxOccurs="unbounded">
+			</xsd:element>
+		</xsd:sequence>
+		<xsd:attribute name="version" type="j2ee:dewey-versionType"
+			fixed="2.0" use="required">
+		</xsd:attribute>
+		<xsd:attribute name="id" type="xsd:ID" />
+	</xsd:complexType>
+	
+	<xsd:complexType name="validatorType">
+		<xsd:sequence>
+			<xsd:element name="description" type="j2ee:descriptionType"
+				minOccurs="0" maxOccurs="unbounded" />
+			<xsd:element name="validator-class"
+				type="j2ee:fully-qualified-classType">
+			</xsd:element>
+			<xsd:element name="init-param" type="j2ee:param-valueType"
+				minOccurs="0" maxOccurs="unbounded">
+			</xsd:element>
+		</xsd:sequence>
+		<xsd:attribute name="id" type="xsd:ID" />
+	</xsd:complexType>
+	
+	<xsd:complexType name="variable-scopeType">
+		<xsd:simpleContent>
+
+			<xsd:restriction base="j2ee:string">
+				<xsd:enumeration value="NESTED" />
+				<xsd:enumeration value="AT_BEGIN" />
+				<xsd:enumeration value="AT_END" />
+			</xsd:restriction>
+		</xsd:simpleContent>
+	</xsd:complexType>
+	
+	<xsd:complexType name="variableType">
+		<xsd:sequence>
+			<xsd:element name="description" type="j2ee:descriptionType"
+				minOccurs="0" maxOccurs="unbounded" />
+			<xsd:choice>
+				<xsd:element name="name-given"
+					type="j2ee:java-identifierType">
+				</xsd:element>
+				<xsd:element name="name-from-attribute"
+					type="j2ee:java-identifierType">
+				</xsd:element>
+			</xsd:choice>
+			<xsd:element name="variable-class"
+				type="j2ee:fully-qualified-classType" minOccurs="0">
+			</xsd:element>
+
+			<xsd:element name="declare" type="j2ee:generic-booleanType"
+				minOccurs="0">
+			</xsd:element>
+			<xsd:element name="scope" type="j2ee:variable-scopeType"
+				minOccurs="0">
+			</xsd:element>
+		</xsd:sequence>
+		<xsd:attribute name="id" type="xsd:ID" />
+	</xsd:complexType>
+</xsd:schema>
\ No newline at end of file

Propchange: geronimo/sandbox/xsds/web-jsptaglibrary_2_0.xsd
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/sandbox/xsds/web-jsptaglibrary_2_0.xsd
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/sandbox/xsds/web-jsptaglibrary_2_0.xsd
------------------------------------------------------------------------------
    svn:mime-type = text/xml



Mime
View raw message