[jboss-svn-commits] JBL Code SVN: r22757 - labs/jbossesb/branches/JBESB_4_4_GA_CP/product/etc/schemas/xml.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Sun Sep 14 11:05:45 EDT 2008


Author: tcunning
Date: 2008-09-14 11:05:44 -0400 (Sun, 14 Sep 2008)
New Revision: 22757

Modified:
   labs/jbossesb/branches/JBESB_4_4_GA_CP/product/etc/schemas/xml/jbossesb-1.0.1.xsd
Log:
JBESB-2028
Limit Service Name / Service Category / Service Description to 255 character - 
they are limited to that length in jUDDI.


Modified: labs/jbossesb/branches/JBESB_4_4_GA_CP/product/etc/schemas/xml/jbossesb-1.0.1.xsd
===================================================================
--- labs/jbossesb/branches/JBESB_4_4_GA_CP/product/etc/schemas/xml/jbossesb-1.0.1.xsd	2008-09-14 10:54:00 UTC (rev 22756)
+++ labs/jbossesb/branches/JBESB_4_4_GA_CP/product/etc/schemas/xml/jbossesb-1.0.1.xsd	2008-09-14 15:05:44 UTC (rev 22757)
@@ -269,7 +269,7 @@
 				<xsd:element maxOccurs="1" minOccurs="0"
 					ref="jesb:actions" />
 			</xsd:sequence>
-			<xsd:attribute name="category" type="xsd:string"
+			<xsd:attribute name="category"
 				use="required">
 				<xsd:annotation>
 					<xsd:documentation xml:lang="en">
@@ -277,8 +277,13 @@
 						a reference to this service in the registry.
 					</xsd:documentation>
 				</xsd:annotation>
+                                <xsd:simpleType>
+                                        <xsd:restriction base="xsd:string">
+                                                <xsd:maxLength value="255"/>
+                                        </xsd:restriction>
+				</xsd:simpleType>
 			</xsd:attribute>
-			<xsd:attribute name="name" type="xsd:string"
+			<xsd:attribute name="name"
 				use="required">
 				<xsd:annotation>
 					<xsd:documentation xml:lang="en">
@@ -286,8 +291,13 @@
 						reference to this service in the registry.
 					</xsd:documentation>
 				</xsd:annotation>
+                                <xsd:simpleType>
+                                        <xsd:restriction base="xsd:string">
+                                                <xsd:maxLength value="255"/>
+                                        </xsd:restriction>
+                                </xsd:simpleType>
 			</xsd:attribute>
-			<xsd:attribute name="description" type="xsd:string"
+			<xsd:attribute name="description"
 				use="required">
 				<xsd:annotation>
 					<xsd:documentation xml:lang="en">
@@ -296,6 +306,11 @@
 						this service can be understood by a human.
 					</xsd:documentation>
 				</xsd:annotation>
+                                <xsd:simpleType>
+                                        <xsd:restriction base="xsd:string">
+                                                <xsd:maxLength value="255"/>
+                                        </xsd:restriction>
+                                </xsd:simpleType>
 			</xsd:attribute>
             <xsd:attribute name="invmScope" type="jesb:invmScope" use="optional">
                 <xsd:annotation>




More information about the jboss-svn-commits mailing list