glassfish 0.1.1-universal-java-1.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (135) hide show
  1. data/COPYRIGHT +33 -0
  2. data/LICENSE.txt +263 -0
  3. data/README +12 -0
  4. data/bin/asadmin +7 -0
  5. data/bin/asadmin.bat +8 -0
  6. data/bin/glassfish_rails +40 -0
  7. data/config/asadminenv.conf +6 -0
  8. data/config/asenv.bat +28 -0
  9. data/config/asenv.conf +27 -0
  10. data/config/glassfish.container +4 -0
  11. data/domains/domain1/config/admin-keyfile +3 -0
  12. data/domains/domain1/config/cacerts.jks +0 -0
  13. data/domains/domain1/config/default-web.xml +906 -0
  14. data/domains/domain1/config/domain-passwords +0 -0
  15. data/domains/domain1/config/domain.xml +208 -0
  16. data/domains/domain1/config/keyfile +6 -0
  17. data/domains/domain1/config/keystore.jks +0 -0
  18. data/domains/domain1/config/logging.properties +82 -0
  19. data/domains/domain1/config/login.conf +18 -0
  20. data/domains/domain1/config/server.policy +160 -0
  21. data/domains/domain1/config/sun-acc.xml +40 -0
  22. data/domains/domain1/config/wss-server-config-1.0.xml +86 -0
  23. data/domains/domain1/config/wss-server-config-2.0.xml +94 -0
  24. data/domains/domain1/docroot/favicon.gif +0 -0
  25. data/domains/domain1/docroot/index.html +87 -0
  26. data/domains/domain1/master-password +0 -0
  27. data/lib/appclient/appclientlogin.conf +10 -0
  28. data/lib/appclient/client.policy +79 -0
  29. data/lib/appclient/wss-client-config-1.0.xml +84 -0
  30. data/lib/appclient/wss-client-config-2.0.xml +96 -0
  31. data/lib/dtds/application-client_1_2.dtd +292 -0
  32. data/lib/dtds/application-client_1_3.dtd +506 -0
  33. data/lib/dtds/application_1_2.dtd +197 -0
  34. data/lib/dtds/application_1_3.dtd +312 -0
  35. data/lib/dtds/connector_1_0.dtd +561 -0
  36. data/lib/dtds/ejb-jar_1_1.dtd +894 -0
  37. data/lib/dtds/ejb-jar_2_0.dtd +1671 -0
  38. data/lib/dtds/sun-application-client-container_1_0.dtd +123 -0
  39. data/lib/dtds/sun-application-client-container_1_1.dtd +264 -0
  40. data/lib/dtds/sun-application-client-container_1_2.dtd +267 -0
  41. data/lib/dtds/sun-application-client_1_3-0.dtd +57 -0
  42. data/lib/dtds/sun-application-client_1_4-0.dtd +182 -0
  43. data/lib/dtds/sun-application-client_1_4-1.dtd +431 -0
  44. data/lib/dtds/sun-application-client_5_0-0.dtd +495 -0
  45. data/lib/dtds/sun-application_1_3-0.dtd +30 -0
  46. data/lib/dtds/sun-application_1_4-0.dtd +44 -0
  47. data/lib/dtds/sun-application_5_0-0.dtd +51 -0
  48. data/lib/dtds/sun-cmp-mapping_1_0.dtd +100 -0
  49. data/lib/dtds/sun-cmp-mapping_1_1.dtd +99 -0
  50. data/lib/dtds/sun-cmp-mapping_1_2.dtd +106 -0
  51. data/lib/dtds/sun-connector_1_0-0.dtd +66 -0
  52. data/lib/dtds/sun-connector_1_5-0.dtd +62 -0
  53. data/lib/dtds/sun-domain_1_0.dtd +2007 -0
  54. data/lib/dtds/sun-domain_1_1.dtd +3080 -0
  55. data/lib/dtds/sun-domain_1_2.dtd +3697 -0
  56. data/lib/dtds/sun-domain_1_3.dtd +3867 -0
  57. data/lib/dtds/sun-ejb-jar_2_0-0.dtd +449 -0
  58. data/lib/dtds/sun-ejb-jar_2_0-1.dtd +454 -0
  59. data/lib/dtds/sun-ejb-jar_2_1-0.dtd +756 -0
  60. data/lib/dtds/sun-ejb-jar_2_1-1.dtd +1085 -0
  61. data/lib/dtds/sun-ejb-jar_3_0-0.dtd +1113 -0
  62. data/lib/dtds/sun-loadbalancer_1_0.dtd +156 -0
  63. data/lib/dtds/sun-loadbalancer_1_1.dtd +172 -0
  64. data/lib/dtds/sun-resources_1_0.dtd +650 -0
  65. data/lib/dtds/sun-resources_1_1.dtd +650 -0
  66. data/lib/dtds/sun-resources_1_2.dtd +662 -0
  67. data/lib/dtds/sun-resources_1_3.dtd +732 -0
  68. data/lib/dtds/sun-server_1_0.dtd +1056 -0
  69. data/lib/dtds/sun-web-app_2_3-0.dtd +230 -0
  70. data/lib/dtds/sun-web-app_2_3-1.dtd +230 -0
  71. data/lib/dtds/sun-web-app_2_4-0.dtd +466 -0
  72. data/lib/dtds/sun-web-app_2_4-1.dtd +742 -0
  73. data/lib/dtds/sun-web-app_2_5-0.dtd +789 -0
  74. data/lib/dtds/web-app_2_2.dtd +639 -0
  75. data/lib/dtds/web-app_2_3.dtd +1063 -0
  76. data/lib/dtds/web-jsptaglibrary_1_1.dtd +265 -0
  77. data/lib/dtds/web-jsptaglibrary_1_2.dtd +468 -0
  78. data/lib/package-appclient.xml +185 -0
  79. data/lib/processLauncher.properties +25 -0
  80. data/lib/processLauncher.xml +189 -0
  81. data/lib/schemas/XMLSchema.dtd +402 -0
  82. data/lib/schemas/application-client_1_4.xsd +267 -0
  83. data/lib/schemas/application-client_5.xsd +304 -0
  84. data/lib/schemas/application_1_4.xsd +315 -0
  85. data/lib/schemas/application_5.xsd +336 -0
  86. data/lib/schemas/connector_1_5.xsd +1036 -0
  87. data/lib/schemas/datatypes.dtd +203 -0
  88. data/lib/schemas/ejb-jar_2_1.xsd +2208 -0
  89. data/lib/schemas/ejb-jar_3_0.xsd +2706 -0
  90. data/lib/schemas/j2ee_1_4.xsd +1608 -0
  91. data/lib/schemas/j2ee_jaxrpc_mapping_1_1.xsd +886 -0
  92. data/lib/schemas/j2ee_web_services_1_1.xsd +491 -0
  93. data/lib/schemas/j2ee_web_services_client_1_1.xsd +345 -0
  94. data/lib/schemas/javaee_5.xsd +2096 -0
  95. data/lib/schemas/javaee_web_services_1_2.xsd +747 -0
  96. data/lib/schemas/javaee_web_services_client_1_2.xsd +578 -0
  97. data/lib/schemas/jax-rpc-ri-config.xsd +416 -0
  98. data/lib/schemas/jsp_2_0.xsd +308 -0
  99. data/lib/schemas/jsp_2_1.xsd +343 -0
  100. data/lib/schemas/orm_1_0.xsd +1516 -0
  101. data/lib/schemas/persistence_1_0.xsd +260 -0
  102. data/lib/schemas/web-app_2_4.xsd +1234 -0
  103. data/lib/schemas/web-app_2_5.xsd +1271 -0
  104. data/lib/schemas/web-jsptaglibrary_2_0.xsd +1010 -0
  105. data/lib/schemas/web-jsptaglibrary_2_1.xsd +1144 -0
  106. data/lib/schemas/xml.xsd +82 -0
  107. data/modules/admin-cli-10.0-SNAPSHOT.jar +0 -0
  108. data/modules/auto-depends-0.2-SNAPSHOT.jar +0 -0
  109. data/modules/cli-framework-10.0-SNAPSHOT.jar +0 -0
  110. data/modules/common-ee-util-10.0-SNAPSHOT.jar +0 -0
  111. data/modules/common-util-10.0-SNAPSHOT.jar +0 -0
  112. data/modules/config-0.2-SNAPSHOT.jar +0 -0
  113. data/modules/config-api-10.0-SNAPSHOT.jar +0 -0
  114. data/modules/gf-jruby-connector-10.0-SNAPSHOT.jar +0 -0
  115. data/modules/glassfish-10.0-SNAPSHOT.jar +0 -0
  116. data/modules/glassfish-api-10.0-SNAPSHOT.jar +0 -0
  117. data/modules/glassfish.rb +10 -0
  118. data/modules/grizzly-framework-1.7.1.jar +0 -0
  119. data/modules/grizzly-http-1.7.1.jar +0 -0
  120. data/modules/grizzly-http-utils-1.7.1.jar +0 -0
  121. data/modules/grizzly-jruby-1.7.0.jar +0 -0
  122. data/modules/grizzly-jruby-module-1.7.0.jar +0 -0
  123. data/modules/grizzly-module-1.7.1.jar +0 -0
  124. data/modules/grizzly-portunif-1.7.1.jar +0 -0
  125. data/modules/grizzly-rcm-1.7.1.jar +0 -0
  126. data/modules/hk2-0.2-SNAPSHOT.jar +0 -0
  127. data/modules/hk2-core-0.2-SNAPSHOT.jar +0 -0
  128. data/modules/junit-4.3.1.jar +0 -0
  129. data/modules/kernel-10.0-SNAPSHOT.jar +0 -0
  130. data/modules/persistence-api-1.0b.jar +0 -0
  131. data/modules/servlet-api-2.5.jar +0 -0
  132. data/modules/sjsxp-1.0.jar +0 -0
  133. data/modules/stax-api-1.0-2.jar +0 -0
  134. data/modules/tiger-types-1.0.jar +0 -0
  135. metadata +206 -0
