You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by am...@apache.org on 2007/10/16 07:52:56 UTC
svn commit: r585049 -
/webservices/axis2/trunk/java/modules/adb-codegen/test-resources/testsuite/restrictions.xsd
Author: amilas
Date: Mon Oct 15 22:52:55 2007
New Revision: 585049
URL: http://svn.apache.org/viewvc?rev=585049&view=rev
Log:
added a test element to restriction.xsd
Modified:
webservices/axis2/trunk/java/modules/adb-codegen/test-resources/testsuite/restrictions.xsd
Modified: webservices/axis2/trunk/java/modules/adb-codegen/test-resources/testsuite/restrictions.xsd
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/adb-codegen/test-resources/testsuite/restrictions.xsd?rev=585049&r1=585048&r2=585049&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/adb-codegen/test-resources/testsuite/restrictions.xsd (original)
+++ webservices/axis2/trunk/java/modules/adb-codegen/test-resources/testsuite/restrictions.xsd Mon Oct 15 22:52:55 2007
@@ -160,5 +160,26 @@
<xsd:element name="PersonElement" type="tns:Person"/>
+ <xsd:element name="SMSElement">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="EndDate" type="tns:WSTypeDate" nillable="true"/>
+ <xsd:element name="SMS_Provider" type="tns:WSTypeChar3" nillable="true"/>
+ </xsd:sequence>
+ </xsd:complexType>
+ </xsd:element>
+
+ <xsd:simpleType name="WSTypeDate">
+ <xsd:restriction base="xsd:date">
+ <xsd:pattern value='[0-9]{4}-[0-9]{2}-[0-9]{2}'/>
+ </xsd:restriction>
+ </xsd:simpleType>
+
+ <xsd:simpleType name="WSTypeChar3">
+ <xsd:restriction base="xsd:string">
+ <xsd:maxLength value="3"/>
+ </xsd:restriction>
+ </xsd:simpleType>
+
</xsd:schema>
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org