resin-web-xml-content.rnc

来自「RESIN 3.2 最新源码」· RNC 代码 · 共 1,293 行 · 第 1/2 页

RNC
1,293
字号
default namespace r = "http://caucho.com/ns/resin"namespace l = ""namespace rcore = "http://caucho.com/ns/resin/core"namespace xsi = "http://www.w3.org/2001/XMLSchema-instance"include "../resin/env.rnc"include "web-xml-j2ee.rnc"## l_web-app should probably be handled in web-xml.rnc as Servlet 2.3l_web-app = element l:web-app { r_any-Group }## r_boolean-Type = string## r_int = string## r_period = string## r_jndi = string## r_class-Type = string## r_kbytes = stringr_access-log = element access-log {  r_resin-type?  & r_log-Content  & (attribute auto-flush { r_boolean-Type }     | element auto-flush { r_boolean-Type })?  & (attribute auto-flush-time { r_period-Type }     | element auto-flush-time { r_period-Type })?  & (attribute exclude { string }     | element exclude { string })*  & (attribute format { string }     | element format { string })?  & (attribute hostname-dns-lookup { r_boolean-Type }     | element hostname-dns-lookup { r_boolean-Type })?  & (attribute shared-buffer { r_boolean-Type }     | element shared-buffer { r_boolean-Type })?  & r_init?}r_allow-servlet-el =  attribute allow-servlet-el { r_boolean-Type }  | element allow-servlet-el { r_boolean-Type }r_auth-constraint = element auth-constraint {  r_description*,  r_role-name*}r_archive-path =  attribute archive-path { string }  | element archive-path { string }r_cache-mapping = element cache-mapping {  (r_url-pattern | r_url-regexp)  & (attribute expires { r_period }     | element expires { r_period }     | attribute max-age { r_period }     | element max-age { r_period })?  & (attribute s-max-age { r_period }     | element s-max-age { r_period })?}r_constraint = element constraint {  r_resin-type,  r_any-Group}r_config-file =  attribute config-file { string }  | element config-file { string }r_context-param = element context-param {  r_init-param-Content}r_context-path =  attribute context-path { string }  | element context-path { string }## marks the web-app as distributabler_distributable =  attribute distributable { string }  | element distributable { string }r_document-directory =  attribute document-directory { r_path-Type }  | element document-directory { r_path-Type }r_ear-Content =  (r_env-Content   & r_config-file*   & (attribute ejb-server-jndi-name { string }      | element ejb-server-jndi-name { string })?)r_ear-default = element ear-default {  r_ear-Content}r_ear-deploy = element ear-deploy {  r_path  & (attribute archive-directory { r_path-Type }     | element archive-directory { r_path-Type })?  & r_ear-default?  & r_expand-cleanup-fileset?  & (attribute expand-directory { r_path-Type }     | element expand-directory { r_path-Type })?  & (attribute expand-path { r_path-Type }     | element expand-path { r_path-Type })?  & (attribute expand-prefix { string }     | element expand-prefix { string })?  & (attribute expand-suffix { string }     | element expand-suffix { string })?  & r_lazy-init?  & (attribute redeploy-mode { string }     | element redeploy-mode { string })?  & (attribute require-file { string }     | element require-file { string })*  & (attribute url-prefix { string }     | element url-prefix { string })?}r_error-page = element error-page {  (attribute error-code { string }   | element error-code { string }   | attribute exception-type { string }   | element exception-type { string })?  & (attribute location { string }     | element location { string })}r_filter = element filter {   r_description-Group   & (attribute filter-name { string }      | element filter-name { string })   & (attribute filter-class { r_class-Type }      | element filter-class { r_class-Type })   & r_init*   & r_init-param*}r_filter-mapping = element filter-mapping {  (attribute filter-name { string }   | element filter-name { string }),  (r_url-pattern   | attribute url-regexp { string }   | element url-regexp { string }   | attribute servlet-name { string }   | element servlet-name { string })+,  (attribute dispatcher { string }   | element dispatcher { string }*)}r_form-login-config = element form-login-config {  (attribute form-login-page { string }   | element form-login-page { string }),  (attribute form-error-page { string }   | element form-error-page { string }),  (attribute internal-forward { r_boolean-Type }   | element internal-forward { r_boolean-Type })?,  (attribute form-uri-priority { r_boolean-Type }   | element form-uri-priority { r_boolean-Type })?}r_hessian-encoding = element hessian {  r_url-pattern}r_http-transport = element http {  attribute id { string }?  & (r_url-pattern | r_url-regexp)}r_interface =   attribute interface { string }  | element interface { string }r_jdbc-store = element jdbc-store {  (attribute data-source { r_jndi }   | element data-source { r_jndi })  & (attribute table-name { string }     | element table-name { string })?  & (attribute blob-type { string }     | element blob-type { string })?  & (attribute max-idle-time { r_period }     | element max-idle-time { r_period })?}r_jms-transport = element jms {  attribute connection-factory { r_object-Type }?  & (element queue { r_string-Group }     | element topic { r_string-Group })}r_jsp = element jsp { (attribute auto-compile { r_boolean-Type }  | element auto-compile { r_boolean-Type })? & (attribute deferred-syntax-allowed-as-literal { r_period }    | element deferred-syntax-allowed-as-literal { r_period })? & (attribute dependency-check-interval { r_period }    | element dependency-check-interval { r_period })? & (attribute el-ignored { r_boolean-Type }    | element el-ignored { r_boolean-Type })? & (attribute fast-jstl { r_boolean-Type }    | element fast-jstl { r_boolean-Type })? & (attribute ide-hack { r_boolean-Type }    | element ide-hack { r_boolean-Type })? & (attribute ignore-el-exception { r_boolean-Type }    | element ignore-el-exception { r_boolean-Type })? & (attribute is-xml { r_boolean-Type }    | element is-xml { r_boolean-Type })? & (attribute jsp-max { r_int }    | element jsp-max { r_int })? & (attribute page-encoding { string }    | element page-encoding { string })? & (attribute precompile { r_boolean-Type }    | element precompile { r_boolean-Type })? & (attribute print-null-as-blank { r_boolean-Type }    | element print-null-as-blank { r_boolean-Type })? & (attribute recompile-on-error { r_boolean-Type }    | element recompile-on-error { r_boolean-Type })? & (attribute recycle-tags { r_boolean-Type }    | element recycle-tags { r_boolean-Type })? & (attribute require-source { r_boolean-Type }    | element require-source { r_boolean-Type })? & (attribute scripting-invalid { r_boolean-Type }    | element scripting-invalid { r_boolean-Type })? & (attribute session { r_boolean-Type }    | element session { r_boolean-Type })? & (attribute static-page-generates-class { r_boolean-Type }    | element static-page-generates-class { r_boolean-Type })? & (attribute tld-dir { r_path-Type }    | element tld-dir { r_path-Type })? & element tld-file-set { r_fileset }? & (attribute trim-directive-whitespaces { r_boolean-Type }    | element trim-directive-whitespaces { r_boolean-Type })? & (attribute validate-taglib-schema { r_boolean-Type }    | element validate-taglib-schema { r_boolean-Type })? & (attribute velocity-enabled { r_boolean-Type }    | element velocity-enabled { r_boolean-Type })?}r_jsf = element jsf {   (attribute fast-jsf { r_boolean-Type }    | element fast-jsf { r_boolean-Type })?     & (attribute state-serialization-method { r_state-serialization-method-Values }    | element state-serialization-method { r_state-serialization-method-Values })? & (attribute enable-developer-aid { r_boolean-Type }    | element enable-developer-aid { r_boolean-Type })? & (attribute developer-aid-link-style { string }    | element developer-aid-link-style { string })?}r_state-serialization-method-Values = "hessian" | "java"r_jsp-config = element jsp-config {  attribute id { string }?,  r_taglib*,  r_jsp-property-group*}r_jsp-property-group = element jsp-property-group {  attribute id { string }?,  r_description-Group,  r_url-pattern*,  element deferred-syntax-allowed-as-literal { j2ee_boolean }?,  element el-ignored { j2ee_boolean }?,  element page-encoding { j2ee_string }?,  element scripting-invalid { j2ee_boolean }?,  element trim-directive-whitespaces { j2ee_boolean }?,  element is-xml { j2ee_boolean }?,  element include-prelude { j2ee_path }*,  element include-coda { j2ee_path }*}r_lazy-init =  attribute lazy-init { r_boolean-Type }  | element lazy-init { r_boolean-Type }r_listener = element listener {  r_description-Group,  (attribute listener-class { string }   | element listener-class { string }),  r_init?}r_login = element login {  r_bean-Content}r_login-config = element login-config {  (r_class | r_type)?  & (attribute auth-method { string }     | element auth-method { string })?  & (attribute authenticator { r_jndi }     | element authenticator { r_jndi })?  & r_form-login-config?  & r_init?  & (attribute realm-name { string }     | element realm-name { string })?}r_http-method-Values =    "GET"  | "POST"  | "PUT"  | "DELETE"  | "HEAD"  | "OPTIONS"  | "TRACE"r_http-method =  attribute http-method { r_http-method-Values }  | element http-method { r_http-method-Values }r_ip-constraint =  (attribute ip-constraint { string }   | element ip-constraint { string })*  | element ip-constraint {       ((element allow { string })*       & (element deny { string })*)*  }r_mime-mapping = element mime-mapping {  (attribute extension { string }   | element extension { string }),  (attribute mime-type { string }   | element mime-type { string })}r_multipart-form = element multipart-form {  (attribute enable { r_boolean-Type }   | element enable { r_boolean-Type })?  & (attribute upload-max { r_kbytes }     | element upload-max { r_kbytes })?}## this doesn't exist in servlet spec?r_path-mapping = element path-mapping {  (r_url-pattern   | attribute url-regexp { string }   | element url-regexp { string })  & (attribute real-path { r_path-Type }     | element real-path { r_path-Type })}r_persistent_store =  attribute persistent-store { string }  | element persistent-store { string }r_protocol-Servlet = element protocol {  r_bean-Content}r_redeploy-check-interval =  attribute redeploy-check-interval { r_period-Type }  | element redeploy-check-interval { r_period-Type }r_redeploy-mode =  attribute redeploy-mode { string }  | element redeploy-mode { string }r_rest = element rest {  r_url-pattern  & (element jaxb-package { string }* | element jaxb-class { string }*)?}r_rewrite-condition-Content =  (     r_rewrite-condition-auth-type   | r_rewrite-condition-cookie   | (attribute exists { string }      | element exists { string })   | (attribute expr { string }      | element expr { string })   | r_rewrite-condition-header   | (attribute local-port { string }      | element local-port { string })   | r_rewrite-condition-locale   | (attribute method { string }      | element method { string })   | r_rewrite-condition-query-param   | (attribute remote-addr { string }      | element remote-addr { string }))   | r_rewrite-condition-remote-user   | (attribute secure { r_boolean-Type }      | element secure { r_boolean-Type })   | (attribute server-name { string }      | element server-name { string })   | (attribute server-port { string }      | element server-port { string })   | r_rewrite-condition-user-in-roler_rewrite-condition-auth-type =  (attribute auth-type { string }   | element auth-type { string })  & (attribute send-vary { string }     | element send-vary { string })?r_rewrite-condition-cookie =  (attribute cookie { string }   | element cookie { string })  & (attribute regexp { string }     | element regexp { string })?  & (attribute send-vary { string }     | element send-vary { string })?r_rewrite-condition-header =  (attribute header { string }   | element header { string })  & (attribute regexp { string }     | element regexp { string })?  & (attribute send-vary { string }     | element send-vary { string })?r_rewrite-condition-locale =  (attribute locale { string }   | element locale { string })  & (attribute send-vary { string }     | element send-vary { string })?r_rewrite-condition-query-param =  (attribute query-param { string }   | element query-param { string })  & (attribute regexp { string }     | element regexp { string })?r_rewrite-condition-remote-user =  (attribute remote-user { string }   | element remote-user { string })  & (attribute send-vary { string }     | element send-vary { string })?r_rewrite-condition-user-in-role =  (attribute user-in-role { string }   | element user-in-role { string })  & (attribute send-vary { string }     | element send-vary { string })?r_rewrite-conditions-Content =  element and { r_rewrite-conditions-Content }*  & element not { r_rewrite-conditions-Content }*  & element or { r_rewrite-conditions-Content }*  & element unless {      r_rewrite-condition-Content     }*  & element when {      r_rewrite-condition-Content     }*r_rewrite-conditions-Type =  r_rewrite-conditions-Contentr_rewrite-dispatch = element rewrite-dispatch {  r_rewrite-dispatch-Contents}r_rewrite-dispatch-Contents =  element dispatch {    r_rewrite-Group    & (attribute target { string }       | element target { string })?    & r_rewrite-conditions-Type  }*  & element dispatcher-type {    string  }*  & element forbidden {      r_rewrite-Group      & r_rewrite-conditions-Type    }*  & element forward {      r_rewrite-Group      & (attribute absolute-target { string }         | element absolute-target { string }         | attribute target { string }         | element target { string })                 & (attribute target-host { string }         | element target-host { string })?      & r_rewrite-conditions-Type    }*  & element gone {      r_rewrite-Group      & r_rewrite-conditions-Type    }*  & rcore_import?  & element import {      (attribute dependency-check-interval { r_period-Type}       | element dependency-check-interval { r_period-Type})?      & (attribute disable-at { string }         | element disable-at { string })?      & (attribute enable-at { string }         | element enable-at { string })?      & (attribute enabled { r_boolean-Type }         | element enabled { r_boolean-Type })?      & (attribute name { string }         | element name { string })?      & (attribute optional { r_boolean-Type }         | element optional { r_boolean-Type })?      & (attribute path { r_path-Type }         | element path { r_path-Type })    }*  & element load-balance {       r_rewrite-Group       & (attribute strategy { string }          | element strategy { string })?       & (attribute cluster { string }          | element cluster { string })

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?