Author: michiel
Date: 2010-04-12 18:59:13 +0200 (Mon, 12 Apr 2010)
New Revision: 41858
Added:
mmbase/trunk/bridge/src/main/java/org/mmbase/util/xml/resources/
mmbase/trunk/bridge/src/main/java/org/mmbase/util/xml/resources/builder.dtd
mmbase/trunk/bridge/src/main/java/org/mmbase/util/xml/resources/builder.xsd
mmbase/trunk/bridge/src/main/java/org/mmbase/util/xml/resources/builder_1_0.dtd
mmbase/trunk/bridge/src/main/java/org/mmbase/util/xml/resources/builder_1_1.dtd
mmbase/trunk/bridge/src/main/java/org/mmbase/util/xml/resources/builder_2_0.dtd
mmbase/trunk/bridge/src/main/java/org/mmbase/util/xml/resources/builderwriter.properties
Removed:
mmbase/trunk/core/src/main/java/org/mmbase/util/xml/resources/builder.dtd
mmbase/trunk/core/src/main/java/org/mmbase/util/xml/resources/builder.xsd
mmbase/trunk/core/src/main/java/org/mmbase/util/xml/resources/builder_1_0.dtd
mmbase/trunk/core/src/main/java/org/mmbase/util/xml/resources/builder_1_1.dtd
mmbase/trunk/core/src/main/java/org/mmbase/util/xml/resources/builder_2_0.dtd
mmbase/trunk/core/src/main/java/org/mmbase/util/xml/resources/builderwriter.properties
Log:
moved builder xml definitions to bridge, because mock implementation use it too
Copied:
mmbase/trunk/bridge/src/main/java/org/mmbase/util/xml/resources/builder.dtd
(from rev 41853,
mmbase/trunk/core/src/main/java/org/mmbase/util/xml/resources/builder.dtd)
===================================================================
--- mmbase/trunk/bridge/src/main/java/org/mmbase/util/xml/resources/builder.dtd
(rev 0)
+++ mmbase/trunk/bridge/src/main/java/org/mmbase/util/xml/resources/builder.dtd
2010-04-12 16:59:13 UTC (rev 41858)
@@ -0,0 +1,40 @@
+<!--
+ builder.dtd
+ - DTD for MMBase builder definitions
+-->
+<!ELEMENT builder
(status,classfile,searchage,names,descriptions,properties?,fieldlist)>
+<!ATTLIST builder maintainer CDATA #IMPLIED>
+<!ATTLIST builder version CDATA #IMPLIED>
+<!ELEMENT descriptions (description*)>
+<!ELEMENT description (#PCDATA)>
+<!ATTLIST description xml:lang NMTOKEN "us">
+<!ELEMENT classfile (#PCDATA)>
+<!ELEMENT searchage (#PCDATA)>
+<!ELEMENT singular (#PCDATA)>
+<!ATTLIST singular xml:lang NMTOKEN "us">
+<!ELEMENT plural (#PCDATA)>
+<!ATTLIST plural xml:lang NMTOKEN "us">
+<!ELEMENT status (#PCDATA)>
+<!ELEMENT fieldlist (field*)>
+<!ELEMENT field (gui,editor,db)>
+<!ELEMENT names (singular*,plural*)>
+<!ELEMENT properties (property*)>
+<!ELEMENT property (#PCDATA)>
+<!ATTLIST property name CDATA #REQUIRED>
+<!ELEMENT gui (guiname+,guitype)>
+<!ELEMENT guiname (#PCDATA)>
+<!ATTLIST guiname xml:lang NMTOKEN "us">
+<!ELEMENT guitype (#PCDATA)>
+<!ELEMENT editor (positions*)>
+<!ELEMENT positions (input,list,search)>
+<!ELEMENT input (#PCDATA)>
+<!ELEMENT list (#PCDATA)>
+<!ELEMENT search (#PCDATA)>
+<!ELEMENT db (name,type)>
+<!ELEMENT name (#PCDATA)>
+<!ATTLIST name xml:lang NMTOKEN "us">
+<!ELEMENT type (#PCDATA)>
+<!ATTLIST type state (persistent|virtual|system) #REQUIRED>
+<!ATTLIST type size CDATA #IMPLIED>
+<!ATTLIST type key (true|false) #IMPLIED>
+<!ATTLIST type notnull (true|false) #REQUIRED>
Copied:
mmbase/trunk/bridge/src/main/java/org/mmbase/util/xml/resources/builder.xsd
(from rev 41853,
mmbase/trunk/core/src/main/java/org/mmbase/util/xml/resources/builder.xsd)
===================================================================
--- mmbase/trunk/bridge/src/main/java/org/mmbase/util/xml/resources/builder.xsd
(rev 0)
+++ mmbase/trunk/bridge/src/main/java/org/mmbase/util/xml/resources/builder.xsd
2010-04-12 16:59:13 UTC (rev 41858)
@@ -0,0 +1,340 @@
+<?xml version="1.0"?>
+<xsd:schema
+ xmlns="http://www.mmbase.org/xmlns/builder"
+ xmlns:dt="http://www.mmbase.org/xmlns/datatypes"
+ targetNamespace="http://www.mmbase.org/xmlns/builder"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+ elementFormDefault="qualified"
+ attributeFormDefault="unqualified"
+ version="1.0"
+ >
+
+ <xsd:import
+ namespace="http://www.w3.org/XML/1998/namespace"
+ schemaLocation="http://www.w3.org/2001/03/xml.xsd"
+ />
+
+ <xsd:import
+ namespace="http://www.mmbase.org/xmlns/datatypes"
+ schemaLocation="http://www.mmbase.org/xmlns/datatypes.xsd"
+ />
+
+ <xsd:element name="builder">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="status" minOccurs="0" />
+ <xsd:element ref="class" minOccurs="0" />
+ <xsd:element ref="searchage" minOccurs="0" />
+ <xsd:element ref="names" minOccurs="0" />
+ <xsd:element ref="descriptions" minOccurs="0" />
+ <xsd:element ref="properties" minOccurs="0" />
+ <xsd:element ref="dt:datatypes" minOccurs="0" />
+ <xsd:element ref="fieldlist" minOccurs="0" maxOccurs="unbounded" />
+ <xsd:element ref="indexlist" minOccurs="0" maxOccurs="unbounded" />
+ <xsd:element ref="functionlist" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="name" type="xsd:string" use="required" />
+ <xsd:attribute name="maintainer" type="xsd:string" />
+ <xsd:attribute name="version" type="xsd:string" />
+ <xsd:attribute name="extends" type="xsd:string" />
+ <xsd:attribute name="defaultcontextintypedef" type="xsd:string" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="status" />
+ <xsd:element name="class" />
+ <xsd:element name="searchage" />
+
+ <xsd:element name="names">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="singular" minOccurs="0" maxOccurs="unbounded" />
+ <xsd:element ref="plural" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="singular">
+ <xsd:complexType>
+ <xsd:simpleContent>
+ <xsd:extension base="xsd:string">
+ <xsd:attribute ref="xml:lang" />
+ </xsd:extension>
+ </xsd:simpleContent>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="plural">
+ <xsd:complexType>
+ <xsd:simpleContent>
+ <xsd:extension base="xsd:string">
+ <xsd:attribute ref="xml:lang" />
+ </xsd:extension>
+ </xsd:simpleContent>
+ </xsd:complexType>
+ </xsd:element>
+
+ <xsd:element name="descriptions">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="description" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="description">
+ <xsd:complexType>
+ <xsd:simpleContent>
+ <xsd:extension base="xsd:string">
+ <xsd:attribute ref="xml:lang" />
+ </xsd:extension>
+ </xsd:simpleContent>
+ </xsd:complexType>
+ </xsd:element>
+
+ <xsd:element name="properties">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="property" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="property">
+ <xsd:complexType>
+ <xsd:simpleContent>
+ <xsd:extension base="xsd:string">
+ <xsd:attribute name="name" type="xsd:string" use="required" />
+ </xsd:extension>
+ </xsd:simpleContent>
+ </xsd:complexType>
+ </xsd:element>
+
+
+ <xsd:element name="fieldlist">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="field" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <!-- you may want to xinclude fieldlists, xincludes may add xml:base
attributes -->
+ <xsd:attribute ref="xml:base" />
+ <xsd:attribute name="id" type="xsd:ID"/>
+ </xsd:complexType>
+ </xsd:element>
+
+ <xsd:element name="field">
+ <xsd:complexType>
+ <xsd:all>
+ <xsd:element ref="descriptions" minOccurs="0" />
+ <xsd:element ref="gui" minOccurs="0" />
+ <xsd:element ref="editor" minOccurs="0" />
+ <xsd:element ref="dt:datatype" minOccurs="0" />
+ <xsd:element ref="db" minOccurs="0" />
+ </xsd:all>
+ <xsd:attribute name="name" type="xsd:string" />
+ <xsd:attribute name="state">
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:string">
+ <xsd:enumeration value="persistent" />
+ <xsd:enumeration value="virtual" />
+ <xsd:enumeration value="system" />
+ <xsd:enumeration value="systemvirtual" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:attribute name="override">
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:string">
+ <xsd:enumeration value="replace" />
+ <xsd:enumeration value="merge" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:attribute name="readonly">
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:string">
+ <xsd:enumeration value="true" />
+ <xsd:enumeration value="false" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <!-- you may want to xinclude a field, xincludes may add xml:base
attributes -->
+ <xsd:attribute ref="xml:base" />
+ </xsd:complexType>
+ </xsd:element>
+
+ <xsd:element name="gui">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="guiname" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="guiname">
+ <xsd:complexType>
+ <xsd:simpleContent>
+ <xsd:extension base="xsd:string">
+ <xsd:attribute ref="xml:lang" />
+ </xsd:extension>
+ </xsd:simpleContent>
+ </xsd:complexType>
+ </xsd:element>
+
+ <xsd:element name="editor">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="positions" minOccurs="0" />
+ </xsd:sequence>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="positions">
+ <xsd:complexType>
+ <xsd:all>
+ <xsd:element ref="input" minOccurs="0" />
+ <xsd:element ref="list" minOccurs="0" />
+ <xsd:element ref="search" minOccurs="0" />
+ </xsd:all>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="input" />
+ <xsd:element name="list" />
+ <xsd:element name="search" />
+
+
+ <xsd:element name="db">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="name" minOccurs="0" />
+ <xsd:element ref="type" minOccurs="0" />
+ </xsd:sequence>
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="name" />
+
+ <xsd:element name="type">
+ <xsd:complexType>
+ <xsd:simpleContent>
+ <xsd:extension base="xsd:string">
+ <xsd:attribute name="state">
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:string">
+ <xsd:enumeration value="persistent" />
+ <xsd:enumeration value="virtual" />
+ <xsd:enumeration value="system" />
+ <xsd:enumeration value="systemvirtual" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:attribute name="size" type="xsd:string" />
+ <xsd:attribute name="notnull">
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:string">
+ <xsd:enumeration value="true" />
+ <xsd:enumeration value="false" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:attribute name="unique">
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:string">
+ <xsd:enumeration value="true" />
+ <xsd:enumeration value="false" />
+ <xsd:enumeration value="implied" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:attribute name="required">
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:string">
+ <xsd:enumeration value="true" />
+ <xsd:enumeration value="false" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:attribute name="readonly">
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:string">
+ <xsd:enumeration value="true" />
+ <xsd:enumeration value="false" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:attribute name="key">
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:string">
+ <xsd:enumeration value="true" />
+ <xsd:enumeration value="false" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ </xsd:extension>
+ </xsd:simpleContent>
+ </xsd:complexType>
+ </xsd:element>
+
+ <xsd:element name="indexlist">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="index" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute ref="xml:base" />
+ </xsd:complexType>
+ </xsd:element>
+
+ <xsd:element name="index">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="indexfield" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute name="name" type="xsd:string" use="required" />
+ <xsd:attribute name="override">
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:string">
+ <xsd:enumeration value="replace" />
+ <xsd:enumeration value="merge" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ <xsd:attribute name="unique">
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:string">
+ <xsd:enumeration value="true" />
+ <xsd:enumeration value="false" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ </xsd:complexType>
+ </xsd:element>
+
+ <xsd:element name="indexfield">
+ <xsd:complexType>
+ <xsd:attribute name="name" type="xsd:string" use="required" />
+ </xsd:complexType>
+ </xsd:element>
+
+ <xsd:element name="functionlist">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="function" minOccurs="0" maxOccurs="unbounded" />
+ </xsd:sequence>
+ <xsd:attribute ref="xml:base" />
+ </xsd:complexType>
+ </xsd:element>
+
+ <xsd:element name="function">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element ref="class" />
+ </xsd:sequence>
+ <xsd:attribute ref="xml:base" />
+ <xsd:attribute name="name" type="xsd:string" />
+ <xsd:attribute name="key" type="xsd:string" />
+ <xsd:attribute name="override">
+ <xsd:simpleType>
+ <xsd:restriction base="xsd:string">
+ <xsd:enumeration value="replace" />
+ <xsd:enumeration value="merge" />
+ </xsd:restriction>
+ </xsd:simpleType>
+ </xsd:attribute>
+ </xsd:complexType>
+ </xsd:element>
+
+</xsd:schema>
+
+
Copied:
mmbase/trunk/bridge/src/main/java/org/mmbase/util/xml/resources/builder_1_0.dtd
(from rev 41853,
mmbase/trunk/core/src/main/java/org/mmbase/util/xml/resources/builder_1_0.dtd)
===================================================================
---
mmbase/trunk/bridge/src/main/java/org/mmbase/util/xml/resources/builder_1_0.dtd
(rev 0)
+++
mmbase/trunk/bridge/src/main/java/org/mmbase/util/xml/resources/builder_1_0.dtd
2010-04-12 16:59:13 UTC (rev 41858)
@@ -0,0 +1,40 @@
+<!--
+ builder.dtd
+ - DTD for MMBase builder definitions
+-->
+<!ELEMENT builder
(status,classfile,searchage,names,descriptions,properties?,fieldlist)>
+<!ATTLIST builder maintainer CDATA #IMPLIED>
+<!ATTLIST builder version CDATA #IMPLIED>
+<!ELEMENT descriptions (description*)>
+<!ELEMENT description (#PCDATA)>
+<!ATTLIST description xml:lang NMTOKEN "us">
+<!ELEMENT classfile (#PCDATA)>
+<!ELEMENT searchage (#PCDATA)>
+<!ELEMENT singular (#PCDATA)>
+<!ATTLIST singular xml:lang NMTOKEN "us">
+<!ELEMENT plural (#PCDATA)>
+<!ATTLIST plural xml:lang NMTOKEN "us">
+<!ELEMENT status (#PCDATA)>
+<!ELEMENT fieldlist (field*)>
+<!ELEMENT field (gui,editor,db)>
+<!ELEMENT names (singular*,plural*)>
+<!ELEMENT properties (property*)>
+<!ELEMENT property (#PCDATA)>
+<!ATTLIST property name CDATA #REQUIRED>
+<!ELEMENT gui (guiname+,guitype)>
+<!ELEMENT guiname (#PCDATA)>
+<!ATTLIST guiname xml:lang NMTOKEN "us">
+<!ELEMENT guitype (#PCDATA)>
+<!ELEMENT editor (positions*)>
+<!ELEMENT positions (input,list,search)>
+<!ELEMENT input (#PCDATA)>
+<!ELEMENT list (#PCDATA)>
+<!ELEMENT search (#PCDATA)>
+<!ELEMENT db (name,type)>
+<!ELEMENT name (#PCDATA)>
+<!ATTLIST name xml:lang NMTOKEN "us">
+<!ELEMENT type (#PCDATA)>
+<!ATTLIST type state (persistent|virtual|system) #REQUIRED>
+<!ATTLIST type size CDATA #IMPLIED>
+<!ATTLIST type key (true|false) #IMPLIED>
+<!ATTLIST type notnull (true|false) #REQUIRED>
Copied:
mmbase/trunk/bridge/src/main/java/org/mmbase/util/xml/resources/builder_1_1.dtd
(from rev 41853,
mmbase/trunk/core/src/main/java/org/mmbase/util/xml/resources/builder_1_1.dtd)
===================================================================
---
mmbase/trunk/bridge/src/main/java/org/mmbase/util/xml/resources/builder_1_1.dtd
(rev 0)
+++
mmbase/trunk/bridge/src/main/java/org/mmbase/util/xml/resources/builder_1_1.dtd
2010-04-12 16:59:13 UTC (rev 41858)
@@ -0,0 +1,47 @@
+<!--
+ builder.dtd
+ - DTD for MMBase builder definitions
+-->
+<!ELEMENT builder
(status?,classfile?,searchage?,names?,descriptions?,properties?,fieldlist?)>
+<!ATTLIST builder name CDATA #REQUIRED>
+<!ATTLIST builder maintainer CDATA #IMPLIED>
+<!ATTLIST builder version CDATA #IMPLIED>
+<!ATTLIST builder extends CDATA #IMPLIED>
+<!ELEMENT descriptions (description*)>
+<!ELEMENT description (#PCDATA)>
+<!ATTLIST description xml:lang NMTOKEN "en">
+<!ELEMENT classfile (#PCDATA)>
+<!ELEMENT searchage (#PCDATA)>
+<!ELEMENT singular (#PCDATA)>
+<!ATTLIST singular xml:lang NMTOKEN "en">
+<!ELEMENT plural (#PCDATA)>
+<!ATTLIST plural xml:lang NMTOKEN "en">
+<!ELEMENT status (#PCDATA)>
+<!ELEMENT fieldlist (field*)>
+<!ELEMENT field (descriptions?,gui?,editor?,db)>
+<!ELEMENT names (singular*,plural*)>
+<!ELEMENT properties (property*)>
+<!ELEMENT property (#PCDATA)>
+<!ATTLIST property name CDATA #REQUIRED>
+<!ELEMENT gui (guiname*,guitype?)>
+<!ELEMENT guiname (#PCDATA)>
+<!ATTLIST guiname xml:lang NMTOKEN "en">
+<!ELEMENT guitype (#PCDATA)>
+<!ELEMENT editor (positions*)>
+<!ELEMENT positions (input?,list?,search?)>
+<!ELEMENT input (#PCDATA)>
+<!ELEMENT list (#PCDATA)>
+<!ELEMENT search (#PCDATA)>
+<!ELEMENT db (name,type?)>
+<!ELEMENT name (#PCDATA)>
+<!ATTLIST name xml:lang NMTOKEN #IMPLIED > <!-- should be removed, language
does not make sense on database field name-->
+<!ELEMENT type (#PCDATA)>
+<!ATTLIST type state (persistent|virtual|system) #REQUIRED>
+<!ATTLIST type size CDATA #IMPLIED>
+<!ATTLIST type key CDATA #IMPLIED>
+<!ATTLIST type doctype CDATA #IMPLIED>
+<!ATTLIST type notnull CDATA #REQUIRED>
+
+
+
+
Copied:
mmbase/trunk/bridge/src/main/java/org/mmbase/util/xml/resources/builder_2_0.dtd
(from rev 41853,
mmbase/trunk/core/src/main/java/org/mmbase/util/xml/resources/builder_2_0.dtd)
===================================================================
---
mmbase/trunk/bridge/src/main/java/org/mmbase/util/xml/resources/builder_2_0.dtd
(rev 0)
+++
mmbase/trunk/bridge/src/main/java/org/mmbase/util/xml/resources/builder_2_0.dtd
2010-04-12 16:59:13 UTC (rev 41858)
@@ -0,0 +1,74 @@
+<!--
+ builder.dtd version 2.0
+ - DTD for MMBase builder definitions
+-->
+<!ELEMENT builder (status?,class?,searchage?,names?,descriptions?,properties?,
datatypes?, fieldlist?,indexlist?,functionlist?)>
+<!ATTLIST builder name CDATA #REQUIRED>
+<!ATTLIST builder maintainer CDATA #IMPLIED>
+<!ATTLIST builder version CDATA #IMPLIED>
+<!ATTLIST builder extends CDATA #IMPLIED>
+
+<!ELEMENT status (#PCDATA)>
+
+<!ELEMENT class (#PCDATA)>
+
+<!ELEMENT searchage (#PCDATA)>
+
+<!ELEMENT names (singular*,plural*)>
+<!ELEMENT singular (#PCDATA)>
+<!ATTLIST singular xml:lang NMTOKEN "en">
+<!ELEMENT plural (#PCDATA)>
+<!ATTLIST plural xml:lang NMTOKEN "en">
+
+<!ELEMENT descriptions (description*)>
+<!ELEMENT description (#PCDATA)>
+<!ATTLIST description xml:lang NMTOKEN "en">
+
+<!ELEMENT properties (property*)>
+<!ELEMENT property (#PCDATA)>
+<!ATTLIST property name CDATA #REQUIRED>
+
+<!ELEMENT fieldlist (field*)>
+<!ELEMENT field (descriptions?,gui?, datatype?, editor?,db)>
+
+<!ELEMENT gui (guiname*,guitype?)>
+<!ELEMENT guiname (#PCDATA)>
+<!ATTLIST guiname xml:lang NMTOKEN "en">
+<!ELEMENT guitype (#PCDATA)>
+
+<!ELEMENT editor (positions*)>
+<!ELEMENT positions (input?,list?,search?)>
+<!ELEMENT input (#PCDATA)>
+<!ELEMENT list (#PCDATA)>
+<!ELEMENT search (#PCDATA)>
+
+<!ELEMENT specialization (#PCDATA)>
+<!ATTLIST specialization config CDATA #IMPLIED>
+
+<!ELEMENT db (name,type?)>
+<!ELEMENT name (#PCDATA)>
+
+<!ELEMENT type (#PCDATA)>
+<!ATTLIST type state (persistent|virtual|system|systemvirtual) #REQUIRED>
+<!ATTLIST type size CDATA #IMPLIED>
+<!ATTLIST type notnull (true|false) #IMPLIED>
+<!ATTLIST type unique (true|false|implied) #IMPLIED>
+<!ATTLIST type required (true|false) #IMPLIED>
+<!ATTLIST type readonly (true|false) #IMPLIED>
+<!ATTLIST type doctype CDATA #IMPLIED>
+<!ATTLIST type key (true|false) #IMPLIED>
+
+<!ELEMENT indexlist (index*)>
+<!ELEMENT index (indexfield+)>
+<!ATTLIST index name CDATA #REQUIRED>
+<!ATTLIST index unique (true|false) #IMPLIED>
+<!ELEMENT indexfield EMPTY>
+<!ATTLIST indexfield name CDATA #REQUIRED>
+
+<!ELEMENT functionlist (function*)>
+<!ELEMENT function (class) >
+<!ATTLIST function name CDATA #IMPLIED>
+<!ATTLIST function key CDATA #IMPLIED>
+
+
+
Copied:
mmbase/trunk/bridge/src/main/java/org/mmbase/util/xml/resources/builderwriter.properties
(from rev 41853,
mmbase/trunk/core/src/main/java/org/mmbase/util/xml/resources/builderwriter.properties)
===================================================================
---
mmbase/trunk/bridge/src/main/java/org/mmbase/util/xml/resources/builderwriter.properties
(rev 0)
+++
mmbase/trunk/bridge/src/main/java/org/mmbase/util/xml/resources/builderwriter.properties
2010-04-12 16:59:13 UTC (rev 41858)
@@ -0,0 +1,37 @@
+#
+# @(#)builderwriter.properties 1.40 99/10/22
+#
+builder.configuration= Builder configuration for {0}
+builder.status=Status of the builder: 'active' or 'inactive'
+builder.classfile=Classname of the builder.\n\
+This is a optional tag, it names the classfile to use for this builder\n\
+Providing an alternate buidler class allows you to add or change support
routines.
+builder.searchage=The default maximum age of objects in a search\n\
+used by some MMBase editors to limit the results of a search
+builder.names=Names defines the different names used in user visible parts\n\
+Singular names are used when talking about one object (Url,Person) and plurar
when talking about multiple objects (Urls, people).\n\
+Names can be provided in various languages.
+builder.singular=singular names per language as defined by ISO 639
+builder.plural=plural names per language as defined by ISO 639
+builder.descriptions=Descriptions are ment to provide some additional
clarification to an object.\n\
+They are useful for GUI editors to provide helptexts.\n\
+Descriptions can be provided in various languages.
+builder.description=decsription per language as defined by ISO 639
+builder.properties=You can define properties to be used by the classfile.\n\
+Properties are entered using name/value pairs.\n\
+The actual properties available differ by class.
+builder.fieldlist=defines the different fields in this object\n\
+Depending on the database, the order of the fields may be important.\n\
+Once defined, it is a good practice to keep the same order.\n\
+This counts especially when you convert buidler configurations using builder
inheritance.
+builder.field=field definition for field {1} : {0}
+builder.field.descriptions=field descriptions (help texts)
+builder.field.gui=gui related
+builder.field.editor=editor related
+builder.field.editor.positions.input=position in the input area of the editor
+builder.field.editor.positions.list=position in the list area of the editor
+builder.field.editor.positions.search=position in the search area of the editor
+builder.field.datatype=field datatype, containing constraints, defaults, and
representation data
+builder.field.db=database related
+builder.field.db.name=name of the field in the database
+builder.field.db.type=MMBase datatype and demands on it
Deleted:
mmbase/trunk/core/src/main/java/org/mmbase/util/xml/resources/builder.dtd
===================================================================
--- mmbase/trunk/core/src/main/java/org/mmbase/util/xml/resources/builder.dtd
2010-04-12 16:56:33 UTC (rev 41857)
+++ mmbase/trunk/core/src/main/java/org/mmbase/util/xml/resources/builder.dtd
2010-04-12 16:59:13 UTC (rev 41858)
@@ -1,40 +0,0 @@
-<!--
- builder.dtd
- - DTD for MMBase builder definitions
--->
-<!ELEMENT builder
(status,classfile,searchage,names,descriptions,properties?,fieldlist)>
-<!ATTLIST builder maintainer CDATA #IMPLIED>
-<!ATTLIST builder version CDATA #IMPLIED>
-<!ELEMENT descriptions (description*)>
-<!ELEMENT description (#PCDATA)>
-<!ATTLIST description xml:lang NMTOKEN "us">
-<!ELEMENT classfile (#PCDATA)>
-<!ELEMENT searchage (#PCDATA)>
-<!ELEMENT singular (#PCDATA)>
-<!ATTLIST singular xml:lang NMTOKEN "us">
-<!ELEMENT plural (#PCDATA)>
-<!ATTLIST plural xml:lang NMTOKEN "us">
-<!ELEMENT status (#PCDATA)>
-<!ELEMENT fieldlist (field*)>
-<!ELEMENT field (gui,editor,db)>
-<!ELEMENT names (singular*,plural*)>
-<!ELEMENT properties (property*)>
-<!ELEMENT property (#PCDATA)>
-<!ATTLIST property name CDATA #REQUIRED>
-<!ELEMENT gui (guiname+,guitype)>
-<!ELEMENT guiname (#PCDATA)>
-<!ATTLIST guiname xml:lang NMTOKEN "us">
-<!ELEMENT guitype (#PCDATA)>
-<!ELEMENT editor (positions*)>
-<!ELEMENT positions (input,list,search)>
-<!ELEMENT input (#PCDATA)>
-<!ELEMENT list (#PCDATA)>
-<!ELEMENT search (#PCDATA)>
-<!ELEMENT db (name,type)>
-<!ELEMENT name (#PCDATA)>
-<!ATTLIST name xml:lang NMTOKEN "us">
-<!ELEMENT type (#PCDATA)>
-<!ATTLIST type state (persistent|virtual|system) #REQUIRED>
-<!ATTLIST type size CDATA #IMPLIED>
-<!ATTLIST type key (true|false) #IMPLIED>
-<!ATTLIST type notnull (true|false) #REQUIRED>
Deleted:
mmbase/trunk/core/src/main/java/org/mmbase/util/xml/resources/builder.xsd
===================================================================
--- mmbase/trunk/core/src/main/java/org/mmbase/util/xml/resources/builder.xsd
2010-04-12 16:56:33 UTC (rev 41857)
+++ mmbase/trunk/core/src/main/java/org/mmbase/util/xml/resources/builder.xsd
2010-04-12 16:59:13 UTC (rev 41858)
@@ -1,340 +0,0 @@
-<?xml version="1.0"?>
-<xsd:schema
- xmlns="http://www.mmbase.org/xmlns/builder"
- xmlns:dt="http://www.mmbase.org/xmlns/datatypes"
- targetNamespace="http://www.mmbase.org/xmlns/builder"
- xmlns:xsd="http://www.w3.org/2001/XMLSchema"
- elementFormDefault="qualified"
- attributeFormDefault="unqualified"
- version="1.0"
- >
-
- <xsd:import
- namespace="http://www.w3.org/XML/1998/namespace"
- schemaLocation="http://www.w3.org/2001/03/xml.xsd"
- />
-
- <xsd:import
- namespace="http://www.mmbase.org/xmlns/datatypes"
- schemaLocation="http://www.mmbase.org/xmlns/datatypes.xsd"
- />
-
- <xsd:element name="builder">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="status" minOccurs="0" />
- <xsd:element ref="class" minOccurs="0" />
- <xsd:element ref="searchage" minOccurs="0" />
- <xsd:element ref="names" minOccurs="0" />
- <xsd:element ref="descriptions" minOccurs="0" />
- <xsd:element ref="properties" minOccurs="0" />
- <xsd:element ref="dt:datatypes" minOccurs="0" />
- <xsd:element ref="fieldlist" minOccurs="0" maxOccurs="unbounded" />
- <xsd:element ref="indexlist" minOccurs="0" maxOccurs="unbounded" />
- <xsd:element ref="functionlist" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="name" type="xsd:string" use="required" />
- <xsd:attribute name="maintainer" type="xsd:string" />
- <xsd:attribute name="version" type="xsd:string" />
- <xsd:attribute name="extends" type="xsd:string" />
- <xsd:attribute name="defaultcontextintypedef" type="xsd:string" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="status" />
- <xsd:element name="class" />
- <xsd:element name="searchage" />
-
- <xsd:element name="names">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="singular" minOccurs="0" maxOccurs="unbounded" />
- <xsd:element ref="plural" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="singular">
- <xsd:complexType>
- <xsd:simpleContent>
- <xsd:extension base="xsd:string">
- <xsd:attribute ref="xml:lang" />
- </xsd:extension>
- </xsd:simpleContent>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="plural">
- <xsd:complexType>
- <xsd:simpleContent>
- <xsd:extension base="xsd:string">
- <xsd:attribute ref="xml:lang" />
- </xsd:extension>
- </xsd:simpleContent>
- </xsd:complexType>
- </xsd:element>
-
- <xsd:element name="descriptions">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="description" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="description">
- <xsd:complexType>
- <xsd:simpleContent>
- <xsd:extension base="xsd:string">
- <xsd:attribute ref="xml:lang" />
- </xsd:extension>
- </xsd:simpleContent>
- </xsd:complexType>
- </xsd:element>
-
- <xsd:element name="properties">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="property" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="property">
- <xsd:complexType>
- <xsd:simpleContent>
- <xsd:extension base="xsd:string">
- <xsd:attribute name="name" type="xsd:string" use="required" />
- </xsd:extension>
- </xsd:simpleContent>
- </xsd:complexType>
- </xsd:element>
-
-
- <xsd:element name="fieldlist">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="field" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <!-- you may want to xinclude fieldlists, xincludes may add xml:base
attributes -->
- <xsd:attribute ref="xml:base" />
- <xsd:attribute name="id" type="xsd:ID"/>
- </xsd:complexType>
- </xsd:element>
-
- <xsd:element name="field">
- <xsd:complexType>
- <xsd:all>
- <xsd:element ref="descriptions" minOccurs="0" />
- <xsd:element ref="gui" minOccurs="0" />
- <xsd:element ref="editor" minOccurs="0" />
- <xsd:element ref="dt:datatype" minOccurs="0" />
- <xsd:element ref="db" minOccurs="0" />
- </xsd:all>
- <xsd:attribute name="name" type="xsd:string" />
- <xsd:attribute name="state">
- <xsd:simpleType>
- <xsd:restriction base="xsd:string">
- <xsd:enumeration value="persistent" />
- <xsd:enumeration value="virtual" />
- <xsd:enumeration value="system" />
- <xsd:enumeration value="systemvirtual" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:attribute>
- <xsd:attribute name="override">
- <xsd:simpleType>
- <xsd:restriction base="xsd:string">
- <xsd:enumeration value="replace" />
- <xsd:enumeration value="merge" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:attribute>
- <xsd:attribute name="readonly">
- <xsd:simpleType>
- <xsd:restriction base="xsd:string">
- <xsd:enumeration value="true" />
- <xsd:enumeration value="false" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:attribute>
- <!-- you may want to xinclude a field, xincludes may add xml:base
attributes -->
- <xsd:attribute ref="xml:base" />
- </xsd:complexType>
- </xsd:element>
-
- <xsd:element name="gui">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="guiname" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="guiname">
- <xsd:complexType>
- <xsd:simpleContent>
- <xsd:extension base="xsd:string">
- <xsd:attribute ref="xml:lang" />
- </xsd:extension>
- </xsd:simpleContent>
- </xsd:complexType>
- </xsd:element>
-
- <xsd:element name="editor">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="positions" minOccurs="0" />
- </xsd:sequence>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="positions">
- <xsd:complexType>
- <xsd:all>
- <xsd:element ref="input" minOccurs="0" />
- <xsd:element ref="list" minOccurs="0" />
- <xsd:element ref="search" minOccurs="0" />
- </xsd:all>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="input" />
- <xsd:element name="list" />
- <xsd:element name="search" />
-
-
- <xsd:element name="db">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="name" minOccurs="0" />
- <xsd:element ref="type" minOccurs="0" />
- </xsd:sequence>
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="name" />
-
- <xsd:element name="type">
- <xsd:complexType>
- <xsd:simpleContent>
- <xsd:extension base="xsd:string">
- <xsd:attribute name="state">
- <xsd:simpleType>
- <xsd:restriction base="xsd:string">
- <xsd:enumeration value="persistent" />
- <xsd:enumeration value="virtual" />
- <xsd:enumeration value="system" />
- <xsd:enumeration value="systemvirtual" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:attribute>
- <xsd:attribute name="size" type="xsd:string" />
- <xsd:attribute name="notnull">
- <xsd:simpleType>
- <xsd:restriction base="xsd:string">
- <xsd:enumeration value="true" />
- <xsd:enumeration value="false" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:attribute>
- <xsd:attribute name="unique">
- <xsd:simpleType>
- <xsd:restriction base="xsd:string">
- <xsd:enumeration value="true" />
- <xsd:enumeration value="false" />
- <xsd:enumeration value="implied" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:attribute>
- <xsd:attribute name="required">
- <xsd:simpleType>
- <xsd:restriction base="xsd:string">
- <xsd:enumeration value="true" />
- <xsd:enumeration value="false" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:attribute>
- <xsd:attribute name="readonly">
- <xsd:simpleType>
- <xsd:restriction base="xsd:string">
- <xsd:enumeration value="true" />
- <xsd:enumeration value="false" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:attribute>
- <xsd:attribute name="key">
- <xsd:simpleType>
- <xsd:restriction base="xsd:string">
- <xsd:enumeration value="true" />
- <xsd:enumeration value="false" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:attribute>
- </xsd:extension>
- </xsd:simpleContent>
- </xsd:complexType>
- </xsd:element>
-
- <xsd:element name="indexlist">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="index" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute ref="xml:base" />
- </xsd:complexType>
- </xsd:element>
-
- <xsd:element name="index">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="indexfield" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute name="name" type="xsd:string" use="required" />
- <xsd:attribute name="override">
- <xsd:simpleType>
- <xsd:restriction base="xsd:string">
- <xsd:enumeration value="replace" />
- <xsd:enumeration value="merge" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:attribute>
- <xsd:attribute name="unique">
- <xsd:simpleType>
- <xsd:restriction base="xsd:string">
- <xsd:enumeration value="true" />
- <xsd:enumeration value="false" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:attribute>
- </xsd:complexType>
- </xsd:element>
-
- <xsd:element name="indexfield">
- <xsd:complexType>
- <xsd:attribute name="name" type="xsd:string" use="required" />
- </xsd:complexType>
- </xsd:element>
-
- <xsd:element name="functionlist">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="function" minOccurs="0" maxOccurs="unbounded" />
- </xsd:sequence>
- <xsd:attribute ref="xml:base" />
- </xsd:complexType>
- </xsd:element>
-
- <xsd:element name="function">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element ref="class" />
- </xsd:sequence>
- <xsd:attribute ref="xml:base" />
- <xsd:attribute name="name" type="xsd:string" />
- <xsd:attribute name="key" type="xsd:string" />
- <xsd:attribute name="override">
- <xsd:simpleType>
- <xsd:restriction base="xsd:string">
- <xsd:enumeration value="replace" />
- <xsd:enumeration value="merge" />
- </xsd:restriction>
- </xsd:simpleType>
- </xsd:attribute>
- </xsd:complexType>
- </xsd:element>
-
-</xsd:schema>
-
-
Deleted:
mmbase/trunk/core/src/main/java/org/mmbase/util/xml/resources/builder_1_0.dtd
===================================================================
---
mmbase/trunk/core/src/main/java/org/mmbase/util/xml/resources/builder_1_0.dtd
2010-04-12 16:56:33 UTC (rev 41857)
+++
mmbase/trunk/core/src/main/java/org/mmbase/util/xml/resources/builder_1_0.dtd
2010-04-12 16:59:13 UTC (rev 41858)
@@ -1,40 +0,0 @@
-<!--
- builder.dtd
- - DTD for MMBase builder definitions
--->
-<!ELEMENT builder
(status,classfile,searchage,names,descriptions,properties?,fieldlist)>
-<!ATTLIST builder maintainer CDATA #IMPLIED>
-<!ATTLIST builder version CDATA #IMPLIED>
-<!ELEMENT descriptions (description*)>
-<!ELEMENT description (#PCDATA)>
-<!ATTLIST description xml:lang NMTOKEN "us">
-<!ELEMENT classfile (#PCDATA)>
-<!ELEMENT searchage (#PCDATA)>
-<!ELEMENT singular (#PCDATA)>
-<!ATTLIST singular xml:lang NMTOKEN "us">
-<!ELEMENT plural (#PCDATA)>
-<!ATTLIST plural xml:lang NMTOKEN "us">
-<!ELEMENT status (#PCDATA)>
-<!ELEMENT fieldlist (field*)>
-<!ELEMENT field (gui,editor,db)>
-<!ELEMENT names (singular*,plural*)>
-<!ELEMENT properties (property*)>
-<!ELEMENT property (#PCDATA)>
-<!ATTLIST property name CDATA #REQUIRED>
-<!ELEMENT gui (guiname+,guitype)>
-<!ELEMENT guiname (#PCDATA)>
-<!ATTLIST guiname xml:lang NMTOKEN "us">
-<!ELEMENT guitype (#PCDATA)>
-<!ELEMENT editor (positions*)>
-<!ELEMENT positions (input,list,search)>
-<!ELEMENT input (#PCDATA)>
-<!ELEMENT list (#PCDATA)>
-<!ELEMENT search (#PCDATA)>
-<!ELEMENT db (name,type)>
-<!ELEMENT name (#PCDATA)>
-<!ATTLIST name xml:lang NMTOKEN "us">
-<!ELEMENT type (#PCDATA)>
-<!ATTLIST type state (persistent|virtual|system) #REQUIRED>
-<!ATTLIST type size CDATA #IMPLIED>
-<!ATTLIST type key (true|false) #IMPLIED>
-<!ATTLIST type notnull (true|false) #REQUIRED>
Deleted:
mmbase/trunk/core/src/main/java/org/mmbase/util/xml/resources/builder_1_1.dtd
===================================================================
---
mmbase/trunk/core/src/main/java/org/mmbase/util/xml/resources/builder_1_1.dtd
2010-04-12 16:56:33 UTC (rev 41857)
+++
mmbase/trunk/core/src/main/java/org/mmbase/util/xml/resources/builder_1_1.dtd
2010-04-12 16:59:13 UTC (rev 41858)
@@ -1,47 +0,0 @@
-<!--
- builder.dtd
- - DTD for MMBase builder definitions
--->
-<!ELEMENT builder
(status?,classfile?,searchage?,names?,descriptions?,properties?,fieldlist?)>
-<!ATTLIST builder name CDATA #REQUIRED>
-<!ATTLIST builder maintainer CDATA #IMPLIED>
-<!ATTLIST builder version CDATA #IMPLIED>
-<!ATTLIST builder extends CDATA #IMPLIED>
-<!ELEMENT descriptions (description*)>
-<!ELEMENT description (#PCDATA)>
-<!ATTLIST description xml:lang NMTOKEN "en">
-<!ELEMENT classfile (#PCDATA)>
-<!ELEMENT searchage (#PCDATA)>
-<!ELEMENT singular (#PCDATA)>
-<!ATTLIST singular xml:lang NMTOKEN "en">
-<!ELEMENT plural (#PCDATA)>
-<!ATTLIST plural xml:lang NMTOKEN "en">
-<!ELEMENT status (#PCDATA)>
-<!ELEMENT fieldlist (field*)>
-<!ELEMENT field (descriptions?,gui?,editor?,db)>
-<!ELEMENT names (singular*,plural*)>
-<!ELEMENT properties (property*)>
-<!ELEMENT property (#PCDATA)>
-<!ATTLIST property name CDATA #REQUIRED>
-<!ELEMENT gui (guiname*,guitype?)>
-<!ELEMENT guiname (#PCDATA)>
-<!ATTLIST guiname xml:lang NMTOKEN "en">
-<!ELEMENT guitype (#PCDATA)>
-<!ELEMENT editor (positions*)>
-<!ELEMENT positions (input?,list?,search?)>
-<!ELEMENT input (#PCDATA)>
-<!ELEMENT list (#PCDATA)>
-<!ELEMENT search (#PCDATA)>
-<!ELEMENT db (name,type?)>
-<!ELEMENT name (#PCDATA)>
-<!ATTLIST name xml:lang NMTOKEN #IMPLIED > <!-- should be removed, language
does not make sense on database field name-->
-<!ELEMENT type (#PCDATA)>
-<!ATTLIST type state (persistent|virtual|system) #REQUIRED>
-<!ATTLIST type size CDATA #IMPLIED>
-<!ATTLIST type key CDATA #IMPLIED>
-<!ATTLIST type doctype CDATA #IMPLIED>
-<!ATTLIST type notnull CDATA #REQUIRED>
-
-
-
-
Deleted:
mmbase/trunk/core/src/main/java/org/mmbase/util/xml/resources/builder_2_0.dtd
===================================================================
---
mmbase/trunk/core/src/main/java/org/mmbase/util/xml/resources/builder_2_0.dtd
2010-04-12 16:56:33 UTC (rev 41857)
+++
mmbase/trunk/core/src/main/java/org/mmbase/util/xml/resources/builder_2_0.dtd
2010-04-12 16:59:13 UTC (rev 41858)
@@ -1,74 +0,0 @@
-<!--
- builder.dtd version 2.0
- - DTD for MMBase builder definitions
--->
-<!ELEMENT builder (status?,class?,searchage?,names?,descriptions?,properties?,
datatypes?, fieldlist?,indexlist?,functionlist?)>
-<!ATTLIST builder name CDATA #REQUIRED>
-<!ATTLIST builder maintainer CDATA #IMPLIED>
-<!ATTLIST builder version CDATA #IMPLIED>
-<!ATTLIST builder extends CDATA #IMPLIED>
-
-<!ELEMENT status (#PCDATA)>
-
-<!ELEMENT class (#PCDATA)>
-
-<!ELEMENT searchage (#PCDATA)>
-
-<!ELEMENT names (singular*,plural*)>
-<!ELEMENT singular (#PCDATA)>
-<!ATTLIST singular xml:lang NMTOKEN "en">
-<!ELEMENT plural (#PCDATA)>
-<!ATTLIST plural xml:lang NMTOKEN "en">
-
-<!ELEMENT descriptions (description*)>
-<!ELEMENT description (#PCDATA)>
-<!ATTLIST description xml:lang NMTOKEN "en">
-
-<!ELEMENT properties (property*)>
-<!ELEMENT property (#PCDATA)>
-<!ATTLIST property name CDATA #REQUIRED>
-
-<!ELEMENT fieldlist (field*)>
-<!ELEMENT field (descriptions?,gui?, datatype?, editor?,db)>
-
-<!ELEMENT gui (guiname*,guitype?)>
-<!ELEMENT guiname (#PCDATA)>
-<!ATTLIST guiname xml:lang NMTOKEN "en">
-<!ELEMENT guitype (#PCDATA)>
-
-<!ELEMENT editor (positions*)>
-<!ELEMENT positions (input?,list?,search?)>
-<!ELEMENT input (#PCDATA)>
-<!ELEMENT list (#PCDATA)>
-<!ELEMENT search (#PCDATA)>
-
-<!ELEMENT specialization (#PCDATA)>
-<!ATTLIST specialization config CDATA #IMPLIED>
-
-<!ELEMENT db (name,type?)>
-<!ELEMENT name (#PCDATA)>
-
-<!ELEMENT type (#PCDATA)>
-<!ATTLIST type state (persistent|virtual|system|systemvirtual) #REQUIRED>
-<!ATTLIST type size CDATA #IMPLIED>
-<!ATTLIST type notnull (true|false) #IMPLIED>
-<!ATTLIST type unique (true|false|implied) #IMPLIED>
-<!ATTLIST type required (true|false) #IMPLIED>
-<!ATTLIST type readonly (true|false) #IMPLIED>
-<!ATTLIST type doctype CDATA #IMPLIED>
-<!ATTLIST type key (true|false) #IMPLIED>
-
-<!ELEMENT indexlist (index*)>
-<!ELEMENT index (indexfield+)>
-<!ATTLIST index name CDATA #REQUIRED>
-<!ATTLIST index unique (true|false) #IMPLIED>
-<!ELEMENT indexfield EMPTY>
-<!ATTLIST indexfield name CDATA #REQUIRED>
-
-<!ELEMENT functionlist (function*)>
-<!ELEMENT function (class) >
-<!ATTLIST function name CDATA #IMPLIED>
-<!ATTLIST function key CDATA #IMPLIED>
-
-
-
Deleted:
mmbase/trunk/core/src/main/java/org/mmbase/util/xml/resources/builderwriter.properties
===================================================================
---
mmbase/trunk/core/src/main/java/org/mmbase/util/xml/resources/builderwriter.properties
2010-04-12 16:56:33 UTC (rev 41857)
+++
mmbase/trunk/core/src/main/java/org/mmbase/util/xml/resources/builderwriter.properties
2010-04-12 16:59:13 UTC (rev 41858)
@@ -1,37 +0,0 @@
-#
-# @(#)builderwriter.properties 1.40 99/10/22
-#
-builder.configuration= Builder configuration for {0}
-builder.status=Status of the builder: 'active' or 'inactive'
-builder.classfile=Classname of the builder.\n\
-This is a optional tag, it names the classfile to use for this builder\n\
-Providing an alternate buidler class allows you to add or change support
routines.
-builder.searchage=The default maximum age of objects in a search\n\
-used by some MMBase editors to limit the results of a search
-builder.names=Names defines the different names used in user visible parts\n\
-Singular names are used when talking about one object (Url,Person) and plurar
when talking about multiple objects (Urls, people).\n\
-Names can be provided in various languages.
-builder.singular=singular names per language as defined by ISO 639
-builder.plural=plural names per language as defined by ISO 639
-builder.descriptions=Descriptions are ment to provide some additional
clarification to an object.\n\
-They are useful for GUI editors to provide helptexts.\n\
-Descriptions can be provided in various languages.
-builder.description=decsription per language as defined by ISO 639
-builder.properties=You can define properties to be used by the classfile.\n\
-Properties are entered using name/value pairs.\n\
-The actual properties available differ by class.
-builder.fieldlist=defines the different fields in this object\n\
-Depending on the database, the order of the fields may be important.\n\
-Once defined, it is a good practice to keep the same order.\n\
-This counts especially when you convert buidler configurations using builder
inheritance.
-builder.field=field definition for field {1} : {0}
-builder.field.descriptions=field descriptions (help texts)
-builder.field.gui=gui related
-builder.field.editor=editor related
-builder.field.editor.positions.input=position in the input area of the editor
-builder.field.editor.positions.list=position in the list area of the editor
-builder.field.editor.positions.search=position in the search area of the editor
-builder.field.datatype=field datatype, containing constraints, defaults, and
representation data
-builder.field.db=database related
-builder.field.db.name=name of the field in the database
-builder.field.db.type=MMBase datatype and demands on it
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs