public RandomXmlStream(int seed)
        {
            _names  = new Stack();
            _buffer = new FifoBuffer();
            _isDone = false;
            _rand   = new Random(seed);

            if (GetRandomBool())
            {
                BuildXmlDeclaration();
            }

            _stage     = XmlStage.BeforeMainDocument;
            _nodeCount = GetRandomExp(6);
        }
        public RandomXmlStream(int seed)
        {
            _names = new Stack();
            _buffer = new FifoBuffer();
            _isDone = false;
            _rand = new Random(seed);

            if (GetRandomBool())
            {
                BuildXmlDeclaration();
            }

            _stage = XmlStage.BeforeMainDocument;
            _nodeCount = GetRandomExp(6);
        }