Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries >Thread Prev - Re: XmlTextReader.Read() = Index was outside the bounds of the arr [Thread Next] Re: XmlTextReader.Read() = Index was outside the bounds of the arrTo: NULL Date: 5/1/2008 5:49:00 AM Actually i mean by this, is there is any way so that we can break xml files in smaller sizes maintaining it well formedness so that we can work with those files. "Sam Hobbs" wrote: > Then you should not have said "Please Let us know if there is any other > approach". > > > "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 > >> >> > > > >> >> > > > >> >> > > > >> > > >> > >> > >> > >> > > > > > > | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
