first commit
This commit is contained in:
@@ -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>
|
||||
Reference in New Issue
Block a user