W3C home > Mailing lists > Public > xmlschema-dev@w3.org > December 2002

White chars in XML field of type long

From: <Leslaw.Winiarski@pse.pl>
Date: Tue, 17 Dec 2002 16:31:57 +0100
Message-ID: <968A347B400B2A49BFC6027DA195C974EA3FAE@cens001>
To: xmlschema-dev@w3.org

> Is it possible in XML standard document to have blank ("white-chars")
> spaces before numers in fields which base (simple) type is 'long'. I  use
> the specyfication from http://www.w3.org/TR/xmlschema-2/#long) 
> 
> Below there is a specyfication in XML Schema of the field and a usage that
> is under consideration to be prooper or not. This rule is neded for a
> validator. 
> XML Schema:
> <element name="Ehi" nullable="true">
> 	<simpleType>
> 		<restriction base="long">
> 			<precision value="5"/>
> 		</restriction>
> 	</simpleType>
> </element>
> 
> XML Document:
> <Ehi> 200</EHi>
> 
> I hope the information above is precise enought to give me  an advice.
> Thanks in advance. 
> 
> 
> Lesław Winiarski 
> Grid Operation Department
> PSE SA tel. +48 (27) 222 15 73, fax. +48 (27) 222 25 38
> 
Received on Tuesday, 17 December 2002 10:42:11 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:35 GMT