File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / libxml2 / test / schemas / decimal-1.xml
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Tue Feb 21 23:37:59 2012 UTC (12 years, 5 months ago) by misho
Branches: libxml2, MAIN
CVS tags: v2_9_1p0, v2_9_1, v2_8_0p0, v2_8_0, v2_7_8, HEAD
libxml2

<?xml version="1.0"?>
<!-- test the values:
	  -  BAD
	  +  BAD
	  1.
	  .1
	  0.
	  .0
	  - 1 BAD
	  + 1 BAD
	  .   BAD
	  000  !
	-->
<foo
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:noNamespaceSchemaLocation="decimal-1.xsd">
	<!-- The good ones. -->
	<val> 0. </val>
	<val> .0 </val>
	<val> .10 </val>
	<val> 01. </val>
	<val> 000 </val>	
	<val>123456789012345678</val>
	<val>-123456789012345678</val>
	<val>0.123456789012345678</val>
	<val>-0.123456789012345678</val>
	<!-- The bad ones. -->
	<val>.</val>
	<val>-</val>
	<val>+</val>
	<val>*</val>
	<val>- 1</val>
	<val>+ 1</val>
	<val>+ 0</val>
	<val>- 0</val>
	<!--ref>0.0</ref-->	
</foo>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>