diff --git a/api_dev/src/main/java/com/google/appengine/tools/info/Jetty121EE11Sdk.java b/api_dev/src/main/java/com/google/appengine/tools/info/Jetty121EE11Sdk.java index 45e6a2ed..dc59efc6 100644 --- a/api_dev/src/main/java/com/google/appengine/tools/info/Jetty121EE11Sdk.java +++ b/api_dev/src/main/java/com/google/appengine/tools/info/Jetty121EE11Sdk.java @@ -241,6 +241,11 @@ List getJetty121JspJars() { List lf = getJetty121Jars("ee11-apache-jsp"); lf.addAll(getJetty121Jars("ee11-glassfish-jstl")); lf.add(getJetty121Jar("ee11-servlet-")); + lf.add( + new File( + sdkRoot, + "lib/shared/jetty12/appengine-local-runtime-shared.jar")); // contains DTD and XSD + // schemas return lf; } diff --git a/api_dev/src/main/java/com/google/appengine/tools/info/Jetty121EE8Sdk.java b/api_dev/src/main/java/com/google/appengine/tools/info/Jetty121EE8Sdk.java index a9b7a26a..72ab3f23 100644 --- a/api_dev/src/main/java/com/google/appengine/tools/info/Jetty121EE8Sdk.java +++ b/api_dev/src/main/java/com/google/appengine/tools/info/Jetty121EE8Sdk.java @@ -225,6 +225,11 @@ List getJetty121JspJars() { List lf = getJetty121Jars("ee8-apache-jsp"); lf.addAll(getJetty121Jars("ee8-glassfish-jstl")); lf.add(getJetty121Jar("ee8-servlet-")); + lf.add( + new File( + sdkRoot, + "lib/shared/jetty12/appengine-local-runtime-shared.jar")); // contains DTD and XSD + // schemas return lf; } diff --git a/shared_sdk/src/main/resources/jakarta/servlet/resources/XMLSchema.dtd b/shared_sdk/src/main/resources/jakarta/servlet/resources/XMLSchema.dtd new file mode 100644 index 00000000..e29b43dd --- /dev/null +++ b/shared_sdk/src/main/resources/jakarta/servlet/resources/XMLSchema.dtd @@ -0,0 +1,402 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +%xs-datatypes; + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/shared_sdk/src/main/resources/jakarta/servlet/resources/datatypes.dtd b/shared_sdk/src/main/resources/jakarta/servlet/resources/datatypes.dtd new file mode 100644 index 00000000..36f66a5f --- /dev/null +++ b/shared_sdk/src/main/resources/jakarta/servlet/resources/datatypes.dtd @@ -0,0 +1,203 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/shared_sdk/src/main/resources/jakarta/servlet/resources/xml.xsd b/shared_sdk/src/main/resources/jakarta/servlet/resources/xml.xsd new file mode 100644 index 00000000..72e0a32c --- /dev/null +++ b/shared_sdk/src/main/resources/jakarta/servlet/resources/xml.xsd @@ -0,0 +1,82 @@ + + + + + + + + See http://www.w3.org/XML/1998/namespace.html and + http://www.w3.org/TR/REC-xml for information about this namespace. + + + + + This schema defines attributes and an attribute group + suitable for use by + schemas wishing to allow xml:base, xml:lang or xml:space attributes + on elements they define. + + To enable this, such a schema must import this schema + for the XML namespace, e.g. as follows: + <schema . . .> + . . . + <import namespace="http://www.w3.org/XML/1998/namespace" + schemaLocation="http://www.w3.org/2001/03/xml.xsd"/> + + Subsequently, qualified reference to any of the attributes + or the group defined below will have the desired effect, e.g. + + <type . . .> + . . . + <attributeGroup ref="xml:specialAttrs"/> + + will define a type which will schema-validate an instance + element with any of those attributes + + + + In keeping with the XML Schema WG's standard versioning + policy, this schema document will persist at + http://www.w3.org/2001/03/xml.xsd. + At the date of issue it can also be found at + http://www.w3.org/2001/xml.xsd. + The schema document at that URI may however change in the future, + in order to remain compatible with the latest version of XML Schema + itself. In other words, if the XML Schema namespace changes, the version + of this document at + http://www.w3.org/2001/xml.xsd will change + accordingly; the version at + http://www.w3.org/2001/03/xml.xsd will not change. + + + + + + In due course, we should install the relevant ISO 2- and 3-letter + codes as the enumerated possible values . . . + + + + + + + + + + + + + + + See http://www.w3.org/TR/xmlbase/ for + information about this attribute. + + + + + + + + + + diff --git a/shared_sdk/src/main/resources/javax/servlet/resources/XMLSchema.dtd b/shared_sdk/src/main/resources/javax/servlet/resources/XMLSchema.dtd new file mode 100644 index 00000000..e29b43dd --- /dev/null +++ b/shared_sdk/src/main/resources/javax/servlet/resources/XMLSchema.dtd @@ -0,0 +1,402 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +%xs-datatypes; + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/shared_sdk/src/main/resources/javax/servlet/resources/datatypes.dtd b/shared_sdk/src/main/resources/javax/servlet/resources/datatypes.dtd new file mode 100644 index 00000000..36f66a5f --- /dev/null +++ b/shared_sdk/src/main/resources/javax/servlet/resources/datatypes.dtd @@ -0,0 +1,203 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/shared_sdk/src/main/resources/javax/servlet/resources/xml.xsd b/shared_sdk/src/main/resources/javax/servlet/resources/xml.xsd new file mode 100644 index 00000000..72e0a32c --- /dev/null +++ b/shared_sdk/src/main/resources/javax/servlet/resources/xml.xsd @@ -0,0 +1,82 @@ + + + + + + + + See http://www.w3.org/XML/1998/namespace.html and + http://www.w3.org/TR/REC-xml for information about this namespace. + + + + + This schema defines attributes and an attribute group + suitable for use by + schemas wishing to allow xml:base, xml:lang or xml:space attributes + on elements they define. + + To enable this, such a schema must import this schema + for the XML namespace, e.g. as follows: + <schema . . .> + . . . + <import namespace="http://www.w3.org/XML/1998/namespace" + schemaLocation="http://www.w3.org/2001/03/xml.xsd"/> + + Subsequently, qualified reference to any of the attributes + or the group defined below will have the desired effect, e.g. + + <type . . .> + . . . + <attributeGroup ref="xml:specialAttrs"/> + + will define a type which will schema-validate an instance + element with any of those attributes + + + + In keeping with the XML Schema WG's standard versioning + policy, this schema document will persist at + http://www.w3.org/2001/03/xml.xsd. + At the date of issue it can also be found at + http://www.w3.org/2001/xml.xsd. + The schema document at that URI may however change in the future, + in order to remain compatible with the latest version of XML Schema + itself. In other words, if the XML Schema namespace changes, the version + of this document at + http://www.w3.org/2001/xml.xsd will change + accordingly; the version at + http://www.w3.org/2001/03/xml.xsd will not change. + + + + + + In due course, we should install the relevant ISO 2- and 3-letter + codes as the enumerated possible values . . . + + + + + + + + + + + + + + + See http://www.w3.org/TR/xmlbase/ for + information about this attribute. + + + + + + + + + +