[jboss-cvs] JBossAS SVN: r111646 - branches/snmp4j-int/varia/src/resources/services/snmp/config.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Tue Jun 21 12:31:17 EDT 2011


Author: thauser at redhat.com
Date: 2011-06-21 12:31:17 -0400 (Tue, 21 Jun 2011)
New Revision: 111646

Modified:
   branches/snmp4j-int/varia/src/resources/services/snmp/config/Notification.xsd
Log:
changing the form to attributes rather than elements

Modified: branches/snmp4j-int/varia/src/resources/services/snmp/config/Notification.xsd
===================================================================
--- branches/snmp4j-int/varia/src/resources/services/snmp/config/Notification.xsd	2011-06-20 19:06:54 UTC (rev 111645)
+++ branches/snmp4j-int/varia/src/resources/services/snmp/config/Notification.xsd	2011-06-21 16:31:17 UTC (rev 111646)
@@ -31,22 +31,23 @@
             <xsd:element name="mapping" maxOccurs="unbounded">
                <xsd:complexType>
                   <xsd:sequence>
-                     <xsd:element name="notification-type" type="xsd:string"/>
-                     <xsd:element name="name" type="xsd:string" minOccurs="0"/>
-                     <xsd:element name="generic" type="xsd:integer" />
-                     <xsd:element name="specific" type="xsd:integer" />
-                     <xsd:element name="enterprise" type="xsd:string"/>
-		             <xsd:element name="enterpriseName" type="xsd:string" minOccurs="0"/>
-                     <xsd:element name="inform" type="xsd:boolean" />
-                     <xsd:element name="securityName" type="xsd:string" />
+                     <xsd:attribute name="notification-type" type="xsd:string"/>
+                     <xsd:attribute name="generic" type="xsd:integer" />
+                     <xsd:attribute name="specific" type="xsd:integer" />
+                     <xsd:attribute name="enterprise" type="xsd:string" />
+                     <xsd:attribute name="inform" type="xsd:boolean" />
+                     <xsd:attribute name="securityName" type="xsd:string" />
+                     <xsd:attribute name="name" type="xsd:string" />
+	                 <xsd:attribute name="definition-name" type="xsd:string" />
                      <xsd:element name="var-bind-list">
                         <xsd:complexType>
                            <xsd:sequence>
                               <xsd:element name="var-bind" maxOccurs="unbounded">
                                  <xsd:complexType>
                                     <xsd:sequence>
-                                       <xsd:element name="tag" type="xsd:string" />
-                                       <xsd:element name="oid" type="xsd:string" />
+                                       <xsd:attribute name="tag" type="xsd:string" />
+                                       <xsd:attribute name="oid" type="xsd:string" />
+                                       <xsd:attribute name="type" type="xsd:string" />
                                     </xsd:sequence>
                                  </xsd:complexType>
                               </xsd:element>



More information about the jboss-cvs-commits mailing list