javax.servlet.jsp.resources.jspxml.xsd Maven / Gradle / Ivy
The newest version!
]>
XML Schema for JSP 2.0.
This schema is based upon the recent (May 5th, 2001)
W3C recommendation for XML Schema.
A JSP translator should reject an XML-format file that is
not strictly valid according to this schema or does not observe
the constraints documented here. A translator is not required
to use this schema for validation or to use a validating parser.
Body defines the "top-level" elements in root and beanInfo.
There are probably other elements that should use it.
A request-time expression value
Bool would be boolean except it does not accept 1 and 0.
Identifier is an unqualified Java identifier.
TypeName is one or more Java identifiers separated by dots
with no whitespace.
ImportList is one or more typeNames separated by commas.
Whitespace is allowed before and after the comma.
SetProp is an Identifier or *.
RelativeURL is a uriReference with no colon character
before the first /, ? or #, if any (RFC2396).
Length is nn or nn%.
Buffer Size with an explicit value
Buffer Size with a "none" value
Buffer size is xkb or none.
Content type and character encoding for this page.
Page Encoding for this page.
valid scope values
valid values for a plugin type
Buffer size is xkb.
The root element of all JSP documents is named root.
Authors may, if they wish, include schema location information.
If specified, the information may appear as attributes of
the root element as follows:
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/JSP/Page xsd-file-location"
Documents should not specify the system identifier of a DTD
in a DOCTYPE declaration.
directive.page is the "page directive".
directive.include is the "include directive".
This element does not appear on XML views of JSP pages.
The representation of a scriplet.
The representation of a declaration.
The representation of an expression.
Verbatim template text.
useBean instantiates or accesses a bean in the specified scope.
Constraint: The allowed combinations of attributes are:
class [type] | type [( class | beanName)]
setProperty changes the value of an object property.
Constraint: The object named by the name must have been
"introduced" to the JSP processor using either the
jsp:useBean action or a custom action with an associated
VariableInfo entry for this name.
Exact valid combinations are not expressable in XML Schema.
They are:
name="Identifier" property="*"
name="Identifier" property="Identfiier" param="string"
name="Identifier" property="Identifier" value="string"
getProperty obtains the value of an object property.
Constraint: The object named by the name must have been
"introduced" to the JSP processor using either the
jsp:useBean action or a custom action with an associated
VariableInfo entry for this name.
???The spec is interpreted as restricting the values of
property to Identifier.