W3C home > Mailing lists > Public > xmlschema-dev@w3.org > November 2001

RE: Information about enumeration list in XSD

From: Ashok Malhotra <ashokma@microsoft.com>
Date: Fri, 30 Nov 2001 09:38:02 -0800
Message-ID: <E5B814702B65CB4DA51644580E4853FB0104073C@red-msg-12.redmond.corp.microsoft.com>
To: "Prashanth N" <prashanth.swamy@wipro.com>, <jason@injektilo.org>, <xmlschema-dev@w3.org>
Cc: <rajiv.mallik@wipro.com>
Depending on how you write your transformation program, the data will
get written in the XML file but it will nor validate against the Schema.

All the best, Ashok 
===========================================================
Ashok Malhotra              <mailto: ashokma@microsoft.com> 
Microsoft Corporation


-----Original Message-----
From: Prashanth N [mailto:prashanth.swamy@wipro.com] 
Sent: Thursday, November 29, 2001 1:35 PM
To: jason@injektilo.org; xmlschema-dev@w3.org
Cc: rajiv.mallik@wipro.com; prashanth.swamy@wipro.com
Subject: Information about enumeration list in XSD


Hi,

I got your mail id's  from lists.w3.org. Basically we are doing a data
transformation from a flat file to an XML file. The XSD for this XML
data has an enumeration list value's namely "A", "C" and "D". 

My question is if the flat file passes a data other than "A" or "C" or
"D" (say "B" or "Z" etc.,), will this data gets written into the XML
file ?
In short, will XML handle this ?

Please answer this query. I appreciate your reply.

Regards
Prashanth 
Received on Friday, 30 November 2001 12:39:10 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 16 March 2009 11:13:19 GMT