Add IzPack

This commit is contained in:
Bane Stojkovic
2022-11-20 21:51:43 +01:00
parent 03ab0f1d95
commit be91987759
207 changed files with 9060 additions and 1217 deletions
@@ -0,0 +1,217 @@
<?xml version="1.0"?>
<!--
~ IzPack - Copyright 2001-2012 Julien Ponge, All Rights Reserved.
~
~ http://izpack.org/
~ http://izpack.codehaus.org/
~
~ Copyright 2012 Tim Anderson
-
~ 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.
-->
<xs:schema attributeFormDefault="unqualified"
elementFormDefault="unqualified"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://izpack.org/schema/antactions"
xmlns="http://izpack.org/schema/antactions">
<xs:element name="antactions">
<xs:annotation>
<xs:documentation>The root element</xs:documentation>
<xs:documentation>Attribute order determine at what point of installation the antcalls
defined by ELEMENT target should be performed.
</xs:documentation>
<xs:documentation>Attribute uninstall_order determine at what point of uninstallation
the antcalls defined by ELEMENT uninstall_target should be performed.
</xs:documentation>
<xs:documentation>ID of the message which should be displayed in the InstallPanel. The ID
is related to the &amp;lt;language&amp;gt;.xml file.
</xs:documentation>
<xs:documentation>Path of the file which contains the antcall. Either buildfile or buildresource
must be specified, but not both
</xs:documentation>
<xs:documentation>Id of the resource which contains the antcall. Either buildresource or buildfile
must be specifeid, but not both
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="pack" type="packType" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="version" type="xs:string" fixed="5.0" use="required"/>
</xs:complexType>
</xs:element>
<xs:complexType name="packType">
<xs:annotation>
<xs:documentation>The pack sections. The names should be the same as the pack sections in
the install xml file. The defined action is only invoked for packs that are selected for installation.
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="antcall" type="antCallType" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="name" type="xs:string" use="required"/>
</xs:complexType>
<xs:complexType name="antCallType">
<xs:annotation>
<xs:documentation>The antcall section. It defines what antcall to perform at what time
of installation with what environment.
</xs:documentation>
</xs:annotation>
<xs:choice maxOccurs="unbounded">
<xs:element name="property" type="propertyType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="propertyfile" type="propertyFileType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="target" type="targetType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="uninstall_target" type="uninstallTargetType" minOccurs="0" maxOccurs="unbounded"/>
</xs:choice>
<xs:attribute name="order" use="required">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="beforepack"/>
<xs:enumeration value="afterpack"/>
<xs:enumeration value="beforepacks"/>
<xs:enumeration value="afterpacks"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="uninstall_order" default="beforedeletion">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="beforedeletion"/>
<xs:enumeration value="afterdeletion"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="quiet" default="no">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="yes"/>
<xs:enumeration value="no"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="verbose" default="no">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="yes"/>
<xs:enumeration value="no"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="loglevel" default="info">
<xs:annotation>
<xs:documentation>
The Ant log priority level the action should use when logging.
This will be handed out to Ant and is the threshold which must be reached before Ant logs a message.
</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="error"/>
<xs:enumeration value="warning"/>
<xs:enumeration value="info"/>
<xs:enumeration value="verbose"/>
<xs:enumeration value="debug"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="severity" default="error">
<xs:annotation>
<xs:documentation>
The severity of this action in case of errors.
This tells the installer how to deal with an Ant build failure, e. g. which types of user dialogs
should pop up with the given message.
</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="information"/>
<xs:enumeration value="question"/>
<xs:enumeration value="warning"/>
<xs:enumeration value="error"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="logfile" type="xs:string" use="optional"/>
<xs:attribute name="logfile_append" type="xs:boolean" use="optional" default="false"/>
<xs:attribute name="messageid" type="xs:string"/>
<xs:attribute name="buildfile" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>
The Ant buildfile that must be preinstalled before.
Cannot be just together with "buildresource".
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="buildresource" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>
The Ant build resource that must be declared with this name in the resources section.
Cannot be just together with "buildfile".
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="dir" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>
The base directory for the called Ant build.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="condition" type="xs:string" use="optional"/>
</xs:complexType>
<xs:complexType name="propertyType">
<xs:annotation>
<xs:documentation>Properties to be used with all targets and uninstall_targets
which are defined for this antcall.
</xs:documentation>
</xs:annotation>
<xs:attribute name="name" type="xs:string" use="required"/>
<xs:attribute name="value" type="xs:string" use="required"/>
</xs:complexType>
<xs:complexType name="propertyFileType">
<xs:annotation>
<xs:documentation>Properties to be used with all targets and uninstall_targets
which are defined for this antcall given by the path of a properties
file..
</xs:documentation>
</xs:annotation>
<xs:attribute name="path" type="xs:string" use="required"/>
</xs:complexType>
<xs:complexType name="targetType">
<xs:annotation>
<xs:documentation>Targets to perform with this antcall at installation time.
The targets should be defined in the given buildfile, else an
ant exception will be raised.
</xs:documentation>
</xs:annotation>
<xs:attribute name="name" type="xs:string" use="required"/>
</xs:complexType>
<xs:complexType name="uninstallTargetType">
<xs:annotation>
<xs:documentation>Targets to perform with this antcall at uninstallation time.
The targets should be defined in the given buildfile, else an
ant exception will be raised.
</xs:documentation>
</xs:annotation>
<xs:attribute name="name" type="xs:string"/>
</xs:complexType>
</xs:schema>
@@ -0,0 +1,57 @@
<?xml version="1.0"?>
<!--
~ IzPack - Copyright 2001-2012 Julien Ponge, All Rights Reserved.
~
~ http://izpack.org/
~ http://izpack.codehaus.org/
~
~ Copyright 2012 Tim Anderson
-
~ 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.
-->
<xs:schema attributeFormDefault="unqualified"
elementFormDefault="unqualified"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://izpack.org/schema/bsfactions"
xmlns="http://izpack.org/schema/bsfactions">
<xs:element name="bsfactions">
<xs:annotation>
<xs:documentation>
Defines actions for the BSFInstallerListener and BSFUninstallerListener
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="pack" type="packType" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="version" type="xs:string" fixed="5.0" use="required"/>
</xs:complexType>
</xs:element>
<xs:complexType name="packType">
<xs:sequence>
<xs:element name="script" type="scriptType" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="name" type="xs:string" use="required"/>
</xs:complexType>
<xs:complexType name="scriptType">
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="language" type="xs:string" use="required"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:schema>
@@ -0,0 +1,98 @@
<?xml version="1.0"?>
<!--
~ IzPack - Copyright 2001-2012 Julien Ponge, All Rights Reserved.
~
~ http://izpack.org/
~ http://izpack.codehaus.org/
~
~ 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.
-->
<xs:schema attributeFormDefault="unqualified"
elementFormDefault="unqualified"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://izpack.org/schema/compilation"
xmlns="http://izpack.org/schema/compilation">
<xs:element name="compilation">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="global" type="globalType"/>
<xs:element name="jobs" type="jobsType"/>
</xs:choice>
<xs:attribute name="version" type="xs:string" fixed="5.0"/>
</xs:complexType>
</xs:element>
<xs:complexType name="globalType">
<xs:sequence>
<xs:element name="compiler">
<xs:complexType>
<xs:sequence>
<xs:element name="choice" type="choiceType" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="arguments">
<xs:complexType>
<xs:sequence>
<xs:element name="choice" type="choiceType" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="choiceType">
<xs:attribute name="value" type="xs:string" use="required"/>
</xs:complexType>
<xs:complexType name="jobsType">
<xs:choice maxOccurs="unbounded">
<xs:element name="classpath" type="classpathType" minOccurs="0"/>
<xs:element name="job" type="jobType" minOccurs="0" maxOccurs="unbounded"/>
</xs:choice>
</xs:complexType>
<xs:complexType name="classpathType">
<xs:attribute name="add" type="xs:string" use="optional"/>
<xs:attribute name="sub" type="xs:string" use="optional"/>
</xs:complexType>
<xs:complexType name="jobType">
<xs:choice>
<xs:choice maxOccurs="unbounded">
<xs:element name="packdependency" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:attribute name="name" type="xs:string" use="required"/>
</xs:complexType>
</xs:element>
<xs:element name="classpath" type="classpathType" minOccurs="0" maxOccurs="unbounded"/>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="directory">
<xs:complexType>
<xs:attribute name="name" type="xs:string" use="required"/>
</xs:complexType>
</xs:element>
<xs:element name="file">
<xs:complexType>
<xs:attribute name="name" type="xs:string" use="required"/>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:choice>
</xs:choice>
<xs:attribute name="name" type="xs:string" use="required"/>
</xs:complexType>
</xs:schema>
@@ -0,0 +1,43 @@
<?xml version="1.0"?>
<!--
~ IzPack - Copyright 2001-2012 Julien Ponge, All Rights Reserved.
~
~ http://izpack.org/
~ http://izpack.codehaus.org/
~
~ Copyright 2012 Tim Anderson
-
~ 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.
-->
<xs:schema attributeFormDefault="unqualified"
elementFormDefault="unqualified"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:types="http://izpack.org/schema/types"
targetNamespace="http://izpack.org/schema/conditions"
xmlns="http://izpack.org/schema/conditions">
<xs:import namespace="http://izpack.org/schema/types"
schemaLocation="http://izpack.org/schema/5.0/izpack-types-5.0.xsd"/>
<xs:element name="conditions">
<xs:complexType>
<xs:complexContent>
<xs:extension base="types:conditionsType">
<xs:attribute name="version" type="xs:string" fixed="5.0" use="required"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
</xs:schema>
@@ -0,0 +1,211 @@
<?xml version="1.0"?>
<!--
~ IzPack - Copyright 2001-2012 Julien Ponge, All Rights Reserved.
~
~ http://izpack.org/
~ http://izpack.codehaus.org/
-
~ Copyright 2012 Tim Anderson
-
~ 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.
-->
<xs:schema attributeFormDefault="unqualified"
elementFormDefault="unqualified"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:types="http://izpack.org/schema/types"
targetNamespace="http://izpack.org/schema/configurationactions"
xmlns="http://izpack.org/schema/configurationactions">
<xs:import namespace="http://izpack.org/schema/types"
schemaLocation="http://izpack.org/schema/5.0/izpack-types-5.0.xsd"/>
<xs:element name="configurationactions">
<xs:complexType>
<xs:sequence>
<xs:element name="pack" type="packType" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="version" type="xs:string" fixed="5.0" use="required"/>
</xs:complexType>
</xs:element>
<xs:complexType name="packType">
<xs:sequence>
<xs:element name="configurationaction" type="configurationActionType" minOccurs="1" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="name" type="xs:string" use="required"/>
</xs:complexType>
<xs:complexType name="variablesType">
<xs:sequence>
<xs:element name="variable" type="types:dynamicVariableType" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="configurationActionType">
<xs:choice maxOccurs="unbounded">
<xs:element name="variablesType" type="types:dynamicVariableType" minOccurs="0" maxOccurs="1"/>
<xs:element name="configurableset" type="configurableSetType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="configurable" type="configurableType" minOccurs="0" maxOccurs="unbounded"/>
</xs:choice>
<xs:attribute name="order" type="xs:string" use="required"/>
</xs:complexType>
<xs:complexType name="configurableType">
<xs:choice maxOccurs="unbounded">
<xs:element name="xpathproperty" type="xpathPropertyType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="entry" type="entryType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="fileset" type="fileSetType" minOccurs="0" maxOccurs="unbounded"/>
</xs:choice>
<xs:attribute name="type" use="required">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="options"/>
<xs:enumeration value="ini"/>
<xs:enumeration value="xml"/>
<xs:enumeration value="registry"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="tofile" type="xs:string" use="required"/>
<xs:attribute name="patchfile" type="xs:string" use="optional"/>
<xs:attribute name="originalfile" type="xs:string" use="optional"/>
<xs:attribute name="configfile" type="xs:string" use="optional"/>
<xs:attribute name="create" type="xs:boolean" use="optional"/>
<xs:attribute name="keepOldKeys" type="xs:boolean" use="optional"/>
<xs:attribute name="keepOldValues" type="xs:boolean" use="optional"/>
<xs:attribute name="resolveExpressions" type="xs:boolean" use="optional"/>
<xs:attribute name="escape" type="xs:boolean" use="optional"/>
<xs:attribute name="escapeNewLine" type="xs:boolean" use="optional"/>
<xs:attribute name="headerComment" type="xs:boolean" use="optional"/>
<xs:attribute name="emptyLines" type="xs:boolean" use="optional"/>
<xs:attribute name="operator" type="xs:string" use="optional"/>
<xs:attribute name="condition" type="xs:string" use="optional"/>
<xs:attribute name="cleanup" type="xs:string" use="optional"/>
</xs:complexType>
<xs:complexType name="configurableSetType">
<xs:choice maxOccurs="unbounded">
<xs:element name="fileset" type="fileSetType"/>
<xs:element name="mapper" type="mapperType"/>
</xs:choice>
<xs:attribute name="type" use="required">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="options"/>
<xs:enumeration value="ini"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="fromfile" type="xs:string" use="optional"/>
<xs:attribute name="todir" type="xs:string" use="optional"/>
<xs:attribute name="tofile" type="xs:string" use="optional"/>
<xs:attribute name="keepOldKeys" type="xs:boolean" use="optional"/>
<xs:attribute name="keepOldValues" type="xs:boolean" use="optional"/>
<xs:attribute name="resolveExpressions" type="xs:boolean" use="optional"/>
<xs:attribute name="failonerror" type="xs:boolean" use="optional"/>
<xs:attribute name="includeemptydirs" type="xs:boolean" use="optional"/>
<xs:attribute name="overwrite" type="xs:boolean" use="optional" default="false"/>
<xs:attribute name="preservelastmodified" type="xs:boolean" use="optional"/>
<xs:attribute name="enablemultiplemappings" type="xs:boolean" use="optional"/>
<xs:attribute name="condition" type="xs:string" use="required"/>
<xs:attribute name="cleanup" type="xs:boolean" use="optional"/>
</xs:complexType>
<xs:complexType name="fileSetType">
<xs:choice maxOccurs="unbounded">
<xs:element name="include" type="types:includeExcludeType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="exclude" type="types:includeExcludeType" minOccurs="0" maxOccurs="unbounded"/>
</xs:choice>
<xs:attribute name="dir" type="xs:string" use="required"/>
<xs:attribute name="casesensitive" type="xs:boolean" use="optional"/>
<xs:attribute name="defaultexcludes" type="xs:boolean" use="optional"/>
<xs:attribute name="followsymlinks" type="xs:boolean" use="optional"/>
</xs:complexType>
<xs:complexType name="mapperType">
<xs:attribute name="type">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="identity"/>
<xs:enumeration value="flatten"/>
<xs:enumeration value="glob"/>
<xs:enumeration value="merge"/>
<xs:enumeration value="regexp"/>
<xs:enumeration value="package"/>
<xs:enumeration value="unpackage"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="from" type="xs:string" use="required"/>
<xs:attribute name="to" type="xs:string" use="required"/>
<xs:attribute name="casesensitive" type="xs:boolean" use="optional"/>
</xs:complexType>
<xs:complexType name="entryType">
<xs:attribute name="section" type="xs:string" use="optional"/>
<xs:attribute name="key" type="xs:string" use="optional"/>
<xs:attribute name="value" type="xs:string" use="optional"/>
<xs:attribute name="data" type="xs:string" use="optional"/>
<xs:attribute name="fromkey" type="xs:string" use="optional"/>
<xs:attribute name="tokey" type="xs:string" use="optional"/>
<xs:attribute name="dataType" use="optional">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="int"/>
<xs:enumeration value="date"/>
<xs:enumeration value="string"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="lookupType" use="optional">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="plain"/>
<xs:enumeration value="regexp"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="operation" use="optional">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="+"/>
<xs:enumeration value="-"/>
<xs:enumeration value="="/>
<xs:enumeration value="remove"/>
<xs:enumeration value="keep"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="unit" use="optional">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="millisecond"/>
<xs:enumeration value="second"/>
<xs:enumeration value="minute"/>
<xs:enumeration value="hour"/>
<xs:enumeration value="day"/>
<xs:enumeration value="week"/>
<xs:enumeration value="month"/>
<xs:enumeration value="year"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="default" use="optional"/>
<xs:attribute name="pattern" use="optional"/>
</xs:complexType>
<xs:complexType name="xpathPropertyType">
<xs:attribute name="key" type="xs:string" use="required"/>
<xs:attribute name="value" type="xs:string" use="required"/>
</xs:complexType>
</xs:schema>
@@ -0,0 +1,43 @@
<?xml version="1.0"?>
<!--
~ IzPack - Copyright 2001-2012 Julien Ponge, All Rights Reserved.
~
~ http://izpack.org/
~ http://izpack.codehaus.org/
~
~ Copyright 2012 Tim Anderson
-
~ 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.
-->
<xs:schema attributeFormDefault="unqualified"
elementFormDefault="unqualified"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://izpack.org/schema/icons"
xmlns="http://izpack.org/schema/icons">
<xs:element name="icons">
<xs:complexType>
<xs:choice maxOccurs="unbounded">
<xs:element name="icon" type="iconType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="sysicon" type="iconType" minOccurs="0" maxOccurs="unbounded"/>
</xs:choice>
<xs:attribute name="version" type="xs:string" fixed="5.0" use="required"/>
</xs:complexType>
</xs:element>
<xs:complexType name="iconType">
<xs:attribute name="res" type="xs:string" use="required"/>
<xs:attribute name="id" type="xs:string" use="required"/>
</xs:complexType>
</xs:schema>
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,53 @@
<?xml version="1.0"?>
<!--
~ IzPack - Copyright 2001-2012 Julien Ponge, All Rights Reserved.
~
~ http://izpack.org/
~ http://izpack.codehaus.org/
~
~ Copyright 2012 Tim Anderson
-
~ 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.
-->
<xs:schema attributeFormDefault="unqualified"
elementFormDefault="unqualified"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://izpack.org/schema/langpack"
xmlns="http://izpack.org/schema/langpack">
<xs:element name="langpack">
<xs:annotation>
<xs:documentation>The root element</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="str" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>A string definition</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="id" type="xs:string" use="required"/>
<xs:attribute name="txt" type="xs:string" use="required"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="version" type="xs:string" fixed="5.0" use="required"/>
</xs:complexType>
</xs:element>
</xs:schema>
@@ -0,0 +1,104 @@
<?xml version="1.0"?>
<!--
~ IzPack - Copyright 2001-2012 Julien Ponge, All Rights Reserved.
~
~ http://izpack.org/
~ http://izpack.codehaus.org/
~
~ Copyright 2012 Tim Anderson
~
~ 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.
-->
<xs:schema attributeFormDefault="unqualified"
elementFormDefault="unqualified"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:types="http://izpack.org/schema/types"
targetNamespace="http://izpack.org/schema/processing"
xmlns="http://izpack.org/schema/processing">
<xs:import namespace="http://izpack.org/schema/types"
schemaLocation="http://izpack.org/schema/5.0/izpack-types-5.0.xsd"/>
<xs:element name="processing">
<xs:complexType>
<xs:choice maxOccurs="unbounded">
<xs:element name="logfiledir" type="xs:string" minOccurs="0"/>
<xs:element name="job" type="jobType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="onFail" type="onFailType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="onSuccess" type="onSuccessType" minOccurs="0" maxOccurs="unbounded"/>
</xs:choice>
<xs:attribute name="version" type="xs:string" fixed="5.0"/>
</xs:complexType>
</xs:element>
<xs:complexType name="jobType">
<xs:choice maxOccurs="unbounded">
<xs:element name="executeForPack" type="executeForPackType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="os" type="types:osType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="executefile" type="executeFileType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="executeclass" type="executeClassType" minOccurs="0" maxOccurs="unbounded"/>
</xs:choice>
<xs:attribute name="name" type="xs:string" use="required"/>
<xs:attribute name="condition" type="xs:string" use="optional"/>
<xs:attribute name="catch" type="xs:boolean" use="optional" default="false"/>
<xs:attribute name="final" type="xs:boolean" use="optional" default="false"/>
</xs:complexType>
<xs:complexType name="executeFileType">
<xs:choice maxOccurs="unbounded">
<xs:element name="arg" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="env" minOccurs="0" maxOccurs="unbounded">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:pattern value=".*=.*"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:choice>
<xs:attribute name="name" type="xs:string" use="required"/>
<xs:attribute name="workingDir" type="xs:string" use="optional"/>
<xs:attribute name="onError" use="optional" default="ask">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="ask"/>
<xs:enumeration value="fail"/>
<xs:enumeration value="ignore"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
<xs:complexType name="executeClassType">
<xs:sequence>
<xs:element name="arg" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="name" type="xs:string" use="required"/>
</xs:complexType>
<xs:complexType name="executeForPackType">
<xs:attribute name="name" type="xs:string" use="required"/>
</xs:complexType>
<xs:complexType name="onFailType">
<xs:attribute name="condition" type="xs:string" use="optional"/>
<xs:attribute name="previous" type="xs:boolean" use="optional" default="false"/>
<xs:attribute name="next" type="xs:boolean" use="optional" default="false"/>
</xs:complexType>
<xs:complexType name="onSuccessType">
<xs:attribute name="condition" type="xs:string" use="optional"/>
<xs:attribute name="previous" type="xs:boolean" use="optional" default="false"/>
<xs:attribute name="next" type="xs:boolean" use="optional" default="true"/>
</xs:complexType>
</xs:schema>
@@ -0,0 +1,144 @@
<?xml version="1.0"?>
<!--
~ IzPack - Copyright 2001-2012 Julien Ponge, All Rights Reserved.
~
~ http://izpack.org/
~ http://izpack.codehaus.org/
~
~ Copyright 2012 Tim Anderson
-
~ 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.
-->
<xs:schema attributeFormDefault="unqualified"
elementFormDefault="unqualified"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://izpack.org/schema/registry"
xmlns="http://izpack.org/schema/registry">
<xs:element name="registry">
<xs:annotation>
<xs:documentation>The root element</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="pack" type="packType" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="version" type="xs:string" fixed="5.0" use="required"/>
</xs:complexType>
</xs:element>
<xs:complexType name="packType">
<xs:annotation>
<xs:documentation>The pack. The name should be the same as the pack in the install xml file. The defined
actions are performed only for packs which are selected for installation.
</xs:documentation>
</xs:annotation>
<xs:choice maxOccurs="unbounded">
<xs:element name="key" type="keyType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="value" type="valueType" minOccurs="0" maxOccurs="unbounded"/>
</xs:choice>
<xs:attribute name="name" type="xs:string" use="required"/>
</xs:complexType>
<xs:complexType name="keyType">
<xs:annotation>
<xs:documentation>The key section. It defines what key should be created
</xs:documentation>
</xs:annotation>
<xs:attribute name="keypath" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>The key path under which the value should be placed
in Windows syntax without the root.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="root" type="rootType" use="required">
<xs:annotation>
<xs:documentation>Root of the key as symbol.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="rootFallback" type="rootType" use="optional">
<xs:annotation>
<xs:documentation>Fallback root in case root fails.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:simpleType name="rootType">
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="HKCR"/>
<xs:enumeration value="HKCU"/>
<xs:enumeration value="HKLM"/>
<xs:enumeration value="HKU"/>
<xs:enumeration value="HKPD"/>
<xs:enumeration value="HKCC"/>
<xs:enumeration value="HKDDS"/>
</xs:restriction>
</xs:simpleType>
<xs:complexType name="valueType">
<xs:annotation>
<xs:documentation>The value section. It defines, what value should be created or modified
with what contents. The type of contents will be implicit determined
by the setting. Only one setting of the types are valid.
</xs:documentation>
</xs:annotation>
<xs:choice maxOccurs="unbounded">
<xs:element name="bin" type="binType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="multi" type="multiType" minOccurs="0" maxOccurs="unbounded"/>
</xs:choice>
<xs:attribute name="name" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>Name of the value to be set or modified</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="keypath" type="xs:string" use="required"/>
<xs:attribute name="root" type="rootType" use="required"/>
<xs:attribute name="rootFallback" type="rootType" use="optional">
<xs:annotation>
<xs:documentation>Fallback root in case root fails.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="override" type="xs:boolean" default="true">
<xs:annotation>
<xs:documentation>Override any existing value or not</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="string" type="xs:string">
<xs:annotation>
<xs:documentation>Contents for value of type STRING</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="dword" type="xs:string">
<xs:annotation>
<xs:documentation>Contents for value of type DWORD</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="binType">
<xs:annotation>
<xs:documentation>Contents for value of type BINARY written as comma separated list of hex
</xs:documentation>
</xs:annotation>
<xs:attribute name="data" type="xs:string" use="required"/>
</xs:complexType>
<xs:complexType name="multiType">
<xs:annotation>
<xs:documentation>Contents for value of type MULTI_STRING</xs:documentation>
</xs:annotation>
<xs:attribute name="data" type="xs:string" use="required"/>
</xs:complexType>
</xs:schema>
@@ -0,0 +1,148 @@
<?xml version="1.0"?>
<!--
~ IzPack - Copyright 2001-2013 Julien Ponge, All Rights Reserved.
~
~ http://izpack.org/
~ http://izpack.codehaus.org/
~
~ Copyright 2012 Tim Anderson
-
~ 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.
-->
<xs:schema attributeFormDefault="unqualified"
elementFormDefault="unqualified"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:types="http://izpack.org/schema/types"
targetNamespace="http://izpack.org/schema/shortcuts"
xmlns="http://izpack.org/schema/shortcuts">
<xs:import namespace="http://izpack.org/schema/types"
schemaLocation="http://izpack.org/schema/5.0/izpack-types-5.0.xsd"/>
<xs:element name="shortcuts">
<xs:complexType>
<xs:choice maxOccurs="unbounded">
<xs:element name="skipIfNotSupported" minOccurs="0"/>
<xs:element name="defaultCurrentUser" minOccurs="0"/>
<xs:element name="notSupported" minOccurs="0"/>
<xs:element name="lateShortcutInstall" minOccurs="0"/>
<xs:element name="programGroup" type="programGroupType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="shortcut" type="shortcutType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="previousDisabled" minOccurs="0" default="false"/>
</xs:choice>
<xs:attribute name="version" type="xs:string" fixed="5.0" use="required"/>
</xs:complexType>
</xs:element>
<xs:complexType name="programGroupType">
<xs:attribute name="installGroup" type="xs:string" use="optional"/>
<xs:attribute name="defaultName" type="xs:string" use="optional"/>
<xs:attribute name="iconFile" type="xs:string" use="optional"/>
<xs:attribute name="comment" type="xs:string" use="optional"/>
<xs:attribute name="location" type="xs:string" use="optional"/>
</xs:complexType>
<xs:complexType name="shortcutType">
<xs:choice maxOccurs="unbounded">
<xs:element name="os" type="types:osType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="createForPack" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:attribute name="name" type="xs:string" use="required"/>
</xs:complexType>
</xs:element>
</xs:choice>
<xs:attribute name="name" type="xs:string" use="required"/>
<xs:attribute name="condition" type="xs:string" use="optional"/>
<xs:attribute name="subgroup" type="xs:string" use="optional"/>
<xs:attribute name="description" type="xs:string" use="optional"/>
<xs:attribute name="target" type="xs:string" use="optional"/>
<xs:attribute name="commandLine" type="xs:string" use="optional"/>
<xs:attribute name="iconFile" type="xs:string" use="optional"/>
<xs:attribute name="iconIndex" type="xs:string" use="optional"/>
<xs:attribute name="workingDirectory" type="xs:string" use="optional"/>
<xs:attribute name="initialState" use="optional">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="noShow"/>
<xs:enumeration value="normal"/>
<xs:enumeration value="maximized"/>
<xs:enumeration value="minimized"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="desktop" type="types:yesNoTrueFalseType" use="optional"/>
<xs:attribute name="applications" type="types:yesNoTrueFalseType" use="optional"/>
<xs:attribute name="startMenu" type="types:yesNoTrueFalseType" use="optional"/>
<xs:attribute name="startup" type="types:yesNoTrueFalseType" use="optional"/>
<xs:attribute name="programGroup" type="types:yesNoTrueFalseType" use="optional"/>
<xs:attribute name="runAsAdministrator" type="xs:boolean" use="optional"/>
<xs:attribute name="encoding" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>Linux specific</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="mimetype" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>Linux specific</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="terminal" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>Linux specific</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="terminalOptions" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>Linux specific</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="type" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>Linux specific</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="url" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>Linux specific</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="KdeSubstUID" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>Linux specific</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="KdeUsername" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>Linux specific</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="categories" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>Linux specific</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="tryexec" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>Linux specific</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="createForAll" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>Linux specific</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:schema>
@@ -0,0 +1,303 @@
<?xml version="1.0"?>
<!--
~ IzPack - Copyright 2001-2013 Julien Ponge, All Rights Reserved.
~
~ http://izpack.org/
~ http://izpack.codehaus.org/
~
~ Copyright 2012 Tim Anderson
-
~ 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.
-->
<xs:schema attributeFormDefault="unqualified"
elementFormDefault="unqualified"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://izpack.org/schema/types"
xmlns="http://izpack.org/schema/types">
<!-- -->
<!-- OS -->
<!-- -->
<xs:complexType name="osType">
<xs:attribute type="osFamilyAttributeType" name="family" use="optional"/>
<xs:attribute type="xs:string" name="name" use="optional"/>
<xs:attribute type="xs:string" name="arch" use="optional"/>
<xs:attribute type="xs:string" name="version" use="optional"/>
<xs:attribute type="xs:string" name="jre" use="optional"/>
</xs:complexType>
<xs:simpleType name="osFamilyAttributeType">
<xs:restriction base="xs:string">
<xs:enumeration value="windows"/>
<xs:enumeration value="unix"/>
<xs:enumeration value="mac"/>
</xs:restriction>
</xs:simpleType>
<!-- -->
<!-- Conditions -->
<!-- -->
<xs:complexType name="conditionsType">
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="condition" type="conditionType"/>
<xs:element name="panelcondition" type="panelConditionType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="packcondition" type="packConditionType" minOccurs="0" maxOccurs="unbounded"/>
</xs:choice>
</xs:complexType>
<xs:complexType name="conditionType">
<xs:choice minOccurs="1" maxOccurs="unbounded">
<xs:element name="condition" type="conditionType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="name" type="xs:string" minOccurs="0" maxOccurs="1"/>
<xs:element name="value" type="valueElementType" minOccurs="0" maxOccurs="1"/>
<xs:element name="variable" type="xs:string" minOccurs="0" maxOccurs="1"/>
<xs:element name="arg1" type="xs:string" minOccurs="0" maxOccurs="1"/>
<xs:element name="arg2" type="xs:string" minOccurs="0" maxOccurs="1"/>
<xs:element name="operator" type="xs:string" minOccurs="0" maxOccurs="1"/>
<xs:element name="string" type="xs:string" minOccurs="0" maxOccurs="1"/>
<xs:element name="file" type="xs:string" minOccurs="0" maxOccurs="1"/>
<xs:element name="dir" type="xs:string" minOccurs="0" maxOccurs="1"/>
<xs:element name="java" type="javaType" minOccurs="0" maxOccurs="1"/>
<xs:element name="returnvalue" type="returnValueType" minOccurs="0" maxOccurs="1"/>
<xs:element name="requiredusername" type="xs:string" minOccurs="0" maxOccurs="1"/>
</xs:choice>
<xs:attribute name="id" type="xs:string"/>
<xs:attribute name="refid" type="xs:string"/>
<xs:attribute name="type" use="optional">
<xs:simpleType>
<xs:union>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="ref"/>
<xs:enumeration value="and"/>
<xs:enumeration value="not"/>
<xs:enumeration value="or"/>
<xs:enumeration value="xor"/>
<xs:enumeration value="comparenumerics"/>
<xs:enumeration value="compareversions"/>
<xs:enumeration value="compareversionsmajor"/>
<xs:enumeration value="empty"/>
<xs:enumeration value="exists"/>
<xs:enumeration value="java"/>
<xs:enumeration value="packselection"/>
<xs:enumeration value="user"/>
<xs:enumeration value="variable"/>
<xs:enumeration value="contains"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType>
<xs:restriction base="fullyQualifiedClassNameType"/>
</xs:simpleType>
</xs:union>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
<xs:complexType name="valueElementType">
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="caseInsensitive" type="xs:boolean" use="optional" default="false"/>
<xs:attribute name="regex" type="xs:boolean" use="optional" default="false"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
<xs:complexType name="javaType">
<xs:all>
<xs:element name="class" type="xs:string"/>
<xs:element name="method" type="xs:string" minOccurs="0"/>
<xs:element name="field" type="xs:string" minOccurs="0"/>
</xs:all>
</xs:complexType>
<xs:complexType name="returnValueType" mixed="true">
<xs:attribute name="type" use="required">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="boolean"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
<xs:complexType name="panelConditionType">
<xs:attribute name="panelid" type="xs:string" use="required"/>
<xs:attribute name="conditionid" type="xs:string" use="required"/>
</xs:complexType>
<xs:complexType name="packConditionType">
<xs:attribute name="packid" type="xs:string" use="required"/>
<xs:attribute name="conditionid" type="xs:string" use="required"/>
<xs:attribute name="optional" type="xs:boolean" use="optional" default="false">
<xs:annotation>
<xs:documentation>
Whether an optional pack installation is allowed if condition is not met,
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<!-- -->
<!-- Variables -->
<!-- -->
<xs:complexType name="variableType">
<xs:attribute name="name" type="xs:string" use="required"/>
<xs:attribute name="value" type="xs:string" use="required"/>
</xs:complexType>
<!-- -->
<!-- Dynamic variables -->
<!-- -->
<xs:complexType name="dynamicVariableType">
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="value" minOccurs="0" maxOccurs="1"/>
<xs:element name="filters" type="dynamicVariableFiltersType" minOccurs="0"/>
<xs:element name="arg" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
</xs:choice>
<xs:attribute type="xs:string" name="name" use="required"/>
<xs:attribute type="xs:boolean" name="checkonce" use="optional" default="false"/>
<xs:attribute type="xs:string" name="condition" use="optional"/>
<!-- plain -->
<xs:attribute type="xs:string" name="value" use="optional"/>
<!-- environment variable -->
<xs:attribute type="xs:string" name="environment" use="optional"/>
<!-- configuration file -->
<xs:attribute type="xs:string" name="file" use="optional"/>
<xs:attribute type="xs:string" name="section" use="optional"/>
<xs:attribute type="xs:string" name="key" use="optional"/>
<xs:attribute type="xs:boolean" name="escape" use="optional" default="true"/>
<!-- configuration file in zip/jar file -->
<xs:attribute type="xs:string" name="zipfile" use="optional"/>
<xs:attribute type="xs:string" name="jarfile" use="optional"/>
<xs:attribute type="xs:string" name="entry" use="optional"/>
<xs:attribute type="xs:boolean" name="ignorefailure" use="optional" default="true"/>
<!-- Windows registry -->
<xs:attribute type="xs:string" name="regkey" use="optional"/>
<xs:attribute type="xs:string" name="regvalue" use="optional"/>
<!-- Command execution -->
<xs:attribute type="xs:string" name="executable" use="optional"/>
<xs:attribute type="xs:string" name="dir" use="optional"/>
<xs:attribute type="xs:boolean" name="stderr" use="optional" default="false"/>
<!-- Type - same name for config file type and execution type -->
<xs:attribute name="type" use="optional">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="options"/>
<xs:enumeration value="ini"/>
<xs:enumeration value="xml"/>
<xs:enumeration value="process"/>
<xs:enumeration value="shell"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute type="xs:boolean" name="unset" use="optional" default="true"/>
</xs:complexType>
<xs:complexType name="dynamicVariableFiltersType">
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="regex" type="dynamicVariableRegexFilterType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="location" type="dynamicVariableLocationFilterType"
minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="case" type="dynamicVariableCaseFilterType" minOccurs="0" maxOccurs="unbounded"/>
</xs:choice>
</xs:complexType>
<xs:complexType name="dynamicVariableRegexFilterType">
<xs:attribute type="xs:string" name="regexp" use="required"/>
<xs:attribute type="xs:string" name="select" use="optional"/>
<xs:attribute type="xs:string" name="replace" use="optional"/>
<xs:attribute type="xs:string" name="defaultvalue" use="optional"/>
<xs:attribute type="xs:boolean" name="global" use="optional" default="false"/>
<xs:attribute type="xs:boolean" name="casesensitive" use="optional" default="true"/>
</xs:complexType>
<xs:complexType name="dynamicVariableLocationFilterType">
<xs:attribute type="xs:string" name="basedir" use="optional"/>
</xs:complexType>
<xs:complexType name="dynamicVariableCaseFilterType">
<xs:attribute name="style" use="required" type="CaseStyleType" />
</xs:complexType>
<xs:simpleType name="CaseStyleType">
<xs:restriction base="xs:string">
<xs:enumeration value="lower"/>
<xs:enumeration value="upper"/>
</xs:restriction>
</xs:simpleType>
<xs:complexType name="includeExcludeType">
<xs:attribute name="name" type="xs:string" use="required"/>
</xs:complexType>
<xs:simpleType name="yesNoTrueFalseType">
<xs:restriction base="xs:string">
<xs:enumeration value="true"/>
<xs:enumeration value="false"/>
<xs:enumeration value="yes"/>
<xs:enumeration value="no"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="fullyQualifiedClassNameType">
<xs:restriction base="xs:string">
<xs:pattern value="([\p{L}_$][\p{L}\p{N}_$]*\.)*[\p{L}_$][\p{L}\p{N}_$]*"/>
</xs:restriction>
</xs:simpleType>
<!-- -->
<!--Logging -->
<!-- -->
<xs:simpleType name="loggingLevelType">
<xs:annotation>
<xs:documentation>
Specifies the java.util.logging default level for the handler.
See https://docs.oracle.com/javase/6/docs/api/java/util/logging/Level.html for more information.
</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:enumeration value="OFF"/>
<xs:enumeration value="SEVERE"/>
<xs:enumeration value="WARNING"/>
<xs:enumeration value="INFO"/>
<xs:enumeration value="CONFIG"/>
<xs:enumeration value="FINE"/>
<xs:enumeration value="FINER"/>
<xs:enumeration value="FINEST"/>
<xs:enumeration value="ALL"/>
</xs:restriction>
</xs:simpleType>
<xs:complexType name="configurationSectionType" abstract="true">
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="configuration" minOccurs="0" maxOccurs="1">
<xs:complexType>
<xs:sequence>
<!-- <xs:element name="param" type="nameValueType" minOccurs="0" maxOccurs="unbounded"/> -->
<xs:any minOccurs="0" maxOccurs="unbounded" processContents="skip"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element maxOccurs="unbounded" name="param">
<xs:complexType>
<xs:attribute name="name" type="xs:string" use="required"/>
<xs:attribute name="value" type="xs:string" use="required"/>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
</xs:schema>
@@ -0,0 +1,664 @@
<?xml version="1.0"?>
<!--
~ IzPack - Copyright 2001-2012 Julien Ponge, All Rights Reserved.
~
~ http://izpack.org/
~ http://izpack.codehaus.org/
~
~ 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.
-->
<!--
| Schema for user input specification.
|
| Author: jochen.hinrichsen@kambrium.net
| Tim Anderson
|______________________________________________________________________________
-->
<xs:schema attributeFormDefault="unqualified"
elementFormDefault="unqualified"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:types="http://izpack.org/schema/types"
targetNamespace="http://izpack.org/schema/userinput"
xmlns="http://izpack.org/schema/userinput" xmlns:as="http://www.w3.org/2001/XMLSchema">
<xs:import namespace="http://izpack.org/schema/types"
schemaLocation="http://izpack.org/schema/5.0/izpack-types-5.0.xsd"/>
<xs:element name="userinput">
<xs:complexType>
<xs:choice maxOccurs="unbounded">
<xs:element name="variable" type="types:variableType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="panel" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:choice maxOccurs="unbounded">
<xs:element minOccurs="0" maxOccurs="unbounded" name="createForPack">
<xs:complexType>
<xs:attribute name="name" type="xs:string" use="required"/>
</xs:complexType>
</xs:element>
<xs:element name="field" type="fieldType" maxOccurs="unbounded"/>
</xs:choice>
<xs:attribute name="id" type="xs:string" use="required"/>
<xs:attribute name="topBuffer" type="xs:integer" use="optional" default="25">
<xs:annotation>
<xs:documentation>
The percentage of left over vertical space to place on top of the components.
A value of 0 is useful to avoid components moving up and down during
dynamic validation where components are shown and hidden. The topBuffer may also
represent the number of pixels to place on top of the components rather than the
percentage of left over space if the rigid attribute is set to true.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="displayHidden" type="xs:boolean" use="optional" default="false">
<xs:annotation>
<xs:documentation>
When set to true, fields on this panel will be shown as disabled when the field's
conditionid evaluates to false. When set to false or not specified, fields will be
hidden if its conditionid evaluates to false.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="displayHiddenCondition" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>
The condition to activate the "displayHidden" mode.
Cannot be used with displayHidden="true" at the same time.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="readonly" type="xs:boolean" use="optional" default="false">
<xs:annotation>
<xs:documentation>
When set to true, all fields on this panel will be shown as disabled.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="readonlyCondition" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>
The condition to activate the "readonly" mode.
Cannot be used with readonly="true" at the same time.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="rigid" type="xs:boolean" use="optional" default="false">
<xs:annotation>
<xs:documentation>
When set to true, the topBuffer will represent the number of pixels to place on top
of the components rather than the percentage of left over space to place on top of
the components. This is useful the avoid components moving up and down during
dynamic validation where components are shown and hidden, and where you would still
like a gap to be placed on top of the components.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="summaryKey" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>
The summary key attribute will allow your UserInputPanel to be displayed on the
SummaryPanel. The value of the summaryKey attribute within the panel tags represents
the caption/header that will be shown in the SummaryPanel. The value represents the
key of your string defined in your langpacks.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
</xs:choice>
<xs:attribute name="version" type="xs:string" fixed="5.0" use="required"/>
</xs:complexType>
</xs:element>
<xs:complexType name="fieldType">
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="description" minOccurs="0">
<xs:complexType>
<xs:attribute name="id" type="xs:string" use="optional"/>
<xs:attribute name="txt" type="xs:string" use="optional"/>
</xs:complexType>
</xs:element>
<xs:element name="spec">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="pwd" type="passwordSpecType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="choice" type="choiceSpecType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="col" type="columnFieldColSpecType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="processor" type="fieldProcessorType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="run" type="buttonFieldSpecRunType" minOccurs="0" maxOccurs="unbounded"/>
</xs:choice>
<xs:attribute name="id" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>ID of the label translation.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="txt" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>Default text when no label translation can be found.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="false" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>Used by "check" fields as value when unchecked</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="true" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>Used by "check" fields as value when checked</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="successMsg" type="xs:string" use="optional" default="">
<xs:annotation>
<xs:documentation>
Used by "button" fields:
ID of the translation or text of the success message if the action or validator
executed without issue.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="filename" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>Used by "search" fields</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="checkfilename" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>Used by "search" fields</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="type" type="searchType" use="optional" default="file">
<xs:annotation>
<xs:documentation>Used by "search" fields</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="result" type="searchResultType" use="optional">
<xs:annotation>
<xs:documentation>Required by "search" fields, optional otherwise</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="fileext" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>Used by "file", "multiFile" fields</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="fileextdesc" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>Used by "file", "multiFile" fields</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="visibleRows" type="xs:unsignedInt" use="optional">
<xs:annotation>
<xs:documentation>Used by "multiFile" fields</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="prefX" type="xs:unsignedInt" use="optional">
<xs:annotation>
<xs:documentation>Used by "multiFile" fields. Indicates the preferred
width of the field
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="prefY" type="xs:unsignedInt" use="optional">
<xs:annotation>
<xs:documentation>Used by "multiFile" fields. Indicates the preferred
height of the field
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="multipleVariables" type="xs:boolean" use="optional">
<xs:annotation>
<xs:documentation>Used by "multiFile" fields. If true, a variable will
be created to hold each file. If false, a single variable will be used;
file names will be concatenated together, separated by a semicolon
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="allowEmptyValue" type="xs:boolean" use="optional">
<xs:annotation>
<xs:documentation>Used by "file", "multiFile" "dir", fields</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="mustExist" type="xs:boolean" use="optional" default="true">
<xs:annotation>
<xs:documentation>
Determines if the directory must exist to continue.
Used by the "dir" field.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="create" type="xs:boolean" use="optional" default="false">
<xs:annotation>
<xs:documentation>
Determines if the directory are created if they don't exist.
Used by the "dir" field.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="layout" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>
Used by the "rule" field.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="resultFormat" type="ruleFieldResultFormatType" use="optional">
<xs:annotation>
<xs:documentation>
How the result should be assembled back from the single field parts of a rule field.
Used by the "rule" field.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="separator" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>
This is a string used as the alternative separator string when assembling the result.
Used by the "rule" field when using resultFormat="specialSeparator".
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="size" type="xs:unsignedByte" use="optional"/>
<xs:attribute name="set" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>
The value for this field forced to be set as initial value and which overrides previous
values.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="default" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>
The default value for this field is the assigned "variable" has not been initialized.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="omitFromAuto" type="xs:boolean" use="optional">
<xs:annotation>
<xs:documentation>
Whether to omit the field variable's value from being written to the auto-install.xml
record initiated from the FinishPanel (if used).
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="os" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:attribute name="family" type="xs:string" use="optional"/>
</xs:complexType>
</xs:element>
<xs:element name="validator" type="fieldValidatorType" minOccurs="0" maxOccurs="unbounded"/>
</xs:choice>
<xs:attribute name="type" type="typeType" use="required"/>
<xs:attribute name="variable" type="xs:string" use="optional"/>
<xs:attribute name="conditionid" type="xs:string" use="optional"/>
<xs:attribute name="id" type="xs:string" use="optional"/>
<xs:attribute name="txt" type="xs:string" use="optional"/>
<xs:attribute name="bold" type="xs:boolean" use="optional"/>
<xs:attribute name="size" type="xs:float" use="optional">
<xs:annotation>
<xs:documentation>
Used by "title" fields to determine the font size
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="align" type="alignType" use="optional">
<xs:annotation>
<xs:documentation>
Used by "title" and "divider" fields
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="summaryKey" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>
The summary key attribute will allow your UserInputPanel field to be displayed on the
SummaryPanel. The value of the summaryKey attribute within the panel tags represents
the label/key that will be shown in the SummaryPanel. The value represents the
key of your string defined in your langpacks. On the SummaryPanel the label/key will be followed by
a space and the value of the variable you are summarizing.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="displayHidden" type="xs:boolean" use="optional" default="false">
<xs:annotation>
<xs:documentation>
When set to true, this field will be shown as disabled when its
conditionid evaluates to false. When set to false or not specified, this field will be
hidden if its conditionid evaluates to false.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="displayHiddenCondition" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>
The condition to activate the "displayHidden" mode for this field.
Cannot be used with displayHidden="true" at the same time.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="readonly" type="xs:boolean" use="optional" default="false">
<xs:annotation>
<xs:documentation>
When set to true, this field will be shown as disabled.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="readonlyCondition" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>
The condition to activate the "readonly" mode for this field.
Cannot be used with readonly="true" at the same time.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="tooltip" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>
The tooltip attribute allows a UserInputPanel field to add the specified tooltip to its
component children. The value of tooltip must be the id of the string in langpacks.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="minRow" type="xs:positiveInteger" use="optional">
<xs:annotation>
<xs:documentation>
Minimal number of rows displayed in a "custom" field.
Used by "custom" fields.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="maxRow" type="xs:positiveInteger" use="optional">
<xs:annotation>
<xs:documentation>
Maximal number of rows displayed in a "custom" field, before the Add button gets deactivated.
Used by "custom" fields.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<!-- -->
<!-- Choice specification -->
<!-- -->
<!-- Used by "combo", "radio" and "search" fields -->
<!-- -->
<xs:complexType name="choiceSpecType">
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="os" type="types:osType" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>
Used by "search" fields
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="processor" type="fieldProcessorType" minOccurs="0" maxOccurs="unbounded"/>
</xs:choice>
<xs:attribute name="os" type="types:osFamilyAttributeType" use="optional"/>
<xs:attribute name="conditionid" type="xs:string" use="optional"/>
<xs:attribute name="processor" type="xs:string" use="optional"/>
<xs:attribute name="set" type="xs:string" use="optional"/>
<xs:attribute name="id" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>
Used by "radio" fields to look up the language pack to localise the radio button text
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="txt" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>
Used by "radio" fields for the radio button text if the "id" attribute isn't present or
no localised text could be found
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="value" type="xs:string" use="optional"/>
</xs:complexType>
<!-- -->
<!-- Password specification -->
<!-- -->
<xs:complexType name="passwordSpecType">
<xs:attribute name="id" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>
Used to look up the language pack to localise the password label text
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="txt" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>
Used for the password label text if the "id" attribute isn't present or no localised text could be
found
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="size" type="xs:unsignedByte" use="required"/>
<xs:attribute name="set" type="xs:string" use="optional"/>
</xs:complexType>
<xs:complexType name="columnFieldColSpecType">
<xs:choice minOccurs="1" maxOccurs="unbounded">
<xs:element name="field" type="fieldType" minOccurs="1" maxOccurs="unbounded"/>
<xs:element name="validator" type="fieldValidatorType" minOccurs="1" maxOccurs="unbounded"/>
</xs:choice>
</xs:complexType>
<xs:complexType name="fieldProcessorType" >
<xs:complexContent>
<xs:extension base="types:configurationSectionType">
<xs:attribute name="class" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>
The class implementing the field processor.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="backupVariable" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>
Optional variable name holding the original value before processing.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="toVariable" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>
Optional variable name holding the value after processing.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="buttonFieldSpecRunType">
<xs:sequence minOccurs="0">
<xs:element name="msg" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:attribute name="name" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>
Indicate the key to be used to obtain the given text from the your cusom action or
validator.
Common names may include 'warn', 'error', 'info', this will become more apparent if
default button actions are implemented.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="id" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>
The translation or text you want to pass to your custom button action class.
Attempts to retrieve text from the appropriate CustomLangPack file.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="class" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>
The class to be run when the button is clicked.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="fieldValidatorType">
<xs:complexContent>
<xs:extension base="types:configurationSectionType">
<xs:attribute name="id" type="xs:string" use="optional"/>
<xs:attribute name="txt" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>
The default text to display on a validation error when no translation can be found for
the "id".
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="class" type="xs:string" use="required"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<!-- -->
<!-- Field type -->
<!-- -->
<xs:simpleType name="typeType">
<xs:restriction base="xs:string">
<xs:enumeration value="button"/>
<xs:enumeration value="check"/>
<xs:enumeration value="combo"/>
<xs:enumeration value="custom"/>
<xs:enumeration value="dir"/>
<xs:enumeration value="divider"/>
<xs:enumeration value="file"/>
<xs:enumeration value="multiFile"/>
<xs:enumeration value="password"/>
<xs:enumeration value="radio"/>
<xs:enumeration value="rule"/>
<xs:enumeration value="search"/>
<xs:enumeration value="space"/>
<xs:enumeration value="staticText"/>
<xs:enumeration value="text"/>
<xs:enumeration value="title"/>
</xs:restriction>
</xs:simpleType>
<!-- -->
<!-- Miscellaneous types -->
<!-- -->
<xs:simpleType name="searchType">
<xs:restriction base="xs:string">
<xs:enumeration value="file"/>
<xs:enumeration value="directory"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="searchResultType">
<xs:restriction base="xs:string">
<xs:enumeration value="file"/>
<xs:enumeration value="directory"/>
<xs:enumeration value="parentdir"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="ruleFieldResultFormatType">
<xs:restriction base="xs:string">
<xs:enumeration value="plainString">
<as:annotation>
<xs:documentation>
Specifies to return the contents of all fields concatenated into one long string, with
separation between each component.
</xs:documentation>
</as:annotation>
</xs:enumeration>
<xs:enumeration value="displayFormat">
<as:annotation>
<xs:documentation>
Specifies to return the contents of all fields together with all separators as specified in the
field format concatenated into one long string.
In this case the resulting string looks just like the user saw it during data entry.
</xs:documentation>
</as:annotation>
</xs:enumeration>
<xs:enumeration value="specialSeparator">
<as:annotation>
<xs:documentation>
Specifies to return the contents of all fields concatenated into one long string, with a
special separator string inserted in between the individual components.
</xs:documentation>
</as:annotation>
</xs:enumeration>
<xs:enumeration value="processed">
<as:annotation>
<xs:documentation>
Specifies to return the contents of all fields using a Processor.
</xs:documentation>
</as:annotation>
</xs:enumeration>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="alignType">
<xs:restriction base="xs:string">
<xs:enumeration value="left">
<as:annotation>
<xs:documentation>
At present only used by "title" fields. Note that "top" and "bottom" are
not applicable to "title" fields.
</xs:documentation>
</as:annotation>
</xs:enumeration>
<xs:enumeration value="center">
<as:annotation>
<xs:documentation>
At present only used by "title" fields. Note that "top" and "bottom" are
not applicable to "title" fields.
</xs:documentation>
</as:annotation>
</xs:enumeration>
<xs:enumeration value="right">
<as:annotation>
<xs:documentation>
At present only used by "title" fields. Note that "top" and "bottom" are
not applicable to "title" fields.
</xs:documentation>
</as:annotation>
</xs:enumeration>
<xs:enumeration value="top">
<as:annotation>
<xs:documentation>
At present only used by "divider" fields. Note that "left", "center" and "right" are
not applicable to "divider" fields.
</xs:documentation>
</as:annotation>
</xs:enumeration>
<xs:enumeration value="bottom">
<as:annotation>
<xs:documentation>
At present only used by "divider" fields. Note that "left", "center" and "right" are
not applicable to "divider" fields.
</xs:documentation>
</as:annotation>
</xs:enumeration>
</xs:restriction>
</xs:simpleType>
</xs:schema>