summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOctavio Gonzalez2014-02-05 15:12:17 (EST)
committerNick Sandonato2014-02-05 15:28:31 (EST)
commit6d985ac7d1ca9d85f3e167a246d793c6184e821d (patch)
treea3efb3aa7b43659e1da886236f805807d249330b
parent2c556bae29895b0b5856023e56d5a3fddeb29579 (diff)
downloadwebtools.sourceediting-6d985ac7d1ca9d85f3e167a246d793c6184e821d.zip
webtools.sourceediting-6d985ac7d1ca9d85f3e167a246d793c6184e821d.tar.gz
webtools.sourceediting-6d985ac7d1ca9d85f3e167a246d793c6184e821d.tar.bz2
[422195] Include all Java EE 7 XML Schema files
Signed-off-by: Octavio Gonzalez <octavio@mx1.ibm.com>
-rw-r--r--bundles/org.eclipse.jst.standard.schemas/about.html17
-rw-r--r--bundles/org.eclipse.jst.standard.schemas/dtdsAndSchemas/batchXML_1_0.xsd34
-rw-r--r--bundles/org.eclipse.jst.standard.schemas/dtdsAndSchemas/jobXML_1_0.xsd359
-rw-r--r--bundles/org.eclipse.jst.standard.schemas/dtdsAndSchemas/permissions_7.xsd175
-rw-r--r--bundles/org.eclipse.jst.standard.schemas/dtdsAndSchemas/web-partialresponse_2_2.xsd426
-rw-r--r--bundles/org.eclipse.jst.standard.schemas/plugin.xml13
6 files changed, 1024 insertions, 0 deletions
diff --git a/bundles/org.eclipse.jst.standard.schemas/about.html b/bundles/org.eclipse.jst.standard.schemas/about.html
index 1c29311..8302df0 100644
--- a/bundles/org.eclipse.jst.standard.schemas/about.html
+++ b/bundles/org.eclipse.jst.standard.schemas/about.html
@@ -100,6 +100,10 @@ which is also available at <a href="https://glassfish.java.net/public/CDDLv1.0.h
</ul>
<ul>
+ <li><a href="http://xmlns.jcp.org/xml/ns/javaee/jobXML_1_0.xsd">jobXML_1_0.xsd</a></li>
+</ul>
+
+<ul>
<li><a href="http://xmlns.jcp.org/xml/ns/j2ee/jsp_2_0.xsd">jsp_2_0.xsd</a></li>
<li><a href="http://xmlns.jcp.org/xml/ns/javaee/jsp_2_1.xsd">jsp_2_1.xsd</a></li>
<li><a href="http://xmlns.jcp.org/xml/ns/javaee/jsp_2_2.xsd">jsp_2_2.xsd</a></li>
@@ -107,12 +111,20 @@ which is also available at <a href="https://glassfish.java.net/public/CDDLv1.0.h
</ul>
<ul>
+ <li><a href="http://xmlns.jcp.org/xml/ns/javaee/jobXML_1_0.xsd">jobXML_1_0.xsd</a></li>
+</ul>
+
+<ul>
<li><a href="http://xmlns.jcp.org/xml/ns/persistence/orm_1_0.xsd">orm_1_0.xsd</a></li>
<li><a href="http://xmlns.jcp.org/xml/ns/persistence/orm_2_0.xsd">orm_2_0.xsd</a></li>
<li><a href="http://xmlns.jcp.org/xml/ns/persistence/orm_2_1.xsd">orm_2_1.xsd</a></li>
</ul>
<ul>
+ <li><a href="http://xmlns.jcp.org/xml/ns/javaee/permissions_7.xsd">permissions_7.xsd</a></li>
+</ul>
+
+<ul>
<li><a href="http://xmlns.jcp.org/xml/ns/persistence/persistence_1_0.xsd">persistence_1_0.xsd</a></li>
<li><a href="http://xmlns.jcp.org/xml/ns/persistence/persistence_2_0.xsd">persistence_2_0.xsd</a></li>
<li><a href="http://xmlns.jcp.org/xml/ns/persistence/persistence_2_1.xsd">persistence_2_1.xsd</a></li>
@@ -164,6 +176,7 @@ which is also available at <a href="https://glassfish.java.net/public/CDDLv1.0.h
<ul>
<li><a href="http://xmlns.jcp.org/xml/ns/javaee/web-partialresponse_2_0.xsd">web-partialresponse_2_0.xsd</a></li>
+ <li><a href="http://xmlns.jcp.org/xml/ns/javaee/web-partialresponse_2_2.xsd">web-partialresponse_2_2.xsd</a></li>
</ul>
<p>Your use of the following XML Schemas is subject to the terms and
@@ -173,6 +186,10 @@ which is also available at <a href="http://www.apache.org/licenses/LICENSE-2.0.h
<p>Each listing is linked to its source.</p>
<ul>
+ <li><a href="http://xmlns.jcp.org/xml/ns/javaee/batchXML_1_0.xsd">batchXML_1_0.xsd</a></li>
+</ul>
+
+<ul>
<li><a href="http://xmlns.jcp.org/xml/ns/javaee/beans_1_0.xsd">beans_1_0.xsd</a></li>
<li><a href="http://xmlns.jcp.org/xml/ns/javaee/beans_1_1.xsd">beans_1_1.xsd</a></li>
</ul>
diff --git a/bundles/org.eclipse.jst.standard.schemas/dtdsAndSchemas/batchXML_1_0.xsd b/bundles/org.eclipse.jst.standard.schemas/dtdsAndSchemas/batchXML_1_0.xsd
new file mode 100644
index 0000000..5393043
--- /dev/null
+++ b/bundles/org.eclipse.jst.standard.schemas/dtdsAndSchemas/batchXML_1_0.xsd
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 2012 International Business Machines Corp.
+
+ See the NOTICE file distributed with this work for additional information
+ regarding copyright ownership. Licensed under the Apache License,
+ Version 2.0 (the "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"
+ targetNamespace="http://xmlns.jcp.org/xml/ns/javaee" xmlns:jbatch="http://xmlns.jcp.org/xml/ns/javaee" version="1.0">
+
+ <xs:element name="batch-artifacts" type="jbatch:BatchArtifacts" />
+
+ <xs:complexType name="BatchArtifacts">
+ <xs:sequence>
+ <xs:element name="ref" type="jbatch:BatchArtifactRef" minOccurs="0" maxOccurs="unbounded" />
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:complexType name="BatchArtifactRef">
+ <xs:attribute name="id" use="required" type="xs:string" />
+ <xs:attribute name="class" use="required" type="xs:string" />
+ </xs:complexType>
+
+</xs:schema>
diff --git a/bundles/org.eclipse.jst.standard.schemas/dtdsAndSchemas/jobXML_1_0.xsd b/bundles/org.eclipse.jst.standard.schemas/dtdsAndSchemas/jobXML_1_0.xsd
new file mode 100644
index 0000000..8ae3c4b
--- /dev/null
+++ b/bundles/org.eclipse.jst.standard.schemas/dtdsAndSchemas/jobXML_1_0.xsd
@@ -0,0 +1,359 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
+ elementFormDefault="qualified" targetNamespace="http://xmlns.jcp.org/xml/ns/javaee"
+ xmlns:jsl="http://xmlns.jcp.org/xml/ns/javaee" version="1.0">
+ <xs:annotation>
+ <xs:documentation> Job Specification Language (JSL) specifies a job,
+ its steps, and directs their execution. JSL also can be referred to
+ as "Job XML". </xs:documentation>
+ </xs:annotation>
+ <xs:simpleType name="artifactRef">
+ <xs:annotation>
+ <xs:documentation> This is a helper type. Though it is not otherwise
+ called out by this name in the specification, it captures the fact
+ that the xs:string value refers to a batch artifact, across numerous
+ other JSL type definitions. </xs:documentation>
+ </xs:annotation>
+ <xs:restriction base="xs:string" />
+ </xs:simpleType>
+ <xs:complexType name="Job">
+ <xs:annotation>
+ <xs:documentation> The type of a job definition, whether concrete or
+
+ abstract. This is the type of the root element of any JSL document.
+ </xs:documentation>
+ </xs:annotation>
+ <xs:sequence>
+ <xs:element name="properties" type="jsl:Properties"
+ minOccurs="0" maxOccurs="1">
+ <xs:annotation>
+ <xs:documentation> The job-level properties, which are accessible
+ via the JobContext.getProperties() API in a batch artifact.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="listeners" type="jsl:Listeners"
+ minOccurs="0" maxOccurs="1">
+ <xs:annotation>
+ <xs:documentation> Note that "listeners" sequence order in XML does
+ not imply order of execution by the batch runtime, per the
+ specification. </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:element name="decision" type="jsl:Decision" />
+ <xs:element name="flow" type="jsl:Flow" />
+ <xs:element name="split" type="jsl:Split" />
+ <xs:element name="step" type="jsl:Step" />
+ </xs:choice>
+ </xs:sequence>
+ <xs:attribute name="version" use="required" type="xs:string"
+ fixed="1.0" />
+ <xs:attribute name="id" use="required" type="xs:ID" />
+ <xs:attribute name="restartable" use="optional" type="xs:string" />
+ </xs:complexType>
+ <xs:element name="job" type="jsl:Job">
+ <xs:annotation>
+ <xs:documentation> The definition of an job, whether concrete or
+ abstract. This is the
+
+ type of the root element of any JSL document. </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:complexType name="Listener">
+ <xs:sequence>
+ <xs:element name="properties" type="jsl:Properties"
+ minOccurs="0" maxOccurs="1" />
+ </xs:sequence>
+ <xs:attribute name="ref" use="required" type="jsl:artifactRef" />
+ </xs:complexType>
+ <xs:complexType name="Split">
+ <xs:sequence>
+ <xs:element name="flow" type="jsl:Flow" minOccurs="0"
+ maxOccurs="unbounded" />
+ </xs:sequence>
+ <xs:attribute name="id" use="required" type="xs:ID" />
+ <xs:attribute name="next" use="optional" type="xs:string" />
+ </xs:complexType>
+ <xs:complexType name="Flow">
+ <xs:sequence>
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:element name="decision" type="jsl:Decision" />
+ <xs:element name="flow" type="jsl:Flow" />
+ <xs:element name="split" type="jsl:Split" />
+ <xs:element name="step" type="jsl:Step" />
+ </xs:choice>
+ <xs:group ref="jsl:TransitionElements" minOccurs="0" maxOccurs="unbounded" />
+ </xs:sequence>
+ <xs:attribute name="id" use="required" type="xs:ID" />
+ <xs:attribute name="next" use="optional" type="xs:string" />
+ </xs:complexType>
+ <xs:group name="TransitionElements">
+ <xs:annotation>
+ <xs:documentation> This grouping provides allows for the reuse of the
+ 'end', 'fail', 'next', 'stop' element sequences which may appear at
+ the end of a 'step', 'flow', 'split' or 'decision'. The term
+ 'TransitionElements' does not formally appear in the spec, it is a
+ schema convenience.
+
+</xs:documentation>
+ </xs:annotation>
+ <xs:choice>
+ <xs:element name="end" type="jsl:End" />
+ <xs:element name="fail" type="jsl:Fail" />
+ <xs:element name="next" type="jsl:Next" />
+ <xs:element name="stop" type="jsl:Stop" />
+ </xs:choice>
+ </xs:group>
+ <xs:complexType name="Decision">
+ <xs:sequence>
+ <xs:element name="properties" type="jsl:Properties"
+ minOccurs="0" maxOccurs="1" />
+ <xs:group ref="jsl:TransitionElements" minOccurs="0"
+ maxOccurs="unbounded" />
+ </xs:sequence>
+ <xs:attribute name="id" use="required" type="xs:ID" />
+ <xs:attribute name="ref" use="required" type="jsl:artifactRef" />
+ </xs:complexType>
+ <xs:attributeGroup name="TerminatingAttributes">
+ <xs:attribute name="on" use="required" type="xs:string" />
+ <xs:attribute name="exit-status" use="optional" type="xs:string" />
+ </xs:attributeGroup>
+ <xs:complexType name="Fail">
+ <xs:attributeGroup ref="jsl:TerminatingAttributes" />
+ </xs:complexType>
+ <xs:complexType name="End">
+ <xs:attributeGroup ref="jsl:TerminatingAttributes" />
+ </xs:complexType>
+ <xs:complexType name="Stop">
+ <xs:attributeGroup ref="jsl:TerminatingAttributes" />
+ <xs:attribute name="restart" use="optional" type="xs:string" />
+ </xs:complexType>
+ <xs:complexType name="Next">
+ <xs:attribute name="on" use="required" type="xs:string" />
+ <xs:attribute name="to" use="required" type="xs:string" />
+ </xs:complexType>
+ <xs:complexType name="CheckpointAlgorithm">
+ <xs:sequence>
+ <xs:element name="properties" type="jsl:Properties"
+ minOccurs="0" maxOccurs="1" />
+
+ </xs:sequence>
+ <xs:attribute name="ref" use="required" type="jsl:artifactRef" />
+ </xs:complexType>
+ <xs:complexType name="ExceptionClassFilter">
+ <xs:sequence>
+ <xs:element name="include" minOccurs="0" maxOccurs="unbounded">
+ <xs:complexType>
+ <xs:sequence />
+ <xs:attribute name="class" use="required" type="xs:string" />
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="exclude" minOccurs="0" maxOccurs="unbounded">
+ <xs:complexType>
+ <xs:sequence />
+ <xs:attribute name="class" use="required" type="xs:string" />
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ </xs:complexType>
+ <xs:complexType name="Step">
+ <xs:sequence>
+ <xs:element name="properties" type="jsl:Properties"
+ minOccurs="0" maxOccurs="1" />
+ <xs:element name="listeners" type="jsl:Listeners"
+ minOccurs="0" maxOccurs="1">
+ <xs:annotation>
+ <xs:documentation> Note that "listeners" sequence order in XML does
+ not imply order of execution by the batch runtime, per the
+ specification. </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:choice minOccurs="0" maxOccurs="1">
+ <xs:element name="batchlet" type="jsl:Batchlet" />
+ <xs:element name="chunk" type="jsl:Chunk" />
+ </xs:choice>
+ <xs:element name="partition" type="jsl:Partition"
+ minOccurs="0" maxOccurs="1" />
+ <xs:group ref="jsl:TransitionElements" minOccurs="0"
+ maxOccurs="unbounded" />
+ </xs:sequence>
+ <xs:attribute name="id" use="required" type="xs:ID" />
+ <xs:attribute name="start-limit" use="optional" type="xs:string" />
+ <xs:attribute name="allow-start-if-complete" use="optional"
+ type="xs:string" />
+ <xs:attribute name="next" use="optional" type="xs:string" />
+ </xs:complexType>
+ <xs:complexType name="Batchlet">
+ <xs:sequence>
+ <xs:element name="properties" type="jsl:Properties"
+ minOccurs="0" maxOccurs="1" />
+ </xs:sequence>
+ <xs:attribute name="ref" use="required" type="jsl:artifactRef" />
+ </xs:complexType>
+ <xs:complexType name="Chunk">
+ <xs:sequence>
+ <xs:element name="reader" type="jsl:ItemReader" />
+ <xs:element name="processor" type="jsl:ItemProcessor"
+ minOccurs="0" maxOccurs="1" />
+ <xs:element name="writer" type="jsl:ItemWriter" />
+ <xs:element name="checkpoint-algorithm" type="jsl:CheckpointAlgorithm"
+ minOccurs="0" maxOccurs="1" />
+ <xs:element name="skippable-exception-classes" type="jsl:ExceptionClassFilter"
+ minOccurs="0" maxOccurs="1" />
+ <xs:element name="retryable-exception-classes" type="jsl:ExceptionClassFilter"
+ minOccurs="0" maxOccurs="1" />
+ <xs:element name="no-rollback-exception-classes" type="jsl:ExceptionClassFilter"
+ minOccurs="0" maxOccurs="1" />
+ </xs:sequence>
+ <xs:attribute name="checkpoint-policy" use="optional"
+ type="xs:string">
+ <xs:annotation>
+ <xs:documentation> Specifies the checkpoint policy that governs
+ commit behavior for this chunk. Valid values are: "item" or
+ "custom". The "item" policy means the chunk is checkpointed after a
+ specified number of items are processed. The "custom" policy means
+
+ the chunk is checkpointed according to a checkpoint algorithm
+ implementation. Specifying "custom" requires that the
+ checkpoint-algorithm element is also specified. It is an optional
+ attribute. The default policy is "item". However, we chose not to
+ define a schema-specified default for this attribute.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="item-count" use="optional" type="xs:string">
+ <xs:annotation>
+ <xs:documentation> Specifies the number of items to process per
+ chunk when using the item checkpoint policy. It must be valid XML
+ integer. It is an optional attribute. The default is 10. The
+ item-count attribute is ignored for "custom" checkpoint policy.
+ However, to make it easier for implementations to support JSL
+ inheritance we abstain from defining a schema-specified default for
+ this attribute. </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="time-limit" use="optional" type="xs:string">
+ <xs:annotation>
+ <xs:documentation> Specifies the amount of time in seconds before
+ taking a checkpoint for the item checkpoint policy. It must be
+ valid XML integer. It is an optional attribute. The default is 0,
+ which means no limit. However, to make it easier for
+ implementations to support JSL inheritance we abstain from defining
+ a schema-specified default for this attribute.
+
+ When a value greater than zero is specified, a checkpoint is taken when
+ time-limit is reached or item-count items have been processed,
+ whichever comes first. The time-limit attribute is ignored for
+ "custom" checkpoint policy. </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="skip-limit" use="optional" type="xs:string">
+ <xs:annotation>
+ <xs:documentation> Specifies the number of exceptions a step will
+ skip if any configured skippable exceptions are thrown by chunk
+ processing. It must be a valid XML integer value. It is an optional
+ attribute. The default is no limit. </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="retry-limit" use="optional" type="xs:string">
+ <xs:annotation>
+ <xs:documentation> Specifies the number of times a step will retry
+ if any configured retryable exceptions are thrown by chunk
+ processing. It must be a valid XML integer value. It is an optional
+ attribute. The default is no limit. </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ </xs:complexType>
+ <xs:complexType name="ItemReader">
+ <xs:sequence>
+ <xs:element name="properties" type="jsl:Properties"
+ minOccurs="0" maxOccurs="1" />
+
+ </xs:sequence>
+ <xs:attribute name="ref" use="required" type="jsl:artifactRef" />
+ </xs:complexType>
+ <xs:complexType name="ItemProcessor">
+ <xs:sequence>
+ <xs:element name="properties" type="jsl:Properties"
+ minOccurs="0" maxOccurs="1" />
+ </xs:sequence>
+ <xs:attribute name="ref" use="required" type="jsl:artifactRef" />
+ </xs:complexType>
+ <xs:complexType name="ItemWriter">
+ <xs:sequence>
+ <xs:element name="properties" type="jsl:Properties"
+ minOccurs="0" maxOccurs="1" />
+ </xs:sequence>
+ <xs:attribute name="ref" use="required" type="jsl:artifactRef" />
+ </xs:complexType>
+ <xs:complexType name="Property">
+ <xs:attribute name="name" type="xs:string" use="required" />
+ <xs:attribute name="value" type="xs:string" use="required" />
+ </xs:complexType>
+ <xs:complexType name="Properties">
+ <xs:sequence>
+ <xs:element name="property" type="jsl:Property" maxOccurs="unbounded"
+ minOccurs="0" />
+ </xs:sequence>
+ <xs:attribute name="partition" use="optional" type="xs:string" />
+ </xs:complexType>
+ <xs:complexType name="Listeners">
+ <xs:sequence>
+ <xs:element name="listener" type="jsl:Listener" maxOccurs="unbounded"
+ minOccurs="0" />
+ </xs:sequence>
+ </xs:complexType>
+ <xs:complexType name="Partition">
+ <xs:sequence>
+ <xs:choice minOccurs="0" maxOccurs="1">
+ <xs:element name="mapper" type="jsl:PartitionMapper" />
+ <xs:element name="plan" type="jsl:PartitionPlan" />
+ </xs:choice>
+ <xs:element name="collector" type="jsl:Collector"
+
+ minOccurs="0" maxOccurs="1" />
+ <xs:element name="analyzer" type="jsl:Analyzer" minOccurs="0"
+ maxOccurs="1" />
+ <xs:element name="reducer" type="jsl:PartitionReducer"
+ minOccurs="0" maxOccurs="1" />
+ </xs:sequence>
+ </xs:complexType>
+ <xs:complexType name="PartitionPlan">
+ <xs:sequence>
+ <xs:element name="properties" type="jsl:Properties"
+ minOccurs="0" maxOccurs="unbounded" />
+ </xs:sequence>
+ <xs:attribute name="partitions" use="optional" type="xs:string" />
+ <xs:attribute name="threads" use="optional" type="xs:string" />
+ </xs:complexType>
+ <xs:complexType name="PartitionMapper">
+ <xs:sequence>
+ <xs:element name="properties" type="jsl:Properties"
+ minOccurs="0" maxOccurs="1" />
+ </xs:sequence>
+ <xs:attribute name="ref" use="required" type="jsl:artifactRef" />
+ </xs:complexType>
+ <xs:complexType name="Collector">
+ <xs:sequence>
+ <xs:element name="properties" type="jsl:Properties"
+ minOccurs="0" maxOccurs="1" />
+ </xs:sequence>
+ <xs:attribute name="ref" use="required" type="jsl:artifactRef" />
+ </xs:complexType>
+ <xs:complexType name="Analyzer">
+ <xs:sequence>
+ <xs:element name="properties" type="jsl:Properties"
+ minOccurs="0" maxOccurs="1" />
+ </xs:sequence>
+ <xs:attribute name="ref" use="required" type="jsl:artifactRef" />
+ </xs:complexType>
+ <xs:complexType name="PartitionReducer">
+ <xs:sequence>
+ <xs:element name="properties" type="jsl:Properties"
+ minOccurs="0" maxOccurs="1" />
+ </xs:sequence>
+
+ <xs:attribute name="ref" use="required" type="jsl:artifactRef" />
+ </xs:complexType>
+</xs:schema>
diff --git a/bundles/org.eclipse.jst.standard.schemas/dtdsAndSchemas/permissions_7.xsd b/bundles/org.eclipse.jst.standard.schemas/dtdsAndSchemas/permissions_7.xsd
new file mode 100644
index 0000000..9eed242
--- /dev/null
+++ b/bundles/org.eclipse.jst.standard.schemas/dtdsAndSchemas/permissions_7.xsd
@@ -0,0 +1,175 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsd:schema xmlns="http://www.w3.org/2001/XMLSchema"
+ targetNamespace="http://xmlns.jcp.org/xml/ns/javaee"
+ xmlns:javaee="http://xmlns.jcp.org/xml/ns/javaee"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+ elementFormDefault="qualified"
+ attributeFormDefault="unqualified"
+ version="7">
+ <xsd:annotation>
+ <xsd:documentation>
+
+ DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
+
+ Copyright (c) 2009-2013 Oracle and/or its affiliates. All rights reserved.
+
+ The contents of this file are subject to the terms of either the GNU
+ General Public License Version 2 only ("GPL") or the Common Development
+ and Distribution License("CDDL") (collectively, the "License"). You
+ may not use this file except in compliance with the License. You can
+ obtain a copy of the License at
+ https://glassfish.dev.java.net/public/CDDL+GPL_1_1.html
+ or packager/legal/LICENSE.txt. See the License for the specific
+ language governing permissions and limitations under the License.
+
+ When distributing the software, include this License Header Notice in each
+ file and include the License file at packager/legal/LICENSE.txt.
+
+ GPL Classpath Exception:
+ Oracle designates this particular file as subject to the "Classpath"
+ exception as provided by Oracle in the GPL Version 2 section of the License
+ file that accompanied this code.
+
+ Modifications:
+ If applicable, add the following below the License Header, with the fields
+ enclosed by brackets [] replaced by your own identifying information:
+ "Portions Copyright [year] [name of copyright owner]"
+
+ Contributor(s):
+ If you wish your version of this file to be governed by only the CDDL or
+ only the GPL Version 2, indicate your decision by adding "[Contributor]
+ elects to include this software in this distribution under the [CDDL or GPL
+ Version 2] license." If you don't indicate a single choice of license, a
+ recipient has the option to distribute your version of this file under
+ either the CDDL, the GPL Version 2 or to extend the choice of license to
+ its licensees as provided above. However, if you add GPL Version 2 code
+ and therefore, elected the GPL Version 2 license, then the option applies
+ only if the new code is made subject to such option by the copyright
+ holder.
+
+ </xsd:documentation>
+ </xsd:annotation>
+
+ <xsd:annotation>
+ <xsd:documentation>
+ <![CDATA[[
+ This is the XML Schema for the application or module declared permissions 7.
+ The declared permissions file must be named "META-INF/permissions.xml" in the
+ application's ear file, or in a module's META-INF/permissions.xml if
+ the module is deployed standalone. All declared permissions must indicate
+ the declared permissions schema by using the Java EE namespace:
+
+ http://xmlns.jcp.org/xml/ns/javaee
+
+ and indicate the version of the schema by
+ using the version element as shown below:
+
+ <permissions xmlns="http://xmlns.jcp.org/xml/ns/javaee"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee
+ http://xmlns.jcp.org/xml/ns/javaee/permissions_7.xsd"
+ version="7">
+ ...
+ </permisssions>
+
+ The instance documents may indicate the published version of
+ the schema using the xsi:schemaLocation attribute for Java EE
+ namespace with the following location:
+
+ http://xmlns.jcp.org/xml/ns/javaee/permissions_7.xsd
+
+ ]]>
+ </xsd:documentation>
+ </xsd:annotation>
+
+ <xsd:annotation>
+ <xsd:documentation>
+
+ The following conventions apply to all Java EE
+ deployment descriptor elements unless indicated otherwise.
+
+ - In elements that specify a pathname to a file within the
+ same JAR file, relative filenames (i.e., those not
+ starting with "/") are considered relative to the root of
+ the JAR file's namespace. Absolute filenames (i.e., those
+ starting with "/") also specify names in the root of the
+ JAR file's namespace. In general, relative names are
+ preferred. The exception is .war files where absolute
+ names are preferred for consistency with the Servlet API.
+
+ </xsd:documentation>
+ </xsd:annotation>
+
+ <xsd:include schemaLocation="javaee_7.xsd"/>
+
+
+<!-- **************************************************** -->
+
+ <xsd:element name="permissions">
+ <xsd:annotation>
+ <xsd:documentation>
+
+ The permissions element is the root element in a
+ declared permissions file. The declared permissions file
+ declares the code based permissions granted to classes and libraries
+ packaged in the application archive, or in a module if the module is
+ deployed standalone.
+
+ </xsd:documentation>
+ </xsd:annotation>
+
+<!-- **************************************************** -->
+
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="permission"
+ maxOccurs="unbounded"
+ minOccurs="0">
+ <xsd:annotation>
+ <xsd:documentation>
+
+ Each permission element declares a permission. If no permission
+ elements are declared, the application or module needs no special
+ permissions, and the Java EE product may deploy it with no
+ permissions beyond those necessary for the operation of the
+ container.
+
+ For details on the definition of the 'name' and 'actions'
+ elements, refer to the Java API documentation for the class
+ java.security.Permission, and its derived classes.
+
+ </xsd:documentation>
+ </xsd:annotation>
+
+<!-- **************************************************** -->
+
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element type="javaee:fully-qualified-classType"
+ name="class-name"/>
+ <xsd:element type="javaee:string"
+ name="name"
+ minOccurs="0"/>
+ <xsd:element type="javaee:string"
+ name="actions"
+ minOccurs="0"/>
+ </xsd:sequence>
+ </xsd:complexType>
+ </xsd:element>
+ </xsd:sequence>
+ <xsd:attribute name="version"
+ type="javaee:dewey-versionType"
+ fixed="7"
+ use="required">
+ <xsd:annotation>
+ <xsd:documentation>
+
+ The required value for the version is 7.
+
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ </xsd:complexType>
+ </xsd:element>
+
+</xsd:schema>
diff --git a/bundles/org.eclipse.jst.standard.schemas/dtdsAndSchemas/web-partialresponse_2_2.xsd b/bundles/org.eclipse.jst.standard.schemas/dtdsAndSchemas/web-partialresponse_2_2.xsd
new file mode 100644
index 0000000..df60fa5
--- /dev/null
+++ b/bundles/org.eclipse.jst.standard.schemas/dtdsAndSchemas/web-partialresponse_2_2.xsd
@@ -0,0 +1,426 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsd:schema xmlns:javaee="http://xmlns.jcp.org/xml/ns/javaee"
+ attributeFormDefault="unqualified"
+ elementFormDefault="qualified"
+ targetNamespace="http://xmlns.jcp.org/xml/ns/javaee"
+ version="2.2"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+ <xsd:include schemaLocation="javaee_7.xsd"/>
+
+ <xsd:annotation>
+ <xsd:documentation>
+
+ DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
+
+ Copyright (c) 2011 - 2013 Oracle and/or its affiliates. All rights reserved.
+
+ The contents of this file are subject to the terms of either the GNU
+ General Public License Version 2 only ("GPL") or the Common Development
+ and Distribution License("CDDL") (collectively, the "License"). You
+ may not use this file except in compliance with the License. You can
+ obtain a copy of the License at
+ https://glassfish.java.net/public/CDDL+GPL_1_1.html
+ or packager/legal/LICENSE.txt. See the License for the specific
+ language governing permissions and limitations under the License.
+
+ When distributing the software, include this License Header Notice in each
+ file and include the License file at packager/legal/LICENSE.txt.
+
+ GPL Classpath Exception:
+ Oracle designates this particular file as subject to the "Classpath"
+ exception as provided by Oracle in the GPL Version 2 section of the License
+ file that accompanied this code.
+
+ Modifications:
+ If applicable, add the following below the License Header, with the fields
+ enclosed by brackets [] replaced by your own identifying information:
+ "Portions Copyright [year] [name of copyright owner]"
+
+ Contributor(s):
+ If you wish your version of this file to be governed by only the CDDL or
+ only the GPL Version 2, indicate your decision by adding "[Contributor]
+ elects to include this software in this distribution under the [CDDL or GPL
+ Version 2] license." If you don't indicate a single choice of license, a
+ recipient has the option to distribute your version of this file under
+ either the CDDL, the GPL Version 2 or to extend the choice of license to
+ its licensees as provided above. However, if you add GPL Version 2 code
+ and therefore, elected the GPL Version 2 license, then the option applies
+ only if the new code is made subject to such option by the copyright
+ holder.
+
+ </xsd:documentation>
+ </xsd:annotation>
+
+ <xsd:annotation>
+ <xsd:documentation>
+ <![CDATA[[
+ [
+ <p>
+
+ The XML Schema for the JavaServer Faces (Version 2.2)
+ Partial Response used in JSF Ajax frameworks.
+
+ </p>
+
+ ]]>
+ </xsd:documentation>
+ </xsd:annotation>
+
+
+<!-- **************************************************** -->
+
+ <xsd:element name="partial-response"
+ type="javaee:partial-responseType">
+ <xsd:annotation>
+ <xsd:documentation>
+ <![CDATA[[
+ [
+ <p>
+
+ The "partial-response" element is the root of the
+ partial response information hierarchy, and contains
+ nested elements for all possible elements that can exist
+ in the response.</p>
+
+ <p>This element must have an "id" attribute whose value
+ is the return from calling getContainerClientId() on the
+ UIViewRoot to which this response pertains.
+
+ </p>
+
+ ]]>
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:element>
+
+
+<!-- **************************************************** -->
+
+ <xsd:complexType name="partial-responseType">
+ <xsd:annotation>
+ <xsd:documentation>
+ <![CDATA[[
+ [
+ <p>
+
+ The "partial-response" element is the root of the
+ partial response information hierarchy, and contains
+ nested elements for all possible elements that can exist
+ in the response.
+
+ <p>
+
+ </p>
+
+ ]]>
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:choice>
+ <xsd:element name="changes"
+ type="javaee:partial-response-changesType"
+ minOccurs="0"
+ maxOccurs="1"/>
+ <xsd:element name="redirect"
+ type="javaee:partial-response-redirectType"
+ minOccurs="0"
+ maxOccurs="1"/>
+ <xsd:element name="error"
+ type="javaee:partial-response-errorType"
+ minOccurs="0"
+ maxOccurs="1"/>
+ </xsd:choice>
+ <xsd:attribute name="id"
+ type="xsd:ID"
+ use="required">
+ <xsd:annotation>
+ <xsd:documentation>
+ <![CDATA[[
+ [
+ <p class="changed_added_2_2">This element must have an "id" attribute whose value
+ is the return from calling getContainerClientId() on the
+ UIViewRoot to which this response pertains.<p>
+
+ ]]>
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ </xsd:complexType>
+
+
+<!-- **************************************************** -->
+
+ <xsd:complexType name="partial-response-changesType">
+ <xsd:annotation>
+ <xsd:documentation>
+ <![CDATA[[
+ [
+ <p>
+
+ The "changes" element contains a collection of child elements,
+ each of which describes a different change to be applied to the
+ view in the user agent.
+
+ </p>
+
+ ]]>
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:choice minOccurs="0"
+ maxOccurs="unbounded">
+ <xsd:element name="update"
+ type="javaee:partial-response-updateType"/>
+ <xsd:element name="insert"
+ type="javaee:partial-response-insertType"/>
+ <xsd:element name="delete"
+ type="javaee:partial-response-deleteType"/>
+ <xsd:element name="attributes"
+ type="javaee:partial-response-attributesType"/>
+ <xsd:element name="eval"
+ type="xsd:string">
+ <xsd:annotation>
+ <xsd:documentation>
+ <![CDATA[[
+ [
+ <p>
+
+ The "eval" element enables this element's
+ contents to be executed as JavaScript.
+
+ </p>
+
+ ]]>
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:element>
+ <xsd:element name="extension"
+ type="javaee:partial-response-extensionType"/>
+ </xsd:choice>
+ </xsd:complexType>
+
+
+<!-- **************************************************** -->
+
+ <xsd:complexType name="partial-response-updateType">
+ <xsd:annotation>
+ <xsd:documentation>
+ <![CDATA[[
+ [
+ <p>
+
+ The "update" element enables DOM elements matching the "id"
+ attribute to be updated with the contents of this element.
+
+ </p>
+
+ ]]>
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:sequence maxOccurs="unbounded">
+ <xsd:any processContents="skip"
+ namespace="##any"/>
+ </xsd:sequence>
+ <xsd:attribute name="id"
+ type="xsd:string"
+ use="required"/>
+ </xsd:complexType>
+
+
+<!-- **************************************************** -->
+
+ <xsd:complexType name="partial-response-insertType">
+ <xsd:annotation>
+ <xsd:documentation>
+ <![CDATA[[
+ [
+ <p>
+
+ The "insert" element enables content to be inserted into the DOM
+ before or after an existing DOM element as specified by the
+ nested "before" or "after" elements. The elements "before" and
+ "after" are mutually exclusive - one of them must be specified.
+
+ </p>
+
+ ]]>
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:choice minOccurs="1"
+ maxOccurs="1">
+ <xsd:element name="before">
+
+<!-- **************************************************** -->
+
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:any namespace="##any"
+ processContents="lax"
+ minOccurs="0"
+ maxOccurs="unbounded"/>
+ </xsd:sequence>
+ <xsd:attribute name="id"
+ type="xsd:string"
+ use="required"/>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="after">
+
+<!-- **************************************************** -->
+
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:any namespace="##any"
+ processContents="lax"
+ minOccurs="0"
+ maxOccurs="unbounded"/>
+ </xsd:sequence>
+ <xsd:attribute name="id"
+ type="xsd:string"
+ use="required"/>
+ </xsd:complexType>
+ </xsd:element>
+ </xsd:choice>
+ </xsd:complexType>
+
+
+<!-- **************************************************** -->
+
+ <xsd:complexType name="partial-response-deleteType">
+ <xsd:annotation>
+ <xsd:documentation>
+ <![CDATA[[
+ [
+ <p>
+
+ The "delete" element enables DOM elements matching the "id"
+ attribute to be removed.
+
+ </p>
+
+ ]]>
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:attribute name="id"
+ type="xsd:string"
+ use="required"/>
+ </xsd:complexType>
+
+
+<!-- **************************************************** -->
+
+ <xsd:complexType name="partial-response-attributesType">
+ <xsd:annotation>
+ <xsd:documentation>
+ <![CDATA[[
+ [
+ <p>
+
+ The "attributes" element enables attributes of DOM elements matching the "id"
+ attribute to be updated. If this element is used, then it must contain at
+ least one "attribute" element.
+
+ </p>
+
+ ]]>
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:sequence>
+ <xsd:element name="attribute"
+ minOccurs="1"
+ maxOccurs="unbounded">
+
+<!-- **************************************************** -->
+
+ <xsd:complexType>
+ <xsd:attribute name="name"
+ type="xsd:string"
+ use="required"/>
+ <xsd:attribute name="value"
+ type="xsd:string"
+ use="required"/>
+ </xsd:complexType>
+ </xsd:element>
+ </xsd:sequence>
+ <xsd:attribute name="id"
+ type="xsd:string"
+ use="required"/>
+ </xsd:complexType>
+
+
+<!-- **************************************************** -->
+
+ <xsd:complexType name="partial-response-redirectType">
+ <xsd:annotation>
+ <xsd:documentation>
+ <![CDATA[[
+ [
+ <p>
+
+ The "redirect" element enables a redirect to the location as specified by the
+ "url" attribute.
+
+ </p>
+
+ ]]>
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:attribute name="url"
+ type="xsd:string"
+ use="required"/>
+ </xsd:complexType>
+
+
+<!-- **************************************************** -->
+
+ <xsd:complexType name="partial-response-errorType">
+ <xsd:annotation>
+ <xsd:documentation>
+ <![CDATA[[
+ [
+ <p>
+
+ The "error" element contains error information from the server.
+
+ </p>
+
+ ]]>
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:sequence>
+ <xsd:element name="error-name"
+ type="xsd:string"
+ minOccurs="1"
+ maxOccurs="1"/>
+ <xsd:element name="error-message"
+ type="xsd:string"
+ minOccurs="1"
+ maxOccurs="1"/>
+ </xsd:sequence>
+ </xsd:complexType>
+
+
+<!-- **************************************************** -->
+
+ <xsd:complexType name="partial-response-extensionType">
+ <xsd:annotation>
+ <xsd:documentation>
+ <![CDATA[[
+ [
+ <p>
+ Extension element for partial response. It may contain
+ implementation specific content.
+ </p>
+
+ ]]>
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:sequence>
+ <xsd:any namespace="##any"
+ processContents="lax"
+ minOccurs="0"
+ maxOccurs="unbounded"/>
+ </xsd:sequence>
+ <xsd:attribute name="id"
+ type="xsd:ID"/>
+ </xsd:complexType>
+
+</xsd:schema>
diff --git a/bundles/org.eclipse.jst.standard.schemas/plugin.xml b/bundles/org.eclipse.jst.standard.schemas/plugin.xml
index ef7bd09..f5b1dfb 100644
--- a/bundles/org.eclipse.jst.standard.schemas/plugin.xml
+++ b/bundles/org.eclipse.jst.standard.schemas/plugin.xml
@@ -73,6 +73,12 @@
name="http://xmlns.jcp.org/xml/ns/javaee/application-client_7.xsd"
uri="dtdsAndSchemas/application-client_7.xsd" />
+ <uri
+ name="http://xmlns.jcp.org/xml/ns/javaee/batchXML_1_0.xsd"
+ uri="dtdsAndSchemas/batchXML_1_0.xsd" />
+ <uri
+ name="http://xmlns.jcp.org/xml/ns/javaee/jobXML_1_0.xsd"
+ uri="dtdsAndSchemas/jobXML_1_0.xsd" />
<uri
name="http://java.sun.com/xml/ns/javaee/beans_1_0.xsd"
@@ -255,6 +261,10 @@
<uri
name="http://xmlns.jcp.org/xml/ns/javaee/jsp_2_3.xsd"
uri="dtdsAndSchemas/jsp_2_3.xsd" />
+
+ <uri
+ name="http://xmlns.jcp.org/xml/ns/javaee/permissions_7.xsd"
+ uri="dtdsAndSchemas/permissions_7.xsd" />
<uri
@@ -419,6 +429,9 @@
<uri
name="http://xmlns.jcp.org/xml/ns/javaee/web-partialresponse_2_0.xsd"
uri="dtdsAndSchemas/web-partialresponse_2_0.xsd"/>
+ <uri
+ name="http://xmlns.jcp.org/xml/ns/javaee/web-partialresponse_2_2.xsd"
+ uri="dtdsAndSchemas/web-partialresponse_2_2.xsd"/>
</catalogContribution>