You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@xerces.apache.org by Boris Garbuzov <bo...@keystrokenet.com> on 2000/03/22 18:27:27 UTC

Bug in tutorial

Thanks to those who advised me a tutorial
http://metalab.unc.edu/xml/slides/sd2000west/xmlandjava/189.html.
Just the code lines
    BigInteger low  = BigInteger.ZERO;
    BigInteger high = BigInteger.ONE;
need to be changed into
    BigInteger low  = new BigInteger ("0");
    BigInteger high = new BigInteger ("1");



Re: Bug in tutorial

Posted by Elliotte Rusty Harold <el...@metalab.unc.edu>.
>Thanks to those who advised me a tutorial
>http://metalab.unc.edu/xml/slides/sd2000west/xmlandjava/189.html.
>Just the code lines
>    BigInteger low  = BigInteger.ZERO;
>    BigInteger high = BigInteger.ONE;
>need to be changed into
>    BigInteger low  = new BigInteger ("0");
>    BigInteger high = new BigInteger ("1");

Those lines require Java 1.2 where BigInteger.ZERO and BigInteger.ONE 
were added. For Java 1.1, the changes you suggest should work.


+-----------------------+------------------------+-------------------+
| Elliotte Rusty Harold | elharo@metalab.unc.edu | Writer/Programmer |
+-----------------------+------------------------+-------------------+
|                  The XML Bible (IDG Books, 1999)                   |
|              http://metalab.unc.edu/xml/books/bible/               |
|   http://www.amazon.com/exec/obidos/ISBN=0764532367/cafeaulaitA/   |
+----------------------------------+---------------------------------+
|  Read Cafe au Lait for Java News:  http://metalab.unc.edu/javafaq/ |
|  Read Cafe con Leche for XML News: http://metalab.unc.edu/xml/     |
+----------------------------------+---------------------------------+