-
XML Schema integer datatype
Hi,
In my schema file, I need to specify the integer range as
<xs attern value="[-1,0,1,2,3,4,5]{1}" />
When I pass -1 in the XML file, an error is thrown "The "Type" element is invalid. The value '-1' is invalid according to its datatype 'int' - the pattern constraint failed.
Please help me
Similar Threads
-
By stone cold in forum VB Classic
Replies: 6
Last Post: 12-22-2006, 11:49 AM
-
Replies: 3
Last Post: 04-08-2006, 06:38 PM
-
By teclioness in forum .NET
Replies: 0
Last Post: 10-07-2005, 07:10 AM
-
Replies: 146
Last Post: 08-12-2002, 10:40 PM
-
By Rob Teixeira in forum .NET
Replies: 129
Last Post: 06-06-2002, 05:23 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks