Skip to Content.
Sympa Menu

notify-dpml - r1123 - in trunk/main/transit/core/etc: . main main/net main/net/dpml main/net/dpml/lang main/net/dpml/transit

notify-dpml AT lists.ibiblio.org

Subject: DPML Notify

List archive

Chronological Thread  
  • From: mcconnell at BerliOS <mcconnell AT mail.berlios.de>
  • To: notify-dpml AT lists.ibiblio.org
  • Subject: r1123 - in trunk/main/transit/core/etc: . main main/net main/net/dpml main/net/dpml/lang main/net/dpml/transit
  • Date: Wed, 22 Feb 2006 20:19:50 +0100

Author: mcconnell
Date: 2006-02-22 20:19:39 +0100 (Wed, 22 Feb 2006)
New Revision: 1123

Added:
trunk/main/transit/core/etc/main/
trunk/main/transit/core/etc/main/net/
trunk/main/transit/core/etc/main/net/dpml/
trunk/main/transit/core/etc/main/net/dpml/lang/
trunk/main/transit/core/etc/main/net/dpml/lang/plugin_1_0.dtd
trunk/main/transit/core/etc/main/net/dpml/transit/
trunk/main/transit/core/etc/main/net/dpml/transit/transit_1_0.dtd
Log:
add formal DTDs for transit and plugin XML data-structures

Added: trunk/main/transit/core/etc/main/net/dpml/lang/plugin_1_0.dtd
===================================================================
--- trunk/main/transit/core/etc/main/net/dpml/lang/plugin_1_0.dtd
2006-02-22 19:17:11 UTC (rev 1122)
+++ trunk/main/transit/core/etc/main/net/dpml/lang/plugin_1_0.dtd
2006-02-22 19:19:39 UTC (rev 1123)
@@ -0,0 +1,48 @@
+<!--
+Copyright 2006 Stephen McConnell, DPML
+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.
+-->
+
+<!--
+The plugin element is the document root, it defines an instantiation
strategy and
+classloader chain.
+
+ title Plugin title.
+ description Description of the plugin.
+ strategy The plugin instantiation strategy - the strategy element
may
+ contain an arbitary number of property elements.
+ classpath the classpath presented in terms of system, public,
protected
+ and private categories. Each category may contain an
arbirary
+ number of uri elements.
+-->
+
+<!ELEMENT plugin ( title?, description?, strategy, classpath ) >
+<!ATTLIST plugin version CDATA #REQUIRED xmlns CDATA #IMPLIED >
+
+<!ELEMENT strategy ( property* ) >
+<!ATTLIST strategy class CDATA #REQUIRED >
+
+<!ELEMENT property EMPTY >
+<!ATTLIST property name CDATA #REQUIRED value CDATA #REQUIRED >
+
+<!ELEMENT title (#PCDATA) >
+<!ELEMENT description (#PCDATA) >
+<!ELEMENT classpath ( system?, public?, protected?, private? ) >
+<!ELEMENT system ( uri* ) >
+<!ELEMENT public ( uri* ) >
+<!ELEMENT protected ( uri* ) >
+<!ELEMENT private ( uri* ) >
+<!ELEMENT uri (#PCDATA) >
+

Added: trunk/main/transit/core/etc/main/net/dpml/transit/transit_1_0.dtd
===================================================================
--- trunk/main/transit/core/etc/main/net/dpml/transit/transit_1_0.dtd
2006-02-22 19:17:11 UTC (rev 1122)
+++ trunk/main/transit/core/etc/main/net/dpml/transit/transit_1_0.dtd
2006-02-22 19:19:39 UTC (rev 1123)
@@ -0,0 +1,63 @@
+<!--
+Copyright 2006 Stephen McConnell, DPML
+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.
+-->
+
+<!ELEMENT transit ( proxy?, local, hosts, layouts?, handlers? ) >
+<!ATTLIST transit cache CDATA #REQUIRED >
+<!ATTLIST transit layout CDATA #REQUIRED >
+
+<!ELEMENT proxy ( credentials?, excludes? ) >
+<!ATTLIST proxy host CDATA #REQUIRED >
+<!ELEMENT credentials ( username?, password? ) >
+<!ELEMENT username (#PCDATA) >
+<!ELEMENT password (#PCDATA) >
+<!ELEMENT excludes ( exclude* ) >
+<!ELEMENT exclude (#PCDATA) >
+
+<!ELEMENT local EMPTY >
+<!ATTLIST local path CDATA #REQUIRED >
+<!ATTLIST local layout CDATA #REQUIRED >
+
+<!ELEMENT layouts ( layout* ) >
+<!ELEMENT hosts ( host* ) >
+<!ELEMENT handlers ( handler* ) >
+
+<!ELEMENT layout ( codebase ) >
+<!ATTLIST layout id CDATA #REQUIRED >
+<!ATTLIST layout title CDATA #IMPLIED >
+
+<!ELEMENT codebase ( value* ) >
+<!ATTLIST codebase uri CDATA #REQUIRED >
+
+<!ELEMENT host ( credentials? ) >
+<!ATTLIST host id CDATA #REQUIRED >
+<!ATTLIST host priority CDATA #REQUIRED >
+<!ATTLIST host url CDATA #REQUIRED >
+<!ATTLIST host layout CDATA #REQUIRED >
+<!ATTLIST host enabled ( true | false ) "true" >
+<!ATTLIST host trusted ( true | false ) "false" >
+<!ATTLIST host index CDATA #IMPLIED >
+<!ATTLIST host scheme CDATA #IMPLIED >
+<!ATTLIST host prompt CDATA #IMPLIED >
+
+<!ELEMENT handler ( codebase ) >
+<!ATTLIST handler id CDATA #REQUIRED >
+<!ATTLIST handler title CDATA #IMPLIED >
+
+<!ELEMENT value ( value* ) >
+<!ATTLIST value method CDATA #IMPLIED >
+<!ATTLIST value target CDATA #IMPLIED >
+<!ATTLIST value value CDATA #IMPLIED >




  • r1123 - in trunk/main/transit/core/etc: . main main/net main/net/dpml main/net/dpml/lang main/net/dpml/transit, mcconnell at BerliOS, 02/22/2006

Archive powered by MHonArc 2.6.24.

Top of Page