@@ -0,0 +1,185 @@
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+
3
+ <!--
4
+ The contents of this file are subject to the terms
5
+ of the Common Development and Distribution License
6
+ (the License). You may not use this file except in
7
+ compliance with the License.
8
+
9
+ You can obtain a copy of the license at
10
+ https://glassfish.dev.java.net/public/CDDLv1.0.html or
11
+ glassfish/bootstrap/legal/CDDLv1.0.txt.
12
+ See the License for the specific language governing
13
+ permissions and limitations under the License.
14
+
15
+ When distributing Covered Code, include this CDDL
16
+ Header Notice in each file and include the License file
17
+ at glassfish/bootstrap/legal/CDDLv1.0.txt.
18
+ If applicable, add the following below the CDDL Header,
19
+ with the fields enclosed by brackets [] replaced by
20
+ you own identifying information:
21
+ "Portions Copyrighted [year] [name of copyright owner]"
22
+
23
+ Copyright 2006 Sun Microsystems, Inc. All rights reserved.
24
+ -->
25
+
26
+ <!-- This file is used by the package-appclient script -->
27
+
28
+ <project name="package-appclient" default="all" basedir=".">
29
+
30
+ <property name="install.home" value="${basedir}/.."/>
31
+ <property name="appclientjar" value="${user.dir}/appclient.jar"/>
32
+
33
+ <!-- package-appclient script should override the following properties -->
34
+ <property name="mq.home" value="${install.home}/imq"/>
35
+ <property name="domain.dir" value="${install.home}/domains"/>
36
+
37
+ <target name="all">
38
+
39
+ <echo message="Creating ${appclientjar} ... "/>
40
+
41
+ <condition property="windows">
42
+ <os family="windows" />
43
+ </condition>
44
+ <condition property="unix">
45
+ <os family="unix" />
46
+ </condition>
47
+
48
+ <delete file="${appclientjar}" quiet="true"/>
49
+ <tempfile destdir="${java.io.tmpdir}" prefix="pkgac" property="tmp.dir"/>
50
+
51
+ <!--
52
+ There is a small but non-zero chance that a concurrent user could have
53
+ created the same temp file. If the file exists abort the task.
54
+ -->
55
+ <available file="${tmp.dir}" property="tmp.dir.exists"/>
56
+ <fail if="tmp.dir.exists">Temporary directory ${tmp.dir} already exists - aborting. Please try again.</fail>
57
+
58
+ <delete dir="${tmp.dir}" quiet="true"/>
59
+ <mkdir dir="${tmp.dir}"/>
60
+
61
+ <antcall target="do.copy"/>
62
+
63
+ <zip destfile="${appclientjar}">
64
+ <zipfileset dir="${install.home}"
65
+ prefix="appclient">
66
+ <include name="lib/dtds/*.dtd"/>
67
+ <include name="lib/schemas/*"/>
68
+ <include name="lib/appclient/client.policy"/>
69
+ <include name="lib/appclient/appclientlogin.conf"/>
70
+ <include name="lib/appclient/wss-client-config-2.0.xml"/>
71
+ <include name="lib/endorsed/*.jar"/>
72
+
73
+ <include name="lib/*.jar"/>
74
+ <include name="lib/install/applications/jmsra/imqjmsra.jar"/>
75
+ <exclude name="lib/appserv-assemblytool.jar"/>
76
+ <exclude name="lib/appserv-jstl.jar"/>
77
+ <exclude name="lib/appserv-tags.jar"/>
78
+ <exclude name="lib/commons-launcher.jar"/>
79
+ <exclude name="lib/deployhelp.jar"/>
80
+ <exclude name="lib/j2ee-svc.jar"/>
81
+ <exclude name="lib/jhall.jar"/>
82
+ <exclude name="lib/sun-appserv-ant.jar"/>
83
+ </zipfileset>
84
+ <zipfileset dir="${tmp.dir}"
85
+ prefix="appclient"
86
+ filemode="755">
87
+ <include name="bin/appclient"/>
88
+ </zipfileset>
89
+ <zipfileset dir="${tmp.dir}"
90
+ prefix="appclient">
91
+ <include name="config/asenv.conf"/>
92
+ <include name="config/asenv.bat"/>
93
+ <include name="bin/appclient.bat"/>
94
+ </zipfileset>
95
+
96
+ <zipfileset dir="${install.home}/lib/install/applications/jmsra"
97
+ prefix="appclient/imq/lib">
98
+ <include name="imq.jar"/>
99
+ <include name="imqadmin.jar"/>
100
+ <include name="imqutil.jar"/>
101
+ </zipfileset>
102
+
103
+ <zipfileset dir="${mq.home}"
104
+ prefix="appclient/imq">
105
+ <include name="lib/fscontext.jar"/>
106
+ </zipfileset>
107
+ <zipfileset dir="${domain.dir}/domain1"
108
+ prefix="appclient">
109
+ <include name="config/sun-acc.xml"/>
110
+ </zipfileset>
111
+ <zipfileset dir="${install.home}/lib/install/templates"
112
+ prefix="appclient/config">
113
+ <include name="sun-acc.xml.template"/>
114
+ </zipfileset>
115
+ </zip>
116
+
117
+ <delete dir="${tmp.dir}" quiet="true"/>
118
+
119
+ <echo message="File created: ${appclientjar}"/>
120
+
121
+ </target>
122
+
123
+ <target name="do.copy" depends="do.copy.windows, do.copy.unix"/>
124
+
125
+ <target name="do.copy.windows" if="windows">
126
+ <!-- token-replace asenv.bat and appclient.bat -->
127
+ <copy file="${install.home}/lib/install/templates/asenv.bat.template"
128
+ tofile="${tmp.dir}/config/asenv.bat"/>
129
+ <copy file="${install.home}/lib/install/templates/appclient.bat.template"
130
+ tofile="${tmp.dir}/bin/appclient.bat"/>
131
+ <replace token="%CONFIG_HOME%"
132
+ value="..\config"
133
+ file="${tmp.dir}/bin/appclient.bat"/>
134
+ <replace file="${tmp.dir}/config/asenv.bat">
135
+ <replacefilter token="%ANT_HOME%" value=""/>
136
+ <replacefilter token="%ANT_LIB%" value=""/>
137
+ <replacefilter token="%PERL_HOME%" value=""/>
138
+ <replacefilter token="%POINTBASE_HOME%" value=""/>
139
+ <replacefilter token="%WEBSERVICES_LIB%" value=""/>
140
+ <replacefilter token="%NSS_HOME%" value=""/>
141
+ <replacefilter token="%NSS_BIN_HOME%" value=""/>
142
+ <replacefilter token="%IMQ_LIB%" value="..\imq\lib"/>
143
+ <replacefilter token="%IMQ_BIN%" value="..\imq\bin"/>
144
+ <replacefilter token="%CONFIG_HOME%" value="..\config"/>
145
+ <replacefilter token="%INSTALL_HOME%" value=".."/>
146
+ <replacefilter token="%JAVA_HOME%" value="${java.home}\.."/>
147
+ <replacefilter token="%JHELP_HOME%" value=""/>
148
+ <replacefilter token="%ICU_LIB%" value=""/>
149
+ <replacefilter token="%LOCALE%" value=""/>
150
+ <replacefilter token="%DEF_DOMAINS_PATH%" value=""/>
151
+ <replacefilter token="%ACC_CONFIG%" value="..\config\sun-acc.xml"/>
152
+ </replace>
153
+ </target>
154
+
155
+ <target name="do.copy.unix" if="unix">
156
+ <!-- token-replace asenv.conf and appclient -->
157
+ <copy file="${install.home}/lib/install/templates/asenv.conf.template"
158
+ tofile="${tmp.dir}/config/asenv.conf"/>
159
+ <copy file="${install.home}/lib/install/templates/appclient.template"
160
+ tofile="${tmp.dir}/bin/appclient"/>
161
+ <replace token="%CONFIG_HOME%"
162
+ value="../config"
163
+ file="${tmp.dir}/bin/appclient"/>
164
+ <replace file="${tmp.dir}/config/asenv.conf">
165
+ <replacefilter token="%ANT_HOME%" value=""/>
166
+ <replacefilter token="%ANT_LIB%" value=""/>
167
+ <replacefilter token="%PERL_HOME%" value=""/>
168
+ <replacefilter token="%POINTBASE_HOME%" value=""/>
169
+ <replacefilter token="%WEBSERVICES_LIB%" value=""/>
170
+ <replacefilter token="%NSS_HOME%" value=""/>
171
+ <replacefilter token="%NSS_BIN_HOME%" value=""/>
172
+ <replacefilter token="%IMQ_LIB%" value="${mq.home}/lib"/>
173
+ <replacefilter token="%IMQ_BIN%" value=""/>
174
+ <replacefilter token="%CONFIG_HOME%" value="../config"/>
175
+ <replacefilter token="%INSTALL_HOME%" value=".."/>
176
+ <replacefilter token="%JAVA_HOME%" value="${java.home}/.."/>
177
+ <replacefilter token="%JHELP_HOME%" value=""/>
178
+ <replacefilter token="%ICU_LIB%" value=""/>
179
+ <replacefilter token="%LOCALE%" value=""/>
180
+ <replacefilter token="%DEF_DOMAINS_PATH%" value=""/>
181
+ <replacefilter token="%ACC_CONFIG%" value="../config/sun-acc.xml"/>
182
+ </replace>
183
+ </target>
184
+
185
+ </project>
@@ -0,0 +1,25 @@
1
+ #
2
+ # The contents of this file are subject to the terms
3
+ # of the Common Development and Distribution License
4
+ # (the License). You may not use this file except in
5
+ # compliance with the License.
6
+ #
7
+ # You can obtain a copy of the license at
8
+ # https://glassfish.dev.java.net/public/CDDLv1.0.html or
9
+ # glassfish/bootstrap/legal/CDDLv1.0.txt.
10
+ # See the License for the specific language governing
11
+ # permissions and limitations under the License.
12
+ #
13
+ # When distributing Covered Code, include this CDDL
14
+ # Header Notice in each file and include the License file
15
+ # at glassfish/bootstrap/legal/CDDLv1.0.txt.
16
+ # If applicable, add the following below the CDDL Header,
17
+ # with the fields enclosed by brackets [] replaced by
18
+ # you own identifying information:
19
+ # "Portions Copyrighted [year] [name of copyright owner]"
20
+ #
21
+ # Copyright 2006 Sun Microsystems, Inc. All rights reserved.
22
+ #
23
+
24
+ processLauncher.libraries=appserv-rt.jar,appserv-admin.jar
25
+ processLauncher.main.class=com.sun.enterprise.tools.launcher.ProcessLauncher
@@ -0,0 +1,189 @@
1
+ <?xml version="1.0"?>
2
+
3
+ <!--
4
+ The contents of this file are subject to the terms
5
+ of the Common Development and Distribution License
6
+ (the License). You may not use this file except in
7
+ compliance with the License.
8
+
9
+ You can obtain a copy of the license at
10
+ https://glassfish.dev.java.net/public/CDDLv1.0.html or
11
+ glassfish/bootstrap/legal/CDDLv1.0.txt.
12
+ See the License for the specific language governing
13
+ permissions and limitations under the License.
14
+
15
+ When distributing Covered Code, include this CDDL
16
+ Header Notice in each file and include the License file
17
+ at glassfish/bootstrap/legal/CDDLv1.0.txt.
18
+ If applicable, add the following below the CDDL Header,
19
+ with the fields enclosed by brackets [] replaced by
20
+ you own identifying information:
21
+ "Portions Copyrighted [year] [name of copyright owner]"
22
+
23
+ Copyright 2006 Sun Microsystems, Inc. All rights reserved.
24
+ -->
25
+
26
+ <processes xmlns="http://java.sun.com/j2ee/s1as8se/processLauncher"
27
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
28
+ xsi:schemaLocation="processLauncher.xsd">
29
+ <process name="s1as8-server">
30
+ <!-- This defined process type is used for all server instances that are executed using information
31
+ extracted from domain.xml. This type uses a large portion of the soon to be depreciated PELaunchFilter's
32
+ methods to perform the tasks that are involved with digesting domaim.xml properly. In fact, many of
33
+ the methods were copied in their entirety. For the methods that couldn't be copied, they were re-coded
34
+ to emulate the functionality. -->
35
+ <!-- settable jvm options are meant to come from domain.xml -->
36
+ <sysproperty key="com.sun.aas.instanceName" value="${com.sun.aas.instanceName}"/>
37
+ <sysproperty key="domain.name" value="${domain.name}"/>
38
+ <sysproperty key="com.sun.aas.domainName" value="${domain.name}"/>
39
+ <sysproperty key="com.sun.aas.clusterName" value="${com.sun.aas.clusterName}"
40
+ if="com.sun.aas.clusterName"/>
41
+ <sysproperty key="com.sun.aas.installRoot" value="${com.sun.aas.installRoot}"/>
42
+ <sysproperty key="com.sun.aas.instanceRoot" value="${com.sun.aas.instanceRoot}"/>
43
+ <sysproperty key="com.sun.aas.configRoot" value="${com.sun.aas.configRoot}"/>
44
+ <sysproperty key="user.classpath" value="${CLASSPATH}" if="CLASSPATH"/>
45
+ <sysproperty key="java.util.logging.manager"
46
+ value="com.sun.enterprise.server.logging.ServerLogManager"/>
47
+ <sysproperty key="com.sun.enterprise.overrideablejavaxpackages"
48
+ value="javax.xml.bind,javax.help,javax.portlet"/>
49
+ <sysproperty key="jmx.invoke.getters" value="true"/>
50
+ <sysproperty key="com.sun.aas.processLauncher" value="SE"/>
51
+ <sysproperty key="com.sun.aas.promptForIdentity" value="true"/>
52
+
53
+ <main_class classname="com.sun.enterprise.server.PEMain" />
54
+ <!-- Can't Remove commons-launcher.jar from the exclude list util can remove pemain dependency -->
55
+ <!--
56
+ * classpath construction hierarchy:
57
+ * (javaConfig.getClasspathPrefix)
58
+ * (processLauncher.Classpath.prefix)
59
+ * (processLauncher.Classpath.j2se1_4_prefix or processLauncher.Classpath.j2se1_5_or_later_prefix)
60
+ * (derivedClasspath based on processLauncher.Classpath excludes and includes)
61
+ * (javaConfig.getServerClasspath)
62
+ * (javaConfig.getClasspathSuffix)
63
+ * (javaConfig.profilerClasspath if enabled)
64
+ * (Environment classpath if enabled)
65
+ -->
66
+ <classpath dir="${com.sun.aas.installRoot}/lib" includes=".*jar$"
67
+ j2se1_4_prefix="${com.sun.aas.installRoot}/lib/appserv-rt.jar${path.separator}${com.sun.aas.javaRoot}/lib/tools.jar"
68
+ j2se1_5_or_later_prefix="${com.sun.aas.javaRoot}/lib/tools.jar${path.separator}${com.sun.aas.installRoot}/lib/appserv-rt.jar"
69
+ excludes="appserv-rt.jar,appserv-assemblytool.jar,appserv-tags.jar,deployhelp.jar,jhall.jar,sun-appserv-ant.jar,appserv-jwsacc.jar,appserv-jwsacc-signed.jar,j2ee.jar" />
70
+ </process>
71
+
72
+ <!-- Default process for AS9.x -->
73
+ <process name="as9-server">
74
+ <!-- This defined process type is used for all server instances that are executed using information
75
+ extracted from domain.xml. This type uses a large portion of the soon to be depreciated PELaunchFilter's
76
+ methods to perform the tasks that are involved with digesting domaim.xml properly. In fact, many of
77
+ the methods were copied in their entirety. For the methods that couldn't be copied, they were re-coded
78
+ to emulate the functionality. -->
79
+ <!-- settable jvm options are meant to come from domain.xml -->
80
+ <sysproperty key="com.sun.aas.instanceName" value="${com.sun.aas.instanceName}"/>
81
+ <sysproperty key="domain.name" value="${domain.name}"/>
82
+ <sysproperty key="com.sun.aas.domainName" value="${domain.name}"/>
83
+ <sysproperty key="com.sun.aas.clusterName" value="${com.sun.aas.clusterName}"
84
+ if="com.sun.aas.clusterName"/>
85
+ <sysproperty key="com.sun.aas.installRoot" value="${com.sun.aas.installRoot}"/>
86
+ <sysproperty key="com.sun.aas.instanceRoot" value="${com.sun.aas.instanceRoot}"/>
87
+ <sysproperty key="com.sun.aas.configRoot" value="${com.sun.aas.configRoot}"/>
88
+ <sysproperty key="user.classpath" value="${CLASSPATH}" if="CLASSPATH"/>
89
+ <sysproperty key="java.util.logging.manager"
90
+ value="com.sun.enterprise.server.logging.ServerLogManager"/>
91
+ <sysproperty key="com.sun.enterprise.overrideablejavaxpackages"
92
+ value="javax.xml.bind,javax.help,javax.portlet"/>
93
+ <sysproperty key="jmx.invoke.getters" value="true"/>
94
+ <sysproperty key="com.sun.aas.processLauncher" value="SE"/>
95
+ <sysproperty key="com.sun.aas.promptForIdentity" value="true"/>
96
+ <sysproperty key="com.sun.updatecenter.home" value="${com.sun.aas.installRoot}/updatecenter"/>
97
+
98
+ <!-- sysproperties for the new classloader hierarchy. used in PELaunch -->
99
+ <sysproperty key="com.sun.aas.classloader.sharedChainJars"
100
+ value="javaee.jar,${com.sun.aas.javaRoot}/lib/tools.jar,install/applications/jmsra/imqjmsra.jar,commons-launcher.jar,${com.sun.aas.imqLib}/jaxm-api.jar,${com.sun.aas.imqLib}/fscontext.jar,${com.sun.aas.imqLib}/imqbroker.jar,${com.sun.aas.imqLib}/imqjmx.jar,${com.sun.aas.imqLib}/imqxm.jar,${com.sun.aas.antLib}/ant.jar,webservices-rt.jar,webservices-tools.jar,mail.jar,jsf-api.jar,jsf-impl.jar,appserv-jstl.jar,appserv-env.jar,jmxremote_optional.jar,${com.sun.aas.jdmkHome}/lib/jdmkrt.jar,commons-logging.jar,activation.jar,appserv-rt.jar,appserv-admin.jar,appserv-cmp.jar,${com.sun.aas.installRoot}/updatecenter/lib/updatecenter.jar"/>
101
+ <sysproperty key="com.sun.aas.classloader.sharedChainJars.ee" value="appserv-se.jar,appserv-ee.jar,${com.sun.aas.hadbRoot}/lib/dbstate.jar,${com.sun.aas.hadbRoot}/lib/hadbjdbc4.jar,jgroups-all.jar,${com.sun.aas.mfwkHome}/lib/mfwk_instrum_tk.jar"/>
102
+ <sysproperty key="com.sun.aas.classloader.serverClassPath" value="${com.sun.aas.installRoot}/lib/install/applications/jmsra/imqjmsra.jar,${com.sun.aas.imqLib}/jaxm-api.jar,${com.sun.aas.imqLib}/fscontext.jar,${com.sun.aas.imqLib}/imqbroker.jar,${com.sun.aas.imqLib}/imqjmx.jar,${com.sun.aas.antLib}/ant.jar,${com.sun.aas.jdmkHome}/lib/jdmkrt.jar"/>
103
+ <sysproperty key="com.sun.aas.classloader.serverClassPath.ee" value="${com.sun.aas.hadbRoot}/lib/hadbjdbc4.jar,${com.sun.aas.jdmkHome}/lib/jdmkrt.jar,${com.sun.aas.hadbRoot}/lib/dbstate.jar,${com.sun.aas.hadbRoot}/lib/hadbm.jar,${com.sun.aas.hadbRoot}/lib/hadbmgt.jar,${com.sun.aas.mfwkHome}/lib/mfwk_instrum_tk.jar"/>
104
+ <sysproperty key="com.sun.aas.classloader.optionalOverrideableChain" value="webservices-rt.jar,webservices-tools.jar,commons-logging.jar,commons-launcher.jar"/>
105
+ <sysproperty key="com.sun.aas.classloader.optionalOverrideableChain.ee" value=""/>
106
+ <sysproperty key="com.sun.aas.classloader.appserverChainJars" value="admin-cli.jar,admin-cli-ee.jar,dbschema.jar,j2ee-svc.jar"/>
107
+ <sysproperty key="com.sun.aas.classloader.appserverChainJars.ee" value=""/>
108
+
109
+ <main_class classname="com.sun.enterprise.server.PELaunch" />
110
+ <!-- Can't Remove commons-launcher.jar from the exclude list util can remove pemain dependency -->
111
+ <!--
112
+ * classpath construction hierarchy:
113
+ * (javaConfig.getClasspathPrefix)
114
+ * (processLauncher.Classpath.prefix)
115
+ * (processLauncher.Classpath.j2se1_4_prefix or processLauncher.Classpath.j2se1_5_or_later_prefix)
116
+ * (derivedClasspath based on processLauncher.Classpath excludes and includes)
117
+ * (javaConfig.getSystemClasspath)
118
+ * (javaConfig.getClasspathSuffix)
119
+ * (javaConfig.profilerClasspath if enabled)
120
+ * (Environment classpath if enabled)
121
+ -->
122
+ <classpath dir="${com.sun.aas.installRoot}/lib"/>
123
+ </process>
124
+
125
+ <process name="s1as8-nodeagent">
126
+ <!-- This defined process type is specifically created for the Node Agent -->
127
+ <!--
128
+ <sysproperty key="-Xdebug"/>
129
+ <sysproperty key="-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=1321"/>
130
+ -->
131
+ <!-- this defaultLogFile property has to be there for the the native launcher to redirect the log
132
+ and it is also used for the nodeagent's log in the launcher before rendezvous, the launcher
133
+ will read domain.xml if it exists and reset this property, if appropriate
134
+ -->
135
+ <sysproperty key="com.sun.aas.defaultLogFile" value="${com.sun.aas.instanceRoot}/logs/server.log"/>
136
+ <sysproperty key="com.sun.aas.instanceName" value="${com.sun.aas.instanceName}"/>
137
+ <sysproperty key="com.sun.aas.instanceRoot" value="${com.sun.aas.instanceRoot}"/>
138
+ <sysproperty key="com.sun.aas.configRoot" value="${com.sun.aas.configRoot}"/>
139
+ <sysproperty key="com.sun.appserv.nss.db" value="${com.sun.aas.instanceRoot}/config"/>
140
+ <sysproperty key="java.security.auth.login.config" value="${com.sun.aas.instanceRoot}/config/login.conf"/>
141
+ <sysproperty key="java.endorsed.dirs" value="${java.endorsed.dirs}"/>
142
+ <sysproperty key="java.util.logging.manager" value="com.sun.enterprise.server.logging.ServerLogManager"/>
143
+ <sysproperty key="jmx.invoke.getters" value="true"/>
144
+ <sysproperty key="com.sun.appserv.admin.pluggable.features"
145
+ value="com.sun.enterprise.ee.admin.pluggable.EEClientPluggableFeatureImpl"/>
146
+ <sysproperty key="com.sun.appserv.pluggable.features"
147
+ value="com.sun.enterprise.ee.server.pluggable.EEPluggableFeatureImpl"/>
148
+ <sysproperty key="com.sun.aas.promptForIdentity" value="true"/>
149
+ <!-- used for security, do not remove -->
150
+ <sysproperty key="com.sun.aas.isNodeAgent" value="true"/>
151
+
152
+ <main_class classname="com.sun.enterprise.ee.nodeagent.NodeAgentMain" />
153
+ <!--
154
+ * classpath construction hierarchy:
155
+ * (processLauncher.Classpath.prefix)
156
+ * (processLauncher.Classpath.j2se1_4_prefix or processLauncher.Classpath.j2se1_5_or_later_prefix)
157
+ * (derivedClasspath based on processLauncher.Classpath excludes and includes)
158
+ -->
159
+ <classpath dir="${com.sun.aas.installRoot}/lib"
160
+ includes="appserv-ee.jar,appserv-se.jar,appserv-admin.jar,appserv-rt.jar,appserv-ext.jar,javaee.jar"/>
161
+ </process>
162
+ <process name="s1as-deploytool">
163
+ <!-- This defined process type is specifically created for the Deployment Tool. -->
164
+ <!--
165
+ <sysproperty key="-Xdebug"/>
166
+ <sysproperty key="-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=1321"/>
167
+ -->
168
+ <sysproperty key="com.sun.aas.installRoot" value="${com.sun.aas.installRoot}"/>
169
+ <sysproperty key="java.endorsed.dirs" value="${com.sun.aas.installRoot}/lib/endorsed"/>
170
+ <sysproperty key="com.sun.aas.defaultUserName" value="${com.sun.aas.defaultUserName}"
171
+ if="com.sun.aas.defaultUserName"/>
172
+ <sysproperty key="com.sun.aas.defaultPassword" value="${com.sun.aas.defaultPassword}"
173
+ if="com.sun.aas.defaultPassword"/>
174
+ <sysproperty key="com.sun.aas.defaultLogFile" value="${user.home}/.deploytool/logfile"
175
+ if="user.home"/>
176
+ <sysproperty key="ui.debugMode" value="true" if="com.sun.aas.verboseMode"/>
177
+
178
+ <main_class classname="com.sun.enterprise.tools.deployment.ui.Main" />
179
+ <!--
180
+ * classpath construction hierarchy:
181
+ * (processLauncher.Classpath.prefix)
182
+ * (processLauncher.Classpath.j2se1_4_prefix or processLauncher.Classpath.j2se1_5_or_later_prefix)
183
+ * (derivedClasspath based on processLauncher.Classpath excludes and includes)
184
+ -->
185
+ <classpath dir="${com.sun.aas.installRoot}/lib"
186
+ prefix="${com.sun.aas.javaRoot}/lib/tools.jar${path.separator}${com.sun.aas.jhelpRoot}/jhall.jar"
187
+ includes="appserv-assemblytool.jar,activation.jar,appserv-admin.jar,appserv-cmp.jar,appserv-rt.jar,javaee.jar,jaxrpc-impl.jar,appserv-ext.jar,deployhelp.jar,admin-cli.jar,dom.jar,xercesImpl.jar,xalan.jar,mail.jar"/>
188
+ </process>
189
+ </processes>
@@ -0,0 +1,402 @@
1
+ <!-- DTD for XML Schemas: Part 1: Structures
2
+ Public Identifier: "-//W3C//DTD XMLSCHEMA 200102//EN"
3
+ Official Location: http://www.w3.org/2001/XMLSchema.dtd -->
4
+ <!-- $Id: XMLSchema.dtd,v 1.3 2006/03/25 00:47:52 dochez Exp $ -->
5
+ <!-- Note this DTD is NOT normative, or even definitive. --> <!--d-->
6
+ <!-- prose copy in the structures REC is the definitive version --> <!--d-->
7
+ <!-- (which shouldn't differ from this one except for this --> <!--d-->
8
+ <!-- comment and entity expansions, but just in case) --> <!--d-->
9
+ <!-- With the exception of cases with multiple namespace
10
+ prefixes for the XML Schema namespace, any XML document which is
11
+ not valid per this DTD given redefinitions in its internal subset of the
12
+ 'p' and 's' parameter entities below appropriate to its namespace
13
+ declaration of the XML Schema namespace is almost certainly not
14
+ a valid schema. -->
15
+
16
+ <!-- The simpleType element and its constituent parts
17
+ are defined in XML Schema: Part 2: Datatypes -->
18
+ <!ENTITY % xs-datatypes PUBLIC 'datatypes' 'datatypes.dtd' >
19
+
20
+ <!ENTITY % p 'xs:'> <!-- can be overriden in the internal subset of a
21
+ schema document to establish a different
22
+ namespace prefix -->
23
+ <!ENTITY % s ':xs'> <!-- if %p is defined (e.g. as foo:) then you must
24
+ also define %s as the suffix for the appropriate
25
+ namespace declaration (e.g. :foo) -->
26
+ <!ENTITY % nds 'xmlns%s;'>
27
+
28
+ <!-- Define all the element names, with optional prefix -->
29
+ <!ENTITY % schema "%p;schema">
30
+ <!ENTITY % complexType "%p;complexType">
31
+ <!ENTITY % complexContent "%p;complexContent">
32
+ <!ENTITY % simpleContent "%p;simpleContent">
33
+ <!ENTITY % extension "%p;extension">
34
+ <!ENTITY % element "%p;element">
35
+ <!ENTITY % unique "%p;unique">
36
+ <!ENTITY % key "%p;key">
37
+ <!ENTITY % keyref "%p;keyref">
38
+ <!ENTITY % selector "%p;selector">
39
+ <!ENTITY % field "%p;field">
40
+ <!ENTITY % group "%p;group">
41
+ <!ENTITY % all "%p;all">
42
+ <!ENTITY % choice "%p;choice">
43
+ <!ENTITY % sequence "%p;sequence">
44
+ <!ENTITY % any "%p;any">
45
+ <!ENTITY % anyAttribute "%p;anyAttribute">
46
+ <!ENTITY % attribute "%p;attribute">
47
+ <!ENTITY % attributeGroup "%p;attributeGroup">
48
+ <!ENTITY % include "%p;include">
49
+ <!ENTITY % import "%p;import">
50
+ <!ENTITY % redefine "%p;redefine">
51
+ <!ENTITY % notation "%p;notation">
52
+
53
+ <!-- annotation elements -->
54
+ <!ENTITY % annotation "%p;annotation">
55
+ <!ENTITY % appinfo "%p;appinfo">
56
+ <!ENTITY % documentation "%p;documentation">
57
+
58
+ <!-- Customisation entities for the ATTLIST of each element type.
59
+ Define one of these if your schema takes advantage of the
60
+ anyAttribute='##other' in the schema for schemas -->
61
+
62
+ <!ENTITY % schemaAttrs ''>
63
+ <!ENTITY % complexTypeAttrs ''>
64
+ <!ENTITY % complexContentAttrs ''>
65
+ <!ENTITY % simpleContentAttrs ''>
66
+ <!ENTITY % extensionAttrs ''>
67
+ <!ENTITY % elementAttrs ''>
68
+ <!ENTITY % groupAttrs ''>
69
+ <!ENTITY % allAttrs ''>
70
+ <!ENTITY % choiceAttrs ''>
71
+ <!ENTITY % sequenceAttrs ''>
72
+ <!ENTITY % anyAttrs ''>
73
+ <!ENTITY % anyAttributeAttrs ''>
74
+ <!ENTITY % attributeAttrs ''>
75
+ <!ENTITY % attributeGroupAttrs ''>
76
+ <!ENTITY % uniqueAttrs ''>
77
+ <!ENTITY % keyAttrs ''>
78
+ <!ENTITY % keyrefAttrs ''>
79
+ <!ENTITY % selectorAttrs ''>
80
+ <!ENTITY % fieldAttrs ''>
81
+ <!ENTITY % includeAttrs ''>
82
+ <!ENTITY % importAttrs ''>
83
+ <!ENTITY % redefineAttrs ''>
84
+ <!ENTITY % notationAttrs ''>
85
+ <!ENTITY % annotationAttrs ''>
86
+ <!ENTITY % appinfoAttrs ''>
87
+ <!ENTITY % documentationAttrs ''>
88
+
89
+ <!ENTITY % complexDerivationSet "CDATA">
90
+ <!-- #all or space-separated list drawn from derivationChoice -->
91
+ <!ENTITY % blockSet "CDATA">
92
+ <!-- #all or space-separated list drawn from
93
+ derivationChoice + 'substitution' -->
94
+
95
+ <!ENTITY % mgs '%all; | %choice; | %sequence;'>
96
+ <!ENTITY % cs '%choice; | %sequence;'>
97
+ <!ENTITY % formValues '(qualified|unqualified)'>
98
+
99
+
100
+ <!ENTITY % attrDecls '((%attribute;| %attributeGroup;)*,(%anyAttribute;)?)'>
101
+
102
+ <!ENTITY % particleAndAttrs '((%mgs; | %group;)?, %attrDecls;)'>
103
+
104
+ <!-- This is used in part2 -->
105
+ <!ENTITY % restriction1 '((%mgs; | %group;)?)'>
106
+
107
+ %xs-datatypes;
108
+
109
+ <!-- the duplication below is to produce an unambiguous content model
110
+ which allows annotation everywhere -->
111
+ <!ELEMENT %schema; ((%include; | %import; | %redefine; | %annotation;)*,
112
+ ((%simpleType; | %complexType;
113
+ | %element; | %attribute;
114
+ | %attributeGroup; | %group;
115
+ | %notation; ),
116
+ (%annotation;)*)* )>
117
+ <!ATTLIST %schema;
118
+ targetNamespace %URIref; #IMPLIED
119
+ version CDATA #IMPLIED
120
+ %nds; %URIref; #FIXED 'http://www.w3.org/2001/XMLSchema'
121
+ xmlns CDATA #IMPLIED
122
+ finalDefault %complexDerivationSet; ''
123
+ blockDefault %blockSet; ''
124
+ id ID #IMPLIED
125
+ elementFormDefault %formValues; 'unqualified'
126
+ attributeFormDefault %formValues; 'unqualified'
127
+ xml:lang CDATA #IMPLIED
128
+ %schemaAttrs;>
129
+ <!-- Note the xmlns declaration is NOT in the Schema for Schemas,
130
+ because at the Infoset level where schemas operate,
131
+ xmlns(:prefix) is NOT an attribute! -->
132
+ <!-- The declaration of xmlns is a convenience for schema authors -->
133
+
134
+ <!-- The id attribute here and below is for use in external references
135
+ from non-schemas using simple fragment identifiers.
136
+ It is NOT used for schema-to-schema reference, internal or
137
+ external. -->
138
+
139
+ <!-- a type is a named content type specification which allows attribute
140
+ declarations-->
141
+ <!-- -->
142
+
143
+ <!ELEMENT %complexType; ((%annotation;)?,
144
+ (%simpleContent;|%complexContent;|
145
+ %particleAndAttrs;))>
146
+
147
+ <!ATTLIST %complexType;
148
+ name %NCName; #IMPLIED
149
+ id ID #IMPLIED
150
+ abstract %boolean; #IMPLIED
151
+ final %complexDerivationSet; #IMPLIED
152
+ block %complexDerivationSet; #IMPLIED
153
+ mixed (true|false) 'false'
154
+ %complexTypeAttrs;>
155
+
156
+ <!-- particleAndAttrs is shorthand for a root type -->
157
+ <!-- mixed is disallowed if simpleContent, overriden if complexContent
158
+ has one too. -->
159
+
160
+ <!-- If anyAttribute appears in one or more referenced attributeGroups
161
+ and/or explicitly, the intersection of the permissions is used -->
162
+
163
+ <!ELEMENT %complexContent; ((%annotation;)?, (%restriction;|%extension;))>
164
+ <!ATTLIST %complexContent;
165
+ mixed (true|false) #IMPLIED
166
+ id ID #IMPLIED
167
+ %complexContentAttrs;>
168
+
169
+ <!-- restriction should use the branch defined above, not the simple
170
+ one from part2; extension should use the full model -->
171
+
172
+ <!ELEMENT %simpleContent; ((%annotation;)?, (%restriction;|%extension;))>
173
+ <!ATTLIST %simpleContent;
174
+ id ID #IMPLIED
175
+ %simpleContentAttrs;>
176
+
177
+ <!-- restriction should use the simple branch from part2, not the
178
+ one defined above; extension should have no particle -->
179
+
180
+ <!ELEMENT %extension; ((%annotation;)?, (%particleAndAttrs;))>
181
+ <!ATTLIST %extension;
182
+ base %QName; #REQUIRED
183
+ id ID #IMPLIED
184
+ %extensionAttrs;>
185
+
186
+ <!-- an element is declared by either:
187
+ a name and a type (either nested or referenced via the type attribute)
188
+ or a ref to an existing element declaration -->
189
+
190
+ <!ELEMENT %element; ((%annotation;)?, (%complexType;| %simpleType;)?,
191
+ (%unique; | %key; | %keyref;)*)>
192
+ <!-- simpleType or complexType only if no type|ref attribute -->
193
+ <!-- ref not allowed at top level -->
194
+ <!ATTLIST %element;
195
+ name %NCName; #IMPLIED
196
+ id ID #IMPLIED
197
+ ref %QName; #IMPLIED
198
+ type %QName; #IMPLIED
199
+ minOccurs %nonNegativeInteger; #IMPLIED
200
+ maxOccurs CDATA #IMPLIED
201
+ nillable %boolean; #IMPLIED
202
+ substitutionGroup %QName; #IMPLIED
203
+ abstract %boolean; #IMPLIED
204
+ final %complexDerivationSet; #IMPLIED
205
+ block %blockSet; #IMPLIED
206
+ default CDATA #IMPLIED
207
+ fixed CDATA #IMPLIED
208
+ form %formValues; #IMPLIED
209
+ %elementAttrs;>
210
+ <!-- type and ref are mutually exclusive.
211
+ name and ref are mutually exclusive, one is required -->
212
+ <!-- In the absence of type AND ref, type defaults to type of
213
+ substitutionGroup, if any, else the ur-type, i.e. unconstrained -->
214
+ <!-- default and fixed are mutually exclusive -->
215
+
216
+ <!ELEMENT %group; ((%annotation;)?,(%mgs;)?)>
217
+ <!ATTLIST %group;
218
+ name %NCName; #IMPLIED
219
+ ref %QName; #IMPLIED
220
+ minOccurs %nonNegativeInteger; #IMPLIED
221
+ maxOccurs CDATA #IMPLIED
222
+ id ID #IMPLIED
223
+ %groupAttrs;>
224
+
225
+ <!ELEMENT %all; ((%annotation;)?, (%element;)*)>
226
+ <!ATTLIST %all;
227
+ minOccurs (1) #IMPLIED
228
+ maxOccurs (1) #IMPLIED
229
+ id ID #IMPLIED
230
+ %allAttrs;>
231
+
232
+ <!ELEMENT %choice; ((%annotation;)?, (%element;| %group;| %cs; | %any;)*)>
233
+ <!ATTLIST %choice;
234
+ minOccurs %nonNegativeInteger; #IMPLIED
235
+ maxOccurs CDATA #IMPLIED
236
+ id ID #IMPLIED
237
+ %choiceAttrs;>
238
+
239
+ <!ELEMENT %sequence; ((%annotation;)?, (%element;| %group;| %cs; | %any;)*)>
240
+ <!ATTLIST %sequence;
241
+ minOccurs %nonNegativeInteger; #IMPLIED
242
+ maxOccurs CDATA #IMPLIED
243
+ id ID #IMPLIED
244
+ %sequenceAttrs;>
245
+
246
+ <!-- an anonymous grouping in a model, or
247
+ a top-level named group definition, or a reference to same -->
248
+
249
+ <!-- Note that if order is 'all', group is not allowed inside.
250
+ If order is 'all' THIS group must be alone (or referenced alone) at
251
+ the top level of a content model -->
252
+ <!-- If order is 'all', minOccurs==maxOccurs==1 on element/any inside -->
253
+ <!-- Should allow minOccurs=0 inside order='all' . . . -->
254
+
255
+ <!ELEMENT %any; (%annotation;)?>
256
+ <!ATTLIST %any;
257
+ namespace CDATA '##any'
258
+ processContents (skip|lax|strict) 'strict'
259
+ minOccurs %nonNegativeInteger; '1'
260
+ maxOccurs CDATA '1'
261
+ id ID #IMPLIED
262
+ %anyAttrs;>
263
+
264
+ <!-- namespace is interpreted as follows:
265
+ ##any - - any non-conflicting WFXML at all
266
+
267
+ ##other - - any non-conflicting WFXML from namespace other
268
+ than targetNamespace
269
+
270
+ ##local - - any unqualified non-conflicting WFXML/attribute
271
+ one or - - any non-conflicting WFXML from
272
+ more URI the listed namespaces
273
+ references
274
+
275
+ ##targetNamespace ##local may appear in the above list,
276
+ with the obvious meaning -->
277
+
278
+ <!ELEMENT %anyAttribute; (%annotation;)?>
279
+ <!ATTLIST %anyAttribute;
280
+ namespace CDATA '##any'
281
+ processContents (skip|lax|strict) 'strict'
282
+ id ID #IMPLIED
283
+ %anyAttributeAttrs;>
284
+ <!-- namespace is interpreted as for 'any' above -->
285
+
286
+ <!-- simpleType only if no type|ref attribute -->
287
+ <!-- ref not allowed at top level, name iff at top level -->
288
+ <!ELEMENT %attribute; ((%annotation;)?, (%simpleType;)?)>
289
+ <!ATTLIST %attribute;
290
+ name %NCName; #IMPLIED
291
+ id ID #IMPLIED
292
+ ref %QName; #IMPLIED
293
+ type %QName; #IMPLIED
294
+ use (prohibited|optional|required) #IMPLIED
295
+ default CDATA #IMPLIED
296
+ fixed CDATA #IMPLIED
297
+ form %formValues; #IMPLIED
298
+ %attributeAttrs;>
299
+ <!-- type and ref are mutually exclusive.
300
+ name and ref are mutually exclusive, one is required -->
301
+ <!-- default for use is optional when nested, none otherwise -->
302
+ <!-- default and fixed are mutually exclusive -->
303
+ <!-- type attr and simpleType content are mutually exclusive -->
304
+
305
+ <!-- an attributeGroup is a named collection of attribute decls, or a
306
+ reference thereto -->
307
+ <!ELEMENT %attributeGroup; ((%annotation;)?,
308
+ (%attribute; | %attributeGroup;)*,
309
+ (%anyAttribute;)?) >
310
+ <!ATTLIST %attributeGroup;
311
+ name %NCName; #IMPLIED
312
+ id ID #IMPLIED
313
+ ref %QName; #IMPLIED
314
+ %attributeGroupAttrs;>
315
+
316
+ <!-- ref iff no content, no name. ref iff not top level -->
317
+
318
+ <!-- better reference mechanisms -->
319
+ <!ELEMENT %unique; ((%annotation;)?, %selector;, (%field;)+)>
320
+ <!ATTLIST %unique;
321
+ name %NCName; #REQUIRED
322
+ id ID #IMPLIED
323
+ %uniqueAttrs;>
324
+
325
+ <!ELEMENT %key; ((%annotation;)?, %selector;, (%field;)+)>
326
+ <!ATTLIST %key;
327
+ name %NCName; #REQUIRED
328
+ id ID #IMPLIED
329
+ %keyAttrs;>
330
+
331
+ <!ELEMENT %keyref; ((%annotation;)?, %selector;, (%field;)+)>
332
+ <!ATTLIST %keyref;
333
+ name %NCName; #REQUIRED
334
+ refer %QName; #REQUIRED
335
+ id ID #IMPLIED
336
+ %keyrefAttrs;>
337
+
338
+ <!ELEMENT %selector; ((%annotation;)?)>
339
+ <!ATTLIST %selector;
340
+ xpath %XPathExpr; #REQUIRED
341
+ id ID #IMPLIED
342
+ %selectorAttrs;>
343
+ <!ELEMENT %field; ((%annotation;)?)>
344
+ <!ATTLIST %field;
345
+ xpath %XPathExpr; #REQUIRED
346
+ id ID #IMPLIED
347
+ %fieldAttrs;>
348
+
349
+ <!-- Schema combination mechanisms -->
350
+ <!ELEMENT %include; (%annotation;)?>
351
+ <!ATTLIST %include;
352
+ schemaLocation %URIref; #REQUIRED
353
+ id ID #IMPLIED
354
+ %includeAttrs;>
355
+
356
+ <!ELEMENT %import; (%annotation;)?>
357
+ <!ATTLIST %import;
358
+ namespace %URIref; #IMPLIED
359
+ schemaLocation %URIref; #IMPLIED
360
+ id ID #IMPLIED
361
+ %importAttrs;>
362
+
363
+ <!ELEMENT %redefine; (%annotation; | %simpleType; | %complexType; |
364
+ %attributeGroup; | %group;)*>
365
+ <!ATTLIST %redefine;
366
+ schemaLocation %URIref; #REQUIRED
367
+ id ID #IMPLIED
368
+ %redefineAttrs;>
369
+
370
+ <!ELEMENT %notation; (%annotation;)?>
371
+ <!ATTLIST %notation;
372
+ name %NCName; #REQUIRED
373
+ id ID #IMPLIED
374
+ public CDATA #REQUIRED
375
+ system %URIref; #IMPLIED
376
+ %notationAttrs;>
377
+
378
+ <!-- Annotation is either application information or documentation -->
379
+ <!-- By having these here they are available for datatypes as well
380
+ as all the structures elements -->
381
+
382
+ <!ELEMENT %annotation; (%appinfo; | %documentation;)*>
383
+ <!ATTLIST %annotation; %annotationAttrs;>
384
+
385
+ <!-- User must define annotation elements in internal subset for this
386
+ to work -->
387
+ <!ELEMENT %appinfo; ANY> <!-- too restrictive -->
388
+ <!ATTLIST %appinfo;
389
+ source %URIref; #IMPLIED
390
+ id ID #IMPLIED
391
+ %appinfoAttrs;>
392
+ <!ELEMENT %documentation; ANY> <!-- too restrictive -->
393
+ <!ATTLIST %documentation;
394
+ source %URIref; #IMPLIED
395
+ id ID #IMPLIED
396
+ xml:lang CDATA #IMPLIED
397
+ %documentationAttrs;>
398
+
399
+ <!NOTATION XMLSchemaStructures PUBLIC
400
+ 'structures' 'http://www.w3.org/2001/XMLSchema.xsd' >
401
+ <!NOTATION XML PUBLIC
402
+ 'REC-xml-1998-0210' 'http://www.w3.org/TR/1998/REC-xml-19980210' >