first commit

This commit is contained in:
CHIEFSOFT\ameye
2024-06-08 17:09:23 -04:00
commit df3a033196
17887 changed files with 8637778 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
<!--
* dtd/bic21qualifiers.dtd
*
* Copyright (c) 2014-2021 Simon Fraser University
* Copyright (c) 2000-2021 John Willinsky
* Distributed under the GNU GPL v3. For full terms see the file docs/COPYING.
*
* DTD for BIC 2.1 Subject Qualifier lists.
*
-->
<!ELEMENT qualifiers (qualifier+)>
<!ELEMENT qualifier EMPTY>
<!ATTLIST qualifier
code CDATA #REQUIRED
text CDATA #REQUIRED>
+15
View File
@@ -0,0 +1,15 @@
<!--
* dtd/bic21subjects.dtd
*
* Copyright (c) 2014-2021 Simon Fraser University
* Copyright (c) 2000-2021 John Willinsky
* Distributed under the GNU GPL v3. For full terms see the file docs/COPYING.
*
* DTD for BIC 2.1 Subject lists.
*
-->
<!ELEMENT subjects (subject+)>
<!ELEMENT subject EMPTY>
<!ATTLIST subject
code CDATA #REQUIRED
text CDATA #REQUIRED>
+19
View File
@@ -0,0 +1,19 @@
<!--
* dtd/emails.dtd
*
* Copyright (c) 2014-2021 Simon Fraser University
* Copyright (c) 2000-2021 John Willinsky
* Distributed under the GNU GPL v3. For full terms see the file docs/COPYING.
*
* DTD for emails.
*
-->
<!ELEMENT emails (email+)>
<!ELEMENT email EMPTY>
<!ATTLIST email
key CDATA #REQUIRED
name CDATA #REQUIRED
subject CDATA #REQUIRED
body CDATA #REQUIRED
alternateTo CDATA #IMPLIED>
+73
View File
@@ -0,0 +1,73 @@
<!--
* dtd/filterConfig.dtd
*
* Copyright (c) 2014-2021 Simon Fraser University
* Copyright (c) 2000-2021 John Willinsky
* Distributed under the GNU GPL v3. For full terms see the file docs/COPYING.
*
* DTD for filter definitions.
-->
<!--
* filterConfig - container for filter configuration
-->
<!ELEMENT filterConfig (filterGroups?, filters?)>
<!--
* filterGroups - a collection of filterGroup elements (see there)
-->
<!ELEMENT filterGroups (filterGroup+)>
<!--
* filterGroup - a group of transformations with a common semantic and common input/output types.
*
* symbolic: a unique symbolic name for the group, see FilterGroup for more information on the nomenclature.
* displayName: a translation key that points to a short label for the filter.
* description: a translation key that points to a description of the filter.
* inputType: a codified input type (see TypeDescription and its sub-classes for further information)
* outputType: a codified output type (see TypeDescription and its sub-classes for further information)
-->
<!ELEMENT filterGroup EMPTY>
<!ATTLIST filterGroup
symbolic CDATA #REQUIRED
displayName CDATA #REQUIRED
description CDATA #REQUIRED
inputType CDATA #REQUIRED
outputType CDATA #REQUIRED>
<!--
* filters - a collection of filter elements (see there)
-->
<!ELEMENT filters (filter+)>
<!--
* filter - a transformation to be registered with the filter registry.
* NB: Only composite filters can have nested filters (see CompositeFilter).
*
* class: the filter class
* inGroup: a symbolic group name (see filterGroup above)
* isTemplate: whether this is a template for other transformations or a transformation itself.
-->
<!ELEMENT filter (setting*, filter*)*>
<!ATTLIST filter
class CDATA #REQUIRED
inGroup CDATA #REQUIRED
isTemplate (0|1) #REQUIRED>
<!--
* setting - a filter parameter (see FilterSetting class for details).
* similar to pluginSettings.dtd, can be extended to arrays/objects
* in the same way if required
*
* type: the type of the setting (string, integer, boolean, object/array or constant),
* NB: const is an additional type not present in pluginSettings.dtd
* which can be used to refer to a defined constant.
-->
<!ELEMENT setting (name, value)>
<!ATTLIST setting type (int|string|bool|object|const) #REQUIRED>
<!ELEMENT name (#PCDATA)>
<!ELEMENT value (#PCDATA | array)*>
<!ELEMENT element (#PCDATA | array)*>
<!ATTLIST element key CDATA #IMPLIED>
<!ELEMENT array (element+)>
+19
View File
@@ -0,0 +1,19 @@
<!--
* dtd/genres.dtd
*
* Copyright (c) 2014-2021 Simon Fraser University
* Copyright (c) 2000-2021 John Willinsky
* Distributed under the GNU GPL v3. For full terms see the file docs/COPYING.
*
* DTD for default genre settings.
*
-->
<!ELEMENT genres (genre+)>
<!ELEMENT genre EMPTY>
<!ATTLIST genre
key CDATA #REQUIRED
category CDATA #REQUIRED
dependent CDATA #REQUIRED
supplementary CDATA #REQUIRED
required CDATA #IMPLIED
localeKey CDATA #REQUIRED>
+60
View File
@@ -0,0 +1,60 @@
<!--
* dtd/install.dtd
*
* Copyright (c) 2014-2021 Simon Fraser University
* Copyright (c) 2003-2021 John Willinsky
* Distributed under the GNU GPL v3. For full terms see the file docs/COPYING.
*
* DTD for installer descriptor files.
*
* Installer descriptor files list the set of XML database schema and data
* files to parse and execute during installation.
*
* All file paths are relative to the location of this file.
*
* Note that for locale-specific data files, the string "{$locale}" appearing
* in a file path will be replaced with the default locale selected at
* installation time. Similarly, "{$installedLocale}" will be replaced with
* each locale to be installed (i.e., that file will be installed for each
* selected locale).
*
* Example:
*
* <install version="2.0.0.0">
* <schema file="ojs_schema.xml"/>
* <data file="data/common_data.xml"/>
* <data file="data/locale/{$locale}/locale_data.xml"/>
* </install>
*
-->
<!ELEMENT install (schema?, data?, migration?, code?, note?, upgrade?)*>
<!ATTLIST install
version CDATA #IMPLIED>
<!ELEMENT upgrade (schema?, data?, migration?, code?, note?, upgrade?)+>
<!ATTLIST upgrade
minversion CDATA #IMPLIED
maxversion CDATA #IMPLIED>
<!ELEMENT schema EMPTY>
<!ATTLIST schema
file CDATA #IMPLIED>
<!ELEMENT data EMPTY>
<!ATTLIST data
file CDATA #REQUIRED
condition CDATA #IMPLIED>
<!ELEMENT migration EMPTY>
<!ATTLIST migration
class CDATA #REQUIRED
fallback CDATA #IMPLIED>
<!ELEMENT code EMPTY>
<!ATTLIST code
message CDATA #IMPLIED
file CDATA #IMPLIED
class CDATA #IMPLIED
function CDATA #REQUIRED
locales CDATA #IMPLIED
key CDATA #IMPLIED
condition CDATA #IMPLIED>
<!ELEMENT note EMPTY>
<!ATTLIST note
file CDATA #REQUIRED>
+23
View File
@@ -0,0 +1,23 @@
<!--
* dtd/navigationMenus.dtd
*
* Copyright (c) 2014-2021 Simon Fraser University
* Copyright (c) 2000-2021 John Willinsky
* Distributed under the GNU GPL v3. For full terms see the file docs/COPYING.
*
* DTD for default navigation menus.
*
-->
<!ELEMENT navigationMenuItems (navigationMenuItem+)>
<!ELEMENT navigationMenuItem (navigationMenuItem*)>
<!ATTLIST navigationMenuItem
title CDATA #REQUIRED
type CDATA #REQUIRED
site CDATA #IMPLIED>
<!ELEMENT navigationMenus (navigationMenu*, navigationMenuItem*)>
<!ELEMENT navigationMenu (navigationMenuItem*)>
<!ATTLIST navigationMenu
title CDATA #REQUIRED
area CDATA #REQUIRED
site CDATA #IMPLIED>
+20
View File
@@ -0,0 +1,20 @@
<!--
* dtd/pluginSettings.dtd
*
* Copyright (c) 2014-2021 Simon Fraser University
* Copyright (c) 2000-2021 John Willinsky
* Distributed under the GNU GPL v3. For full terms see the file docs/COPYING.
*
* DTD for installing plugin settings.
*
-->
<!ELEMENT plugin_settings (setting+)>
<!ELEMENT setting (name, value)>
<!ATTLIST setting type (int|string|object|bool) #REQUIRED>
<!ELEMENT name (#PCDATA)>
<!ELEMENT value (#PCDATA | array)*>
<!ELEMENT element (#PCDATA | array)*>
<!ATTLIST element key CDATA #IMPLIED>
<!ELEMENT array (element+)>
+20
View File
@@ -0,0 +1,20 @@
<!--
* dtd/pluginVersion.dtd
*
* Copyright (c) 2014-2021 Simon Fraser University
* Copyright (c) 2000-2021 John Willinsky
* Distributed under the GNU GPL v3. For full terms see the file docs/COPYING.
*
* DTD for plugin version data.
*
-->
<!ELEMENT version (application, type, release, tag?, date, lazy-load?, sitewide?, class?)>
<!ELEMENT application (#PCDATA)>
<!ELEMENT type (#PCDATA)>
<!ELEMENT release (#PCDATA)>
<!ELEMENT tag (#PCDATA)>
<!ELEMENT date (#PCDATA)>
<!ELEMENT lazy-load (#PCDATA)>
<!ELEMENT sitewide (#PCDATA)>
<!ELEMENT class (#PCDATA)>
+50
View File
@@ -0,0 +1,50 @@
<!--
* dtd/scheduledTasks.dtd
*
* Copyright (c) 2014-2021 Simon Fraser University
* Copyright (c) 2000-2021 John Willinsky
* Distributed under the GNU GPL v3. For full terms see the file docs/COPYING.
*
* DTD for scheduled tasks.
-->
<!--
* task - a single task to execute
* class: the ScheduledTask class to instantiate and call execute() on
* descr: description of the task
* frequency: how often the task should be executed
* arg: 0 or more arguments to pass in array to the class constructor
-->
<!ELEMENT scheduled_tasks (task*)>
<!ELEMENT task (descr?,frequency?,arg*)>
<!ATTLIST task
class CDATA #REQUIRED>
<!ELEMENT descr (#PCDATA)>
<!ELEMENT frequency EMPTY>
<!--
* The frequency settings take similar values as used in
* crontab entries
* E.g., "1", "2-3", "2-3,5,6", "*/2", "1-6/3", "*", etc.
* ("*" is assumed for any values that are omitted)
*
* The primary difference with crontab entries is that the task
* may not be executed at the exact specified time. E.g., if a
* task is set to execute at minute 0 of every hour, it will be
* executed if it has been more than one hour since the task
* was last run, regardless of the minute at the time the
* script is actually executed.
*
* minute: 0-59
* hour: 0-23
* day: 1-31
* month: 1-12
* dayofweek: 0-6 (Sunday-Saturday)
-->
<!ATTLIST frequency
second CDATA #IMPLIED
minute CDATA #IMPLIED
hour CDATA #IMPLIED
day CDATA #IMPLIED
month CDATA #IMPLIED
dayofweek CDATA #IMPLIED>
<!ELEMENT arg (#PCDATA)>
+20
View File
@@ -0,0 +1,20 @@
<!--
* dtd/userGroups.dtd
*
* Copyright (c) 2014-2021 Simon Fraser University
* Copyright (c) 2000-2021 John Willinsky
* Distributed under the GNU GPL v3. For full terms see the file docs/COPYING.
*
* DTD for default user group settings.
*
-->
<!ELEMENT groups (group+)>
<!ELEMENT group EMPTY>
<!ATTLIST group
roleId CDATA #REQUIRED
stages CDATA #IMPLIED
name CDATA #REQUIRED
plural CDATA #REQUIRED
abbrev CDATA #REQUIRED
permitSelfRegistration CDATA #IMPLIED
permitMetadataEdit CDATA #IMPLIED>
+22
View File
@@ -0,0 +1,22 @@
<!--
* dtd/version.dtd
*
* Copyright (c) 2014-2021 Simon Fraser University
* Copyright (c) 2000-2021 John Willinsky
* Distributed under the GNU GPL v3. For full terms see the file docs/COPYING.
*
* DTD describing PKP application version information.
*
-->
<!ELEMENT version (application, type, release, tag, date, info, package, patch*)>
<!ELEMENT application (#PCDATA)>
<!ELEMENT type (#PCDATA)>
<!ELEMENT release (#PCDATA)>
<!ELEMENT tag (#PCDATA)>
<!ELEMENT date (#PCDATA)>
<!ELEMENT info (#PCDATA)>
<!ELEMENT package (#PCDATA)>
<!ELEMENT patch (#PCDATA)>
<!ATTLIST patch
from CDATA #REQUIRED>
+44
View File
@@ -0,0 +1,44 @@
<!--
* dtd/xmlData.dtd
*
* Copyright (c) 2014-2021 Simon Fraser University
* Copyright (c) 2014-2021 John Willinsky
* Distributed under the GNU GPL v3. For full terms see the file docs/COPYING.
*
* DTD describing database data and/or operations.
-->
<!ELEMENT data (table?, sql?)*>
<!-- Table data -->
<!ELEMENT table (row*)+>
<!ATTLIST table
name CDATA #REQUIRED>
<!ELEMENT row (field+)>
<!ELEMENT field (#PCDATA)>
<!ATTLIST field
name CDATA #REQUIRED
null (0|1) #IMPLIED>
<!-- Raw SQL -->
<!ELEMENT sql (query|drop|dropindex|rename)*>
<!ELEMENT query (#PCDATA)>
<!-- The "driver" attribute can specify several drivers using comma separators. -->
<!ATTLIST query
driver CDATA #IMPLIED>
<!-- Schema operations -->
<!ELEMENT drop EMPTY>
<!ATTLIST drop
table CDATA #REQUIRED
column CDATA #IMPLIED>
<!ELEMENT dropindex EMPTY>
<!ATTLIST dropindex
table CDATA #REQUIRED
index CDATA #REQUIRED
ifexists CDATA #IMPLIED>
<!ELEMENT rename EMPTY>
<!ATTLIST rename
table CDATA #REQUIRED
column CDATA #IMPLIED
to CDATA #REQUIRED>
+77
View File
@@ -0,0 +1,77 @@
<!--
* dtd/xmlschema.dtd
*
* Copyright (c) 2003 ars Cognita Inc., all rights reserved
* Released under both BSD license and Lesser GPL library license
* Whenever there is any discrepancy between the two licenses,
* the BSD license will take precedence.
*
* Database schema DTD adopted from ADOdb.
* See the adodb-xmlschema documentation distributed with ADOdb for more information.
-->
<!ELEMENT schema (table*, sql*)>
<!ATTLIST schema
version CDATA #REQUIRED>
<!ELEMENT table ((field+|DROP), CONSTRAINT*, descr?, index*)>
<!ATTLIST table
name CDATA #REQUIRED
platform CDATA #IMPLIED
version CDATA #IMPLIED>
<!ELEMENT field ((NOTNULL|KEY)?, (AUTO|AUTOINCREMENT)?,
(DEFAULT|DEFDATE|DEFTIMESTAMP)?, NOQUOTE?, CONSTRAINT*, descr?)>
<!--
* field type:
* C - varchar
* C2 - Multibyte varchar
* X - CLOB (character large object) or largest varchar size if CLOB is not supported
* XL - For Oracle, returns CLOB, otherwise the largest varchar size.
* X2 - Multibyte CLOB
* B - BLOB (binary large object)
* D - Date (some databases do not support this, and we return a datetime type)
* T - Datetime or Timestamp
* L - Integer field suitable for storing booleans (0 or 1)
* I - Integer (mapped to I4)
* I1 - 1-byte integer
* I2 - 2-byte integer
* I4 - 4-byte integer
* I8 - 8-byte integer
* F - Floating point number
* N - Numeric or decimal number
-->
<!ATTLIST field
name CDATA #REQUIRED
type (C|C2|X|XL|X2|B|D|T|L|I|I1|I2|I4|I8|F|N) #REQUIRED
size CDATA #IMPLIED>
<!ELEMENT NOTNULL EMPTY>
<!ELEMENT KEY EMPTY>
<!ELEMENT AUTO EMPTY>
<!ELEMENT AUTOINCREMENT EMPTY>
<!ELEMENT DEFAULT EMPTY>
<!ATTLIST DEFAULT
VALUE CDATA #REQUIRED>
<!ELEMENT DEFDATE EMPTY>
<!ELEMENT DEFTIMESTAMP EMPTY>
<!ELEMENT NOQUOTE EMPTY>
<!ELEMENT CONSTRAINT (#PCDATA)>
<!ELEMENT descr (#PCDATA)>
<!ELEMENT index ((col+|DROP), CLUSTERED?, BITMAP?, UNIQUE?, FULLTEXT?, HASH?, descr?)>
<!ATTLIST index
name CDATA #REQUIRED>
<!ELEMENT col (#PCDATA)>
<!ELEMENT DROP EMPTY>
<!ELEMENT CLUSTERED EMPTY>
<!ELEMENT BITMAP EMPTY>
<!ELEMENT UNIQUE EMPTY>
<!ELEMENT FULLTEXT EMPTY>
<!ELEMENT HASH EMPTY>
<!ELEMENT sql (query+, descr?)>
<!ATTLIST sql
name CDATA #IMPLIED
platform CDATA #IMPLIED
key CDATA #IMPLIED
prefixmethod (AUTO|MANUAL|NONE) #IMPLIED>
<!ELEMENT query (#PCDATA)>
<!ATTLIST query
platform CDATA #IMPLIED
version CDATA #IMPLIED>