Propchange: ofbiz/site/dtds/docbook.xsd
------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/site/dtds/docbook.xsd ------------------------------------------------------------------------------ svn:keywords = "Date Rev Author URL Id" Propchange: ofbiz/site/dtds/docbook.xsd ------------------------------------------------------------------------------ svn:mime-type = text/xsd Added: ofbiz/site/dtds/docbookx.dtd URL: http://svn.apache.org/viewvc/ofbiz/site/dtds/docbookx.dtd?rev=883925&view=auto ============================================================================== --- ofbiz/site/dtds/docbookx.dtd (added) +++ ofbiz/site/dtds/docbookx.dtd Tue Nov 24 23:29:47 2009 @@ -0,0 +1,170 @@ +<!-- ...................................................................... --> +<!-- DocBook XML DTD V4.5 ................................................. --> +<!-- File docbookx.dtd .................................................... --> + +<!-- Copyright 1992-2006 HaL Computer Systems, Inc., + O'Reilly & Associates, Inc., ArborText, Inc., Fujitsu Software + Corporation, Norman Walsh, Sun Microsystems, Inc., and the + Organization for the Advancement of Structured Information + Standards (OASIS). + + See also http://docbook.org/specs/ + + $Id: docbookx.dtd 6340 2006-10-03 13:23:24Z nwalsh $ + + Permission to use, copy, modify and distribute the DocBook XML DTD + and its accompanying documentation for any purpose and without fee + is hereby granted in perpetuity, provided that the above copyright + notice and this paragraph appear in all copies. The copyright + holders make no representation about the suitability of the DTD for + any purpose. It is provided "as is" without expressed or implied + warranty. + + If you modify the DocBook DTD in any way, except for declaring and + referencing additional sets of general entities and declaring + additional notations, label your DTD as a variant of DocBook. See + the maintenance documentation for more information. + + Please direct all questions, bug reports, or suggestions for + changes to the [hidden email] mailing list. For more + information, see http://www.oasis-open.org/docbook/. +--> + +<!-- ...................................................................... --> + +<!-- This is the driver file for V4.5 of the DocBook DTD. + Please use the following formal public identifier to identify it: + + "-//OASIS//DTD DocBook XML V4.5//EN" + + For example, if your document's top-level element is Book, and + you are using DocBook directly, use the FPI in the DOCTYPE + declaration: + + <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" + "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" + [...]> + + Or, if you have a higher-level driver file that customizes DocBook, + use the FPI in the parameter entity declaration: + + <!ENTITY % DocBookDTD PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" + "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"> + %DocBookDTD; + + See the documentation for detailed information on the parameter + entity and module scheme used in DocBook, customizing DocBook and + planning for interchange, and changes made since the last release + of DocBook. +--> + +<!-- ...................................................................... --> +<!-- Enable SGML features ................................................. --> + +<!ENTITY % sgml.features "IGNORE"> +<![%sgml.features;[ +<!ENTITY % xml.features "IGNORE"> +]]> +<!ENTITY % xml.features "INCLUDE"> + +<![%sgml.features;[ +<![%xml.features;[ + +<!-- ERROR: Exactly one of xml.features and sgml.features must be turned on! --> +<!ENTITY % dbnotn SYSTEM "http://www.oasis-open.org/docbook/xml/configerror.txt"> +<!ENTITY % dbcent SYSTEM "http://www.oasis-open.org/docbook/xml/configerror.txt"> +<!ENTITY % dbpool SYSTEM "http://www.oasis-open.org/docbook/xml/configerror.txt"> +<!ENTITY % dbhier SYSTEM "http://www.oasis-open.org/docbook/xml/configerror.txt"> +<!ENTITY % dbgenent SYSTEM "http://www.oasis-open.org/docbook/xml/configerror.txt"> + +]]> +]]> + +<![%sgml.features;[ +<!ENTITY % ho "- O"> +<!ENTITY % hh "- -"> +]]> + +<![%xml.features;[ +<!ENTITY % ho ""> +<!ENTITY % hh ""> +]]> + +<!-- ...................................................................... --> +<!-- Notation declarations ................................................ --> + +<!ENTITY % dbnotn.module "INCLUDE"> +<![%dbnotn.module;[ +<!ENTITY % dbnotn PUBLIC +"-//OASIS//ENTITIES DocBook Notations V4.5//EN" +"dbnotnx.mod"> +%dbnotn; +]]> + +<!-- ...................................................................... --> +<!-- ISO character entity sets ............................................ --> + +<!ENTITY % dbcent.module "INCLUDE"> +<![%dbcent.module;[ + +<!ENTITY % dbcent.euro "INCLUDE"> +<![%dbcent.euro;[ +<![%sgml.features;[ +<!ENTITY euro SDATA "[euro ]"><!-- euro sign --> +]]> +<![%xml.features;[ +<!ENTITY euro "€"><!-- euro sign, U+20AC NEW --> +]]> +]]> + +<!ENTITY % dbcent PUBLIC +"-//OASIS//ENTITIES DocBook Character Entities V4.5//EN" +"dbcentx.mod"> +%dbcent; +]]> + +<!-- ...................................................................... --> +<!-- DTD modules .......................................................... --> + +<!-- Information pool .............. --> + +<!ENTITY % dbpool.module "INCLUDE"> +<![ %dbpool.module; [ +<!ENTITY % dbpool PUBLIC +"-//OASIS//ELEMENTS DocBook Information Pool V4.5//EN" +"dbpoolx.mod"> +%dbpool; +]]> + +<!-- Redeclaration placeholder ..... --> + +<!ENTITY % intermod.redecl.module "IGNORE"> +<![%intermod.redecl.module;[ +<!-- Defining rdbmods here makes some buggy XML parsers happy. --> +<!ENTITY % rdbmods ""> +%rdbmods; +<!--end of intermod.redecl.module-->]]> + +<!-- Document hierarchy ............ --> + +<!ENTITY % dbhier.module "INCLUDE"> +<![ %dbhier.module; [ +<!ENTITY % dbhier PUBLIC +"-//OASIS//ELEMENTS DocBook Document Hierarchy V4.5//EN" +"dbhierx.mod"> +%dbhier; +]]> + +<!-- ...................................................................... --> +<!-- Other general entities ............................................... --> + +<!ENTITY % dbgenent.module "INCLUDE"> +<![ %dbgenent.module; [ +<!ENTITY % dbgenent PUBLIC +"-//OASIS//ENTITIES DocBook Additional General Entities V4.5//EN" +"dbgenent.mod"> +%dbgenent; +]]> + +<!-- End of DocBook XML DTD V4.5 .......................................... --> +<!-- ...................................................................... --> Modified: ofbiz/site/dtds/entity-config.xsd URL: http://svn.apache.org/viewvc/ofbiz/site/dtds/entity-config.xsd?rev=883925&r1=883924&r2=883925&view=diff ============================================================================== --- ofbiz/site/dtds/entity-config.xsd (original) +++ ofbiz/site/dtds/entity-config.xsd Tue Nov 24 23:29:47 2009 @@ -425,6 +425,7 @@ </xs:attribute> <xs:attribute type="xs:nonNegativeInteger" name="pool-maxsize" default="50"/> <xs:attribute type="xs:nonNegativeInteger" name="pool-minsize" default="2"/> + <xs:attribute type="xs:nonNegativeInteger" name="time-between-eviction-runs-millis" default="600000"/> <xs:attribute type="xs:nonNegativeInteger" name="pool-sleeptime" default="300000"/> <xs:attribute type="xs:nonNegativeInteger" name="pool-lifetime" default="600000"/> <xs:attribute type="xs:nonNegativeInteger" name="pool-deadlock-maxwait" default="300000"/> Modified: ofbiz/site/dtds/entitymodel.xsd URL: http://svn.apache.org/viewvc/ofbiz/site/dtds/entitymodel.xsd?rev=883925&r1=883924&r2=883925&view=diff ============================================================================== --- ofbiz/site/dtds/entitymodel.xsd (original) +++ ofbiz/site/dtds/entitymodel.xsd Tue Nov 24 23:29:47 2009 @@ -23,6 +23,25 @@ --> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"> <!-- ====================== Root Element ======================= --> + <xs:simpleType name="boolean"> + <xs:restriction base="xs:token"> + <xs:enumeration value="true"/> + <xs:enumeration value="false"/> + </xs:restriction> + </xs:simpleType> + <xs:simpleType name="aggregate-function"> + <xs:restriction base="xs:token"> + <xs:enumeration value="min"/> + <xs:enumeration value="max"/> + <xs:enumeration value="sum"/> + <xs:enumeration value="avg"/> + <xs:enumeration value="count"/> + <xs:enumeration value="count-distinct"/> + <xs:enumeration value="upper"/> + <xs:enumeration value="lower"/> + </xs:restriction> + </xs:simpleType> + <xs:element name="entitymodel"> <xs:complexType> <xs:sequence> @@ -31,6 +50,7 @@ <xs:element minOccurs="0" maxOccurs="unbounded" ref="copyright"/> <xs:element minOccurs="0" maxOccurs="unbounded" ref="author"/> <xs:element minOccurs="0" ref="version"/> + <xs:element minOccurs="0" ref="default-resource-name"/> <xs:choice minOccurs="0" maxOccurs="unbounded"> <xs:element ref="entity"/> <xs:element ref="view-entity"/> @@ -45,6 +65,7 @@ <xs:element name="copyright" type="xs:string"/> <xs:element name="author" type="xs:string"/> <xs:element name="version" type="xs:string"/> + <xs:element name="default-resource-name" type="xs:string"/> <!-- ================== entity ===================== --> <xs:element name="entity"> <xs:complexType> @@ -66,38 +87,10 @@ <xs:attribute name="default-resource-name" type="xs:string"/> <xs:attribute name="dependent-on" type="xs:string"/> <xs:attribute name="sequence-bank-size" type="xs:string"/> - <xs:attribute name="enable-lock" default="false"> - <xs:simpleType> - <xs:restriction base="xs:token"> - <xs:enumeration value="true"/> - <xs:enumeration value="false"/> - </xs:restriction> - </xs:simpleType> - </xs:attribute> - <xs:attribute name="no-auto-stamp" default="false"> - <xs:simpleType> - <xs:restriction base="xs:token"> - <xs:enumeration value="true"/> - <xs:enumeration value="false"/> - </xs:restriction> - </xs:simpleType> - </xs:attribute> - <xs:attribute name="never-cache" default="false"> - <xs:simpleType> - <xs:restriction base="xs:token"> - <xs:enumeration value="true"/> - <xs:enumeration value="false"/> - </xs:restriction> - </xs:simpleType> - </xs:attribute> - <xs:attribute name="auto-clear-cache" default="true"> - <xs:simpleType> - <xs:restriction base="xs:token"> - <xs:enumeration value="true"/> - <xs:enumeration value="false"/> - </xs:restriction> - </xs:simpleType> - </xs:attribute> + <xs:attribute name="enable-lock" default="false" type="boolean"/> + <xs:attribute name="no-auto-stamp" default="false" type="boolean"/> + <xs:attribute name="never-cache" default="false" type="boolean"/> + <xs:attribute name="auto-clear-cache" default="true" type="boolean"/> <xs:attribute name="title" type="xs:string"/> <xs:attribute name="copyright" type="xs:string"/> <xs:attribute name="author" type="xs:string"/> @@ -125,29 +118,16 @@ <xs:attribute name="name" type="xs:string" use="required"/> <xs:attribute name="col-name" type="xs:string"/> <xs:attribute name="type" type="xs:string" use="required"/> - <xs:attribute name="encrypt" default="false"> - <xs:simpleType> - <xs:restriction base="xs:token"> - <xs:enumeration value="true"/> - <xs:enumeration value="false"/> - </xs:restriction> - </xs:simpleType> - </xs:attribute> - <xs:attribute name="enable-audit-log" default="false"> + <xs:attribute name="encrypt" default="false" type="boolean"/> + <xs:attribute name="enable-audit-log" default="false" type="boolean"> <xs:annotation> <xs:documentation> If this is set to true then whenever the value for this field on a record changes the Entity Engine will record the change in the EntityAuditLog entity. Defaults to false. </xs:documentation> </xs:annotation> - <xs:simpleType> - <xs:restriction base="xs:token"> - <xs:enumeration value="true"/> - <xs:enumeration value="false"/> - </xs:restriction> - </xs:simpleType> </xs:attribute> - <xs:attribute name="not-null" default="false"> + <xs:attribute name="not-null" default="false" type="boolean"> <xs:annotation> <xs:documentation> This makes the field NOT NULL on the database (like primary key fields). @@ -157,12 +137,6 @@ Defaults to false. </xs:documentation> </xs:annotation> - <xs:simpleType> - <xs:restriction base="xs:token"> - <xs:enumeration value="true"/> - <xs:enumeration value="false"/> - </xs:restriction> - </xs:simpleType> </xs:attribute> </xs:attributeGroup> <xs:element name="validate"> @@ -219,14 +193,7 @@ </xs:element> <xs:attributeGroup name="attlist.index"> <xs:attribute name="name" type="xs:string" use="required"/> - <xs:attribute name="unique" default="false"> - <xs:simpleType> - <xs:restriction base="xs:token"> - <xs:enumeration value="true"/> - <xs:enumeration value="false"/> - </xs:restriction> - </xs:simpleType> - </xs:attribute> + <xs:attribute name="unique" default="false" type="boolean"/> </xs:attributeGroup> <xs:element name="index-field"> <xs:complexType> @@ -258,22 +225,8 @@ <xs:attribute name="package-name" type="xs:string" use="required"/> <xs:attribute name="dependent-on" type="xs:string"/> <xs:attribute name="default-resource-name" type="xs:string"/> - <xs:attribute name="never-cache" default="false"> - <xs:simpleType> - <xs:restriction base="xs:token"> - <xs:enumeration value="true"/> - <xs:enumeration value="false"/> - </xs:restriction> - </xs:simpleType> - </xs:attribute> - <xs:attribute name="auto-clear-cache" default="true"> - <xs:simpleType> - <xs:restriction base="xs:token"> - <xs:enumeration value="true"/> - <xs:enumeration value="false"/> - </xs:restriction> - </xs:simpleType> - </xs:attribute> + <xs:attribute name="never-cache" default="false" type="boolean"/> + <xs:attribute name="auto-clear-cache" default="true" type="boolean"/> <xs:attribute name="title" type="xs:string"/> <xs:attribute name="copyright" type="xs:string"/> <xs:attribute name="author" type="xs:string"/> @@ -303,28 +256,8 @@ <xs:attributeGroup name="attlist.alias-all"> <xs:attribute name="entity-alias" type="xs:string" use="required"/> <xs:attribute name="prefix" type="xs:string"/> - <xs:attribute name="group-by" default="false"> - <xs:simpleType> - <xs:restriction base="xs:token"> - <xs:enumeration value="true"/> - <xs:enumeration value="false"/> - </xs:restriction> - </xs:simpleType> - </xs:attribute> - <xs:attribute name="function"> - <xs:simpleType> - <xs:restriction base="xs:token"> - <xs:enumeration value="min"/> - <xs:enumeration value="max"/> - <xs:enumeration value="sum"/> - <xs:enumeration value="avg"/> - <xs:enumeration value="count"/> - <xs:enumeration value="count-distinct"/> - <xs:enumeration value="upper"/> - <xs:enumeration value="lower"/> - </xs:restriction> - </xs:simpleType> - </xs:attribute> + <xs:attribute name="group-by" default="false" type="boolean"/> + <xs:attribute name="function" type="aggregate-function"/> </xs:attributeGroup> <xs:element name="exclude"> <xs:complexType> @@ -349,28 +282,8 @@ <xs:attribute name="field" type="xs:string"/> <xs:attribute name="col-alias" type="xs:string"/> <xs:attribute name="prim-key" type="xs:string"/> - <xs:attribute name="group-by" default="false"> - <xs:simpleType> - <xs:restriction base="xs:token"> - <xs:enumeration value="true"/> - <xs:enumeration value="false"/> - </xs:restriction> - </xs:simpleType> - </xs:attribute> - <xs:attribute name="function"> - <xs:simpleType> - <xs:restriction base="xs:token"> - <xs:enumeration value="min"/> - <xs:enumeration value="max"/> - <xs:enumeration value="sum"/> - <xs:enumeration value="avg"/> - <xs:enumeration value="count"/> - <xs:enumeration value="count-distinct"/> - <xs:enumeration value="upper"/> - <xs:enumeration value="lower"/> - </xs:restriction> - </xs:simpleType> - </xs:attribute> + <xs:attribute name="group-by" default="false" type="boolean"/> + <xs:attribute name="function" type="aggregate-function"/> </xs:attributeGroup> <xs:element name="complex-alias"> <xs:annotation> @@ -406,20 +319,7 @@ <xs:attribute name="entity-alias" type="xs:string" use="required"/> <xs:attribute name="field" type="xs:string" use="required"/> <xs:attribute name="default-value" type="xs:string"/> - <xs:attribute name="function"> - <xs:simpleType> - <xs:restriction base="xs:token"> - <xs:enumeration value="min"/> - <xs:enumeration value="max"/> - <xs:enumeration value="sum"/> - <xs:enumeration value="avg"/> - <xs:enumeration value="count"/> - <xs:enumeration value="count-distinct"/> - <xs:enumeration value="upper"/> - <xs:enumeration value="lower"/> - </xs:restriction> - </xs:simpleType> - </xs:attribute> + <xs:attribute name="function" type="aggregate-function"/> </xs:attributeGroup> <xs:element name="view-link"> <xs:complexType> @@ -434,14 +334,7 @@ <xs:attributeGroup name="attlist.view-link"> <xs:attribute name="entity-alias" type="xs:string" use="required"/> <xs:attribute name="rel-entity-alias" type="xs:string" use="required"/> - <xs:attribute name="rel-optional" default="false"> - <xs:simpleType> - <xs:restriction base="xs:token"> - <xs:enumeration value="true"/> - <xs:enumeration value="false"/> - </xs:restriction> - </xs:simpleType> - </xs:attribute> + <xs:attribute name="rel-optional" default="false" type="boolean"/> </xs:attributeGroup> <xs:element name="entity-condition"> <xs:complexType> @@ -467,14 +360,7 @@ </xs:simpleType> </xs:attribute> <!-- TODO: variation on filter-by-date to easily compare from/thru date to date in another field, ie: alias.from_date <= rel_alias.date_field and (alias.thru_date > rel_alias.date_field or alias.thru_date is null) --> - <xs:attribute name="distinct" default="false"> - <xs:simpleType> - <xs:restriction base="xs:token"> - <xs:enumeration value="true"/> - <xs:enumeration value="false"/> - </xs:restriction> - </xs:simpleType> - </xs:attribute> + <xs:attribute name="distinct" default="false" type="boolean"/> </xs:attributeGroup> <xs:element name="condition-expr"> <xs:complexType> @@ -503,14 +389,7 @@ <xs:attribute name="rel-entity-alias" type="xs:string"/> <xs:attribute name="rel-field-name" type="xs:string"/> <xs:attribute name="value" type="xs:string"/> - <xs:attribute name="ignore-case" default="false"> - <xs:simpleType> - <xs:restriction base="xs:token"> - <xs:enumeration value="true"/> - <xs:enumeration value="false"/> - </xs:restriction> - </xs:simpleType> - </xs:attribute> + <xs:attribute name="ignore-case" default="false" type="boolean"/> </xs:attributeGroup> <xs:element name="condition-list"> <xs:complexType> Added: ofbiz/site/dtds/l10n.dtd URL: http://svn.apache.org/viewvc/ofbiz/site/dtds/l10n.dtd?rev=883925&view=auto ============================================================================== --- ofbiz/site/dtds/l10n.dtd (added) +++ ofbiz/site/dtds/l10n.dtd Tue Nov 24 23:29:47 2009 @@ -0,0 +1,63 @@ +<!ENTITY % prefix "l"> + +<!ENTITY % xmlns "xmlns:%prefix;"> +<!ENTITY % uri "'http://docbook.sourceforge.net/xmlns/l10n/1.0'"> + +<!ENTITY % i18n "%prefix;:i18n"> +<!ENTITY % l10n "%prefix;:l10n"> +<!ENTITY % gentext "%prefix;:gentext"> +<!ENTITY % dingbat "%prefix;:dingbat"> +<!ENTITY % context "%prefix;:context"> +<!ENTITY % template "%prefix;:template"> +<!ENTITY % letters "%prefix;:letters"> +<!ENTITY % l "%prefix;:l"> +<!ENTITY % lang "lang NMTOKEN #IMPLIED"> + +<!ELEMENT %i18n; ((%l10n;)+)> +<!ATTLIST %i18n; + %xmlns; CDATA #FIXED %uri; +> + +<!ELEMENT %l10n; (%gentext;|%dingbat;|%context;|%letters;)*> +<!ATTLIST %l10n; + %xmlns; CDATA #FIXED %uri; + language CDATA #REQUIRED + english-language-name CDATA #IMPLIED +> + +<!ELEMENT %gentext; EMPTY> +<!ATTLIST %gentext; + %lang; + key CDATA #REQUIRED + text CDATA #REQUIRED +> + +<!ELEMENT %dingbat; EMPTY> +<!ATTLIST %dingbat; + %lang; + key CDATA #REQUIRED + text CDATA #REQUIRED +> + +<!ELEMENT %context; ((%template;)+)> +<!ATTLIST %context; + name CDATA #REQUIRED +> + +<!ELEMENT %template; EMPTY> +<!ATTLIST %template; + %lang; + name CDATA #REQUIRED + text CDATA #REQUIRED + style CDATA #IMPLIED +> + +<!ELEMENT %letters; ((%l;)+)> +<!ATTLIST %letters; + %lang; +> + +<!ELEMENT %l; (#PCDATA)> +<!ATTLIST %l; + i CDATA #REQUIRED +> Modified: ofbiz/site/dtds/ofbiz-component.xsd URL: http://svn.apache.org/viewvc/ofbiz/site/dtds/ofbiz-component.xsd?rev=883925&r1=883924&r2=883925&view=diff ============================================================================== --- ofbiz/site/dtds/ofbiz-component.xsd (original) +++ ofbiz/site/dtds/ofbiz-component.xsd Tue Nov 24 23:29:47 2009 @@ -191,6 +191,14 @@ <xs:attribute type="xs:string" name="base-permission"> <xs:annotation><xs:documentation>A user must have ALL of the permissions in the list to access the application</xs:documentation></xs:annotation> </xs:attribute> + <xs:attribute name="privileged" default="false"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="true"/> + <xs:enumeration value="false"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> <xs:attribute name="app-bar-display" default="true"> <xs:simpleType> <xs:restriction base="xs:token"> Added: ofbiz/site/dtds/targetdatabase.dtd URL: http://svn.apache.org/viewvc/ofbiz/site/dtds/targetdatabase.dtd?rev=883925&view=auto ============================================================================== --- ofbiz/site/dtds/targetdatabase.dtd (added) +++ ofbiz/site/dtds/targetdatabase.dtd Tue Nov 24 23:29:47 2009 @@ -0,0 +1,49 @@ +<!-- targetdatabase.dtd --> +<!-- A DTD for managing cross reference target information --> + +<!ELEMENT targetset (targetsetinfo?, sitemap*, document*) > + +<!ELEMENT targetsetinfo ANY > + +<!ELEMENT sitemap (dir) > + +<!ELEMENT dir ((dir|document)*) > +<!ATTLIST dir + name CDATA #REQUIRED +> + +<!ELEMENT document (div*) > +<!ATTLIST document + targetdoc CDATA #REQUIRED + uri CDATA #IMPLIED + baseuri CDATA #IMPLIED + href CDATA #IMPLIED + dir CDATA #IMPLIED +> + +<!ELEMENT div (ttl?, objttl?, xreftext?, (div|obj)*)> +<!ATTLIST div + targetptr CDATA #IMPLIED + element CDATA #IMPLIED + name CDATA #IMPLIED + number CDATA #IMPLIED + href CDATA #IMPLIED + lang CDATA #IMPLIED + page CDATA #IMPLIED +> + + +<!ELEMENT ttl ANY > +<!ELEMENT objttl ANY > +<!ELEMENT xreftext ANY > + +<!ELEMENT obj (ttl?, objttl?, xreftext?)> +<!ATTLIST obj + targetptr CDATA #IMPLIED + element CDATA #IMPLIED + name CDATA #IMPLIED + number CDATA #IMPLIED + href CDATA #IMPLIED + lang CDATA #IMPLIED + page CDATA #IMPLIED +> Modified: ofbiz/site/dtds/widget-form.xsd URL: http://svn.apache.org/viewvc/ofbiz/site/dtds/widget-form.xsd?rev=883925&r1=883924&r2=883925&view=diff ============================================================================== --- ofbiz/site/dtds/widget-form.xsd (original) +++ ofbiz/site/dtds/widget-form.xsd Tue Nov 24 23:29:47 2009 @@ -557,6 +557,10 @@ </xs:simpleType> </xs:attribute> </xs:attributeGroup> + <xs:element name="container" substitutionGroup="AllFields"> + <xs:complexType> + </xs:complexType> + </xs:element> <xs:element name="date-find" substitutionGroup="AllFields"> <xs:complexType> <xs:attributeGroup ref="attlist.date-find"/> @@ -832,6 +836,16 @@ </xs:attribute> <xs:attribute type="xs:string" name="target-window"/> <xs:attribute type="xs:string" name="image-location"/> + <xs:attribute name="request-confirmation" default="false"> + <xs:annotation><xs:documentation>If true then the user is presented with a dialog box, if confirmation-message is empty, use default</xs:documentation></xs:annotation> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="true"/> + <xs:enumeration value="false"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attribute name="confirmation-message" type="xs:string"><xs:annotation><xs:documentation>The message displayed in confirmation box</xs:documentation></xs:annotation></xs:attribute> </xs:attributeGroup> <xs:element name="parameter"> <xs:complexType> @@ -982,6 +996,16 @@ <xs:annotation><xs:documentation>Deprecated. Use the on-event-update-area element instead.</xs:documentation></xs:annotation> </xs:attribute> + <xs:attribute name="request-confirmation" default="false"> + <xs:annotation><xs:documentation>If true then the user is presented with a dialog box, if confirmation-message is empty, use default</xs:documentation></xs:annotation> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="true"/> + <xs:enumeration value="false"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attribute name="confirmation-message" type="xs:string"><xs:annotation><xs:documentation>The message displayed in confirmation box</xs:documentation></xs:annotation></xs:attribute> </xs:attributeGroup> <xs:element name="text" substitutionGroup="AllFields"> <xs:complexType> @@ -1063,7 +1087,7 @@ </xs:restriction> </xs:simpleType> </xs:attribute> - <xs:attribute name="default-option" default="like"> + <xs:attribute name="default-option"> <xs:simpleType> <xs:restriction base="xs:string"> <xs:enumeration value="equals"/> Modified: ofbiz/site/dtds/widget-tree.xsd URL: http://svn.apache.org/viewvc/ofbiz/site/dtds/widget-tree.xsd?rev=883925&r1=883924&r2=883925&view=diff ============================================================================== --- ofbiz/site/dtds/widget-tree.xsd (original) +++ ofbiz/site/dtds/widget-tree.xsd Tue Nov 24 23:29:47 2009 @@ -143,6 +143,7 @@ <xs:element name="link"> <xs:complexType> <xs:sequence> + <xs:element minOccurs="0" maxOccurs="unbounded" ref="parameter"/> <xs:element minOccurs="0" ref="image"/> </xs:sequence> <xs:attributeGroup ref="attlist.link"/> @@ -192,6 +193,16 @@ </xs:simpleType> </xs:attribute> </xs:attributeGroup> + <xs:element name="parameter"> + <xs:complexType> + <xs:attributeGroup ref="attlist.parameter"/> + </xs:complexType> + </xs:element> + <xs:attributeGroup name="attlist.parameter"> + <xs:attribute type="xs:string" name="param-name" use="required"/> + <xs:attribute type="xs:string" name="from-field"/> + <xs:attribute type="xs:string" name="value"/> + </xs:attributeGroup> <xs:element name="image"> <xs:complexType mixed="true"> <xs:attributeGroup ref="attlist.image"/> Added: ofbiz/site/dtds/xlink.xsd URL: http://svn.apache.org/viewvc/ofbiz/site/dtds/xlink.xsd?rev=883925&view=auto ============================================================================== --- ofbiz/site/dtds/xlink.xsd (added) +++ ofbiz/site/dtds/xlink.xsd Tue Nov 24 23:29:47 2009 @@ -0,0 +1,32 @@ +<?xml version="1.0" encoding="UTF-8"?> +<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="http://www.w3.org/1999/xlink" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:docbook="http://docbook.org/ns/docbook"> + <xs:attribute name="href"/> + <xs:attribute name="type"/> + <xs:attribute name="role"/> + <xs:attribute name="arcrole"/> + <xs:attribute name="title"/> + <xs:attribute name="show"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="new"/> + <xs:enumeration value="replace"/> + <xs:enumeration value="embed"/> + <xs:enumeration value="other"/> + <xs:enumeration value="none"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attribute name="actuate"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="onLoad"/> + <xs:enumeration value="onRequest"/> + <xs:enumeration value="other"/> + <xs:enumeration value="none"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + <xs:attribute name="label" type="xs:NMTOKEN"/> + <xs:attribute name="from" type="xs:NMTOKEN"/> + <xs:attribute name="to" type="xs:NMTOKEN"/> +</xs:schema> Propchange: ofbiz/site/dtds/xlink.xsd ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/site/dtds/xlink.xsd ------------------------------------------------------------------------------ svn:keywords = "Date Rev Author URL Id" Propchange: ofbiz/site/dtds/xlink.xsd ------------------------------------------------------------------------------ svn:mime-type = text/xsd Added: ofbiz/site/dtds/xml.xsd URL: http://svn.apache.org/viewvc/ofbiz/site/dtds/xml.xsd?rev=883925&view=auto ============================================================================== --- ofbiz/site/dtds/xml.xsd (added) +++ ofbiz/site/dtds/xml.xsd Tue Nov 24 23:29:47 2009 @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="http://www.w3.org/XML/1998/namespace" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:docbook="http://docbook.org/ns/docbook"> + <xs:attribute name="id" type="xs:ID"/> + <xs:attribute name="lang"/> + <xs:attribute name="base"/> + <xs:attribute name="space"> + <xs:simpleType> + <xs:restriction base="xs:token"> + <xs:enumeration value="preserve"/> + </xs:restriction> + </xs:simpleType> + </xs:attribute> +</xs:schema> Propchange: ofbiz/site/dtds/xml.xsd ------------------------------------------------------------------------------ svn:eol-style = native Propchange: ofbiz/site/dtds/xml.xsd ------------------------------------------------------------------------------ svn:keywords = "Date Rev Author URL Id" Propchange: ofbiz/site/dtds/xml.xsd ------------------------------------------------------------------------------ svn:mime-type = text/xsd |
Free forum by Nabble | Edit this page |