Xmlschemaset not validating
Xmlschemaset not validating - developing and updating local formularies
I ran a small hot script that would post ID number to the URL and checked relevant returned html text for match.
Hi All, I had the following ID validation done by a student programmer for a specific form page, how can I add/change this ID validation to the file so that it works on ALL other forms needing the SA ID number?Substring(2 * i 1, 1)) Next b *= 2 Dim c As Integer = 0 Do c = b Mod 10 b = Int(b / 10) Loop Until b Does anybody know of a readily accessible portal at which a ID number can be checked against a known identity (without having to subscribe to ITC).The worked fine for me in order to confirm identity, as you could enter a valid ID and it would return First names and Surname along with voting district.Regards, Willem Hi Guys, I tried to find a SQL Implementation of this function but Google failed me but I still know one exists. Let me know what you think:-- =============================================-- Author: Craig Peacock-- Create date: 08/10/2007-- Description: This will validate a SA ID Number-- =============================================ALTER PROCEDURE [dbo].[VAL_S01_Validate SAIDNumber] @IDNumber VARCHAR (13)ASBEGIN /* This function was created from the function posted at: DECLARE @A INT -- ~Holds Negative Index numbers DECLARE @B INT -- ~Holds Positive Index numbers DECLARE @C INT DECLARE @D INT -- ~The check digit DECLARE @I INT -- ~Counter Variable SET @D = -1 SET @A = 0 SET @B = 0 BEGIN TRY PRINT 'Getting Negative Numbers____________________' SET @I = 0 WHILE (@I 0) BEGIN SET @C = @C @B % 10 SET @B = @B / 10 END --WHILE SET @C = @C @A SET @D = 10 - (@C % 10) IF (@D = 10) SET @D = 0 IF (CAST(SUBSTRING(@IDNumber, 13, 1) AS INT) = @D) RETURN 1 ELSE RETURN 0 END TRY BEGIN CATCH RETURN 0 END CATCH RETURN 0END Willem and Craig, I tried the SQL previously on the blog and it worked (old and new numbers).Craig's one doesn't seem to work though (unless it is a SQL version problem). It would appear that the tried and trusted rules don't work for ID numbers of people born after 1/1/2000.I do not know what the 'A' digit represents - for the old blue book id numbers, this digit is often other values (specially '0').
For the new id's, this is almost always '8' or '9'.
-- If the result is 2 digits, the last digit is used to compare against the last number in the ID Number.
-- If the answer differs, the ID number is invalid.
would be interesting to see how they enforce that.... An old ex Zimbo friend of mine is a permanant resident but long time ago lost his ID book. NET post to cater for erroneous id No's like 0000000024588Its not very ellegant and wont get us into the next century, but then again neither will VB. Public Function parse Id No(By Val id No As String) As Boolean Try Dim a As Integer = 0 For i As Integer = 0 To 5 a = CInt(id No.
When he wanted to replace it 10 years later DHA are demanding his ID number. Can anyone help using his DOB or permanant residence number. Substring(i * 2, 1)) Next Dim b As Integer = 0 For i As Integer = 0 To 5 b = b * 10 CInt(id No.
A valid year 2000 ID is: 0005205113086 for a birthdate: . James, Nice link - not only confirms whether the person attached to the ID number is married/single, but also whether the entered ID number is (a) valid, and (b) if valid whether it is a real live ID number.