Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: XmlTextReader.Read() = Index was outside the bounds of the arr

From: "Sam Hobbs" <samuel@------.--.---_------_------_--_----->
To: NULL
Date: 5/3/2008 3:49:00 AM

I have seen questions asking how to modify C++'s fstreams to allow use of 
files greater than 2 GB in size. That of course would be implemented in the 
source code, so it would not help you, except it is likely confirmation of 
what Stephen said.


"neerajb@n..." 
<neerajbnoidanospamhcltechcom@d...> wrote in message 
news:B499225A-8B15-4CAD-B304-C1CBC5D9F30B@m......
> XMLtextreader works like SAX parser only. It looks like that there is
> iimplementation bug in XMLtext reader so that it is not able to parse the
> files greater than 2 GB.
>
> The problem wit hus that we are final stages of project and we are not in
> condition to change existing implementation, we need to look for some
> workaround which will fix it.
>
> "Sam Hobbs" wrote:
>
>> Perhaps SAX, but I am not sure.
>>
>> The reason I suspect SAX might work is because it reads XML sequentially
>> instead of loading an entire document into memory.
>>
>>
>> "neerajb@n..."
>> <neerajbnoidanospamhcltechcom@d...> wrote in message
>> news:5F2C6AC8-60C3-48AA-9A1C-2218B1DFB218@m......
>> > Please Let us know if there is any other approach of parsing files 
>> > greater
>> > than 2 GB otehr than XMLtextreader in .NET 1.1 .
>> >
>> > "neerajb@n..." wrote:
>> >
>> >> Can anybody from microsoft confirm that XMLTextreader in .NET 1.1 
>> >> version
>> >> cannot read xml files greater than 2GB ?
>> >> It's very critical from our project point of view.
>> >>
>> >> "Brian Kitt" wrote:
>> >>
>> >> > I know I am not using .net framework 2.0, that is why i said '(sans
>> >> > .NET
>> >> > Framework 2.x)'.  Sans means 'without'.
>> >> >
>> >> >
>> >> > "Zafar Abbas" wrote:
>> >> >
>> >> > > It seems from the stack trace that you are not using .net 
>> >> > > framework
>> >> > > 2.0,
>> >> > > since one of the method on the stack is present only in .net
>> >> > > framework 1.1.
>> >> > >
>> >> > > "Brian Kitt" <BrianKitt@d...> wrote in 
>> >> > > message
>> >> > > news:99CE6ABC-B5D1-4000-9AA8-E4906C27055A@m......
>> >> > > > I sporadically get 'Index was outside the bounds of the array' 
>> >> > > > on
>> >> > > > an
>> >> > > > XmlTextReader Read() statement.  I looked through Microsoft, and
>> >> > > > couldn't
>> >> > > > find any hits.  I am at latest maintenance (sans .NET Framework
>> >> > > > 2.x)
>> >> > > Windows
>> >> > > > Server 2003.  Below is my StackTrace:
>> >> > > >
>> >> > > > at System.Xml.XmlTextReader.SetElementValues()
>> >> > > > at System.Xml.XmlTextReader.ParseElement()
>> >> > > > at System.Xml.XmlTextReader.Read()
>> >> > > > at AuctionShark.LoadFeed.BuySplit..ctor(String FeedStore, String
>> >> > > > Location,
>> >> > > > String Tag) in
>> >> > >
>> >> > >
>> >> > >
>> >
>>
>>
>>
>>
> 





transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent