- From: Ashok Malhotra <ashokma@microsoft.com>
- Date: Tue, 23 Oct 2001 14:11:56 -0700
- To: "Rajendra" <rajendrabp@samyog.com>, <xmlschema-dev@w3.org>
If the datatype of the attribute is defined as xsd:string or a datatype derived from xsd:string then the empty string is a legal value and will validate. Otherwise it will not. Ashok -----Original Message----- From: Rajendra [mailto:rajendrabp@samyog.com] Sent: Mon 10/22/2001 10:34 PM To: xmlschema-dev@w3.org Cc: Subject: attribute validation hi there , let me give an example ... <xs:attribute name="name" type="xs:string" use="required"/> the above example is definition of attribute element of an element called column.Since attribute name is required in every instance of column element it is defined as required.I want to know is it possible to validate this attribute value when it is assigned null value such as this <column name =""/> I do not want any null values to be enrtered over there....at least some text string should be there ...so how to do this validation?????? regards, rajendra
Received on Tuesday, 23 October 2001 17:16:54 UTC