Fixed some errors and added missing XSD
authorAlexander Ebert <ebert@woltlab.com>
Wed, 7 Sep 2011 18:36:30 +0000 (20:36 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Wed, 7 Sep 2011 18:36:30 +0000 (20:36 +0200)
XSD/pip.xsd [new file with mode: 0644]
com.woltlab.wcf/pip.xml
wcfsetup/install/files/lib/system/package/plugin/ClipboardActionPackageInstallationPlugin.class.php
wcfsetup/install/files/lib/system/package/plugin/ClipboardItemTypePackageInstallationPlugin.class.php

diff --git a/XSD/pip.xsd b/XSD/pip.xsd
new file mode 100644 (file)
index 0000000..c7e3da2
--- /dev/null
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="utf-8"?>
+<xs:schema id="data" targetNamespace="http://www.woltlab.com" xmlns="http://www.woltlab.com" xmlns:xs="http://www.w3.org/2001/XMLSchema" attributeFormDefault="qualified" elementFormDefault="qualified">
+       <xs:element name="data">
+               <xs:complexType>
+                       <xs:choice minOccurs="0" maxOccurs="unbounded">
+                               <xs:element name="import">
+                                       <xs:complexType>
+                                               <xs:sequence>
+                                                       <xs:element name="pip" nillable="true" minOccurs="0" maxOccurs="unbounded">
+                                                               <xs:complexType>
+                                                                       <xs:simpleContent>
+                                                                               <xs:extension base="xs:string">
+                                                                                       <xs:attribute name="name" form="unqualified" type="xs:string" />
+                                                                               </xs:extension>
+                                                                       </xs:simpleContent>
+                                                               </xs:complexType>
+                                                       </xs:element>
+                                               </xs:sequence>
+                                       </xs:complexType>
+                               </xs:element>
+                       </xs:choice>
+               </xs:complexType>
+       </xs:element>
+</xs:schema>
\ No newline at end of file
index f6f8ef7d2f4e86427fcb275fc3581b80ff4cf5c8..97784677686b46a4238f1277db864b8046f07536 100644 (file)
@@ -3,6 +3,8 @@
        <import>
                <pip name="acpmenu">wcf\system\package\plugin\ACPMenuPackageInstallationPlugin</pip>
                <pip name="acptemplate">wcf\system\package\plugin\ACPTemplatePackageInstallationPlugin</pip>
+               <pip name="clipboardaction">wcf\system\package\plugin\ClipboardActionPackageInstallationPlugin</pip>
+               <pip name="clipboarditemtype">wcf\system\package\plugin\ClipboardItemTypePackageInstallationPlugin</pip>
                <pip name="coreobject">wcf\system\package\plugin\CoreObjectPackageInstallationPlugin</pip>
                <pip name="cronjob">wcf\system\package\plugin\CronjobPackageInstallationPlugin</pip>
                <pip name="eventlistener">wcf\system\package\plugin\EventListenerPackageInstallationPlugin</pip>
index 340fdd76e2829814f1703f6b834fba3b007aaa7b..f9b922ff8ff1be95910e2c05e84ce2840759dc5d 100644 (file)
@@ -12,7 +12,7 @@ use wcf\system\WCF;
  * @subpackage acp.package.plugin
  * @category   Community Framework
  */
-class ClipboardActionInstallationPlugin extends AbstractXMLPackageInstallationPlugin {
+class ClipboardActionPackageInstallationPlugin extends AbstractXMLPackageInstallationPlugin {
        /**
         * @see wcf\system\package\plugin\AbstractXMLPackageInstallationPlugin::$className
         */
index b383f973dc3c39c94f76108d508bdd6ca954d9ce..f2f74b9a9be59d05d15882f2d376beb4a14c9bd4 100644 (file)
@@ -12,7 +12,7 @@ use wcf\system\WCF;
  * @subpackage acp.package.plugin
  * @category   Community Framework
  */
-class ClipboardItemTypeInstallationPlugin extends AbstractXMLPackageInstallationPlugin {
+class ClipboardItemTypePackageInstallationPlugin extends AbstractXMLPackageInstallationPlugin {
        /**
         * @see wcf\system\package\plugin\AbstractXMLPackageInstallationPlugin::$className
         */