updates and fixes for the xml/xsd shit
authorDana Jansens <danakj@orodu.net>
Fri, 26 Sep 2003 05:30:01 +0000 (05:30 +0000)
committerDana Jansens <danakj@orodu.net>
Fri, 26 Sep 2003 05:30:01 +0000 (05:30 +0000)
data/menu.xml.in
data/menu.xsd
data/rc.xml.in
data/rc.xsd

index 3dbff30..8892f31 100644 (file)
@@ -1,10 +1,9 @@
 <?xml version="1.0" encoding="UTF-8"?>
 
-<openbox_menu xmlns="http://openbox/.org"
+<openbox_menu xmlns="http://openbox.org/"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-        xsi:schemaLocation="
-                http://openbox.org/schema.php?type=menu&amp;version=@version@
-                file://@xsddir@/rc.xsd">
+        xsi:schemaLocation="http://openbox.org/
+                file://@xsddir@/menu.xsd">
 
 <menu id="games-menu" label="Games">
   <item label="Crack-Attack">
index 2837a1b..0342687 100644 (file)
@@ -38,6 +38,7 @@
             <xs:element maxOccurs="unbounded" minOccurs="0" name="separator" type="ob:empty"/>
         </xs:choice>
         <xs:attribute name="label" type="xs:string" use="optional"/>
+        <xs:attribute name="execute" type="xs:string" use="optional"/>
         <xs:attribute name="id" type="xs:string" use="required"/>
     </xs:complexType>
     <xs:complexType name="empty">
@@ -50,7 +51,7 @@
             <xs:element minOccurs="0" name="action">
                 <xs:complexType>
                     <xs:sequence>
-                        <xs:element minOccurs="0" name="Execute" type="xs:string"/>
+                        <xs:element minOccurs="0" name="execute" type="xs:string"/>
                     </xs:sequence>
                     <xs:attribute name="name" type="ob:actionname" use="required"/>
                 </xs:complexType>
index c516f76..df2c482 100644 (file)
@@ -3,10 +3,9 @@
 <!-- Do not edit this file, it will be overwritten on install.
         Copy the file to $HOME/.config/openbox/ instead. -->
 
-<openbox_config xmlns="http://openbox/.org"
+<openbox_config xmlns="http://openbox.org/"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-        xsi:schemaLocation="
-                http://openbox.org/schema.php?type=rc&amp;version=@version@
+        xsi:schemaLocation="http://openbox.org/
                 file://@xsddir@/rc.xsd">
 
 <resistance>
@@ -16,8 +15,8 @@
 
 <focus>
   <focusNew>yes</focusNew>
-  <followMouse>no</followMouse>
   <focusLast>yes</focusLast>
+  <followMouse>no</followMouse>
   <focusDelay>0</focusDelay>
   <raiseOnFocus>no</raiseOnFocus>
 </focus>
index 9124c92..9ddc67b 100644 (file)
             <xs:enumeration value="Iconify"/>
             <xs:enumeration value="Icon"/>
             <xs:enumeration value="Close"/>
+            <xs:enumeration value="MoveResize"/>
         </xs:restriction>
     </xs:simpleType>
     <xs:simpleType name="button">