Skip to content
Snippets Groups Projects
metadata_XmlFormatValidationPlugin.xml 3.20 KiB
<pl:metadata-config xmlns:pl="http://www.exlibrisgroup.com/Plugins/1.0/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<pl:pluginTypeName>FormatValidationPlugin</pl:pluginTypeName>
	<pl:deployName>SLUBXmlFormatValidationPlugin</pl:deployName>
	<pl:className>org.slub.rosetta.dps.repository.plugin.XmlFormatValidationPlugin</pl:className>
	<pl:initParameters>
		<fr:x_form xmlns:fr="http://com/exlibris/digitool/common/forms/xmlbeans">
			<!-- see https://github.com/ExLibrisGroup/Rosetta.dps-sdk-projects/blob/master/7.3/dps-sdk-projects/dps-sdk-deposit/src/xsd/x_form.xsd -->
			<form_name>SLUBXmlFormatValidationPlugin_Params</form_name>
			<description>SLUBXmlFormatValidationPlugin_parameters_form</description>
			<!-- HINT: 2 versions, see https://github.com/ExLibrisGroup/Rosetta.dps-sdk-projects/blob/master/7.3/dps-sdk-projects/dps-sdk-deposit/src/xsd/x_form.xsd#L19 -->
			<version>1.0</version>
			<grid_x>1</grid_x>
            <x_fields>
                <x_field>
                    <field_name>catalog</field_name>
					<label>Path to XML catalog file (for DTDs)</label>
					<ui_tool_tip>add full path to own XML catalog file</ui_tool_tip>
					<mandatory>true</mandatory>
					<x_logic_type>String</x_logic_type>
					<x_ui_type>TextField</x_ui_type>
					<default_value>/etc/xml/catalog</default_value>
					<css_class>width40</css_class>
					<x_options/>
				</x_field>
				<x_field>
					<field_name>schemacatalog</field_name>
					<label>Path to special XML file, representing a namespace-schema mapping</label>
					<ui_tool_tip>add full path to own XML namespace-schema mapping file</ui_tool_tip>
					<mandatory>true</mandatory>
					<x_logic_type>String</x_logic_type>
					<x_ui_type>TextField</x_ui_type>
					<default_value>/etc/xml/schema_catalog.xml</default_value>
					<css_class>width40</css_class>
					<x_options/>
				</x_field>
				<x_field>
					<field_name>debug</field_name>
					<label>Debug information</label>
					<ui_tool_tip>if set to "true", adds more info</ui_tool_tip>
					<mandatory>false</mandatory>
					<x_logic_type>String</x_logic_type>
					<x_ui_type>ComboBox</x_ui_type>
					<default_value>false</default_value>
					<css_class>width5</css_class>
					<x_options>
						<x_option>
							<value>true</value>
							<label>yes</label>
						</x_option>
						<x_option>
							<value>false</value>
							<label>no</label>
						</x_option>
					</x_options>
				</x_field>
			</x_fields>
		</fr:x_form>
	</pl:initParameters>
	<pl:description>SLUB Formatvalidation Plugin for XML</pl:description>
	<pl:version>0.02</pl:version>
	<pl:materialType>DIGITAL</pl:materialType>
	<pl:module>Preservation</pl:module>
	<pl:generalType>TASK</pl:generalType>
	<pl:publicApi>N</pl:publicApi>
	<pl:implType>java</pl:implType>
	<pl:contactPerson>
		<contact_info xmlns="http://www.exlibrisgroup.com/Plugins/1.0/">
			<contactType>admin</contactType>
			<firstName></firstName>
			<lastName>SLUB Dresden</lastName>
			<telephone1></telephone1>
			<telephone2></telephone2>
			<email>rosetta@slub-dresden.de</email>
			<address1>Zellescher Weg 17</address1>
			<address2></address2>
			<city>Dresden</city>
			<zipCode>01069</zipCode>
			<country>Germany</country>
		</contact_info>
	</pl:contactPerson>
</pl:metadata-config>