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, 8 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

    1: <?xml version="1.0"?>
    2: <!-- test the values:
    3: 	  -  BAD
    4: 	  +  BAD
    5: 	  1.
    6: 	  .1
    7: 	  0.
    8: 	  .0
    9: 	  - 1 BAD
   10: 	  + 1 BAD
   11: 	  .   BAD
   12: 	  000  !
   13: 	-->
   14: <foo
   15: 	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   16: 	xsi:noNamespaceSchemaLocation="decimal-1.xsd">
   17: 	<!-- The good ones. -->
   18: 	<val> 0. </val>
   19: 	<val> .0 </val>
   20: 	<val> .10 </val>
   21: 	<val> 01. </val>
   22: 	<val> 000 </val>	
   23: 	<val>123456789012345678</val>
   24: 	<val>-123456789012345678</val>
   25: 	<val>0.123456789012345678</val>
   26: 	<val>-0.123456789012345678</val>
   27: 	<!-- The bad ones. -->
   28: 	<val>.</val>
   29: 	<val>-</val>
   30: 	<val>+</val>
   31: 	<val>*</val>
   32: 	<val>- 1</val>
   33: 	<val>+ 1</val>
   34: 	<val>+ 0</val>
   35: 	<val>- 0</val>
   36: 	<!--ref>0.0</ref-->	
   37: </foo>

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