W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > July to September 2002

XML attributes

From: Shahrzad Molavi <shahrzad@bamdadcomputer.com>
Date: Tue, 27 Aug 2002 09:25:00 -0600
Message-Id: <>
To: W3C XML Schema Comments list <www-xml-schema-comments@w3.org>

To Whom It May Concern:
I have a question about the " Xml Attributes"
How could I check the null or minOccurs or maxlength with XML or XML Schema 
or DTD? When I change the value to null or the value exceeds the maxlength 
constraint, parser does not raise any error, why? (Parser: 
MSXML)<?xml:namespace prefix = o ns = 
"urn:schemas-microsoft-com:office:office" />

For example:
<s:AttributeType name="CharacterName" rs:number="2" rs:nullable="false" >
     <s:datatype dt:type="string" dt:maxLength="2"/>
         <z:row ID="1" CharacterName="John Smith" />
Thanks to everyone who has helps with this draft!
Received on Tuesday, 27 August 2002 16:26:18 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:50:00 UTC