No the generator was a regular XML document. Since I'm writing a web based TV grid it was easier (and made more sense) to just put this large amount of XML data into my database then use XSP to just query it out.
Works much faster.. and works really well too! I've got a complete grid with channel paging and everything. The only problems Ive run into so far is that some programs you get from XMLTV dont specify a stop time.. so if something doesnt have a stop time I dont have any way of getting the duration. Anyways.. problem solved (sorta) .. dont use a 6MB XML file as a generator :) Thanks, - Brent > -----Original Message----- > From: Hugo Burm [mailto:[EMAIL PROTECTED] > Sent: Thursday, January 29, 2004 12:40 PM > To: [EMAIL PROTECTED] > Subject: RE: Large XML File as Generator > > > You did refer to XSP below, so, is it an XSP or an XML file > (are you using "file" or "serverpages" in the generator)? An > XSP file will be compiled into a Java class which cannot be > larger than 64 kb. May be your are including your large XML > file into your XSP file. > > Hugo Burm > > > > > -----Original Message----- > > From: Brent L Johnson [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, January 27, 2004 9:32 PM > > To: [EMAIL PROTECTED] > > Subject: Large XML File as Generator > > > > > > Does anyone know why I get the following when I attempt to > use a large > > XML file as a generator? (a blank page in my browser that > looks like > > this...) > > > > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> > > <HTML><HEAD> <META http-equiv=Content-Type content="text/html; > > charset=utf-8"></HEAD> <BODY></BODY></HTML> > > > > I get no errors or anything else.. this only happens with > large files. > > If I cut the file down it works just fine. I've seen this > behavior on > > different machines for different projects (the last time > was trying to > > use XSP/esql to process about 10K database rows). > > > > I'm using Cocoon to process XMLTV results to view > > a television grid. I have DirecTV with quite a few > > channels, and 7 days of TV data in XML format turns out > > to be a 5.8MB file. > > > > I think I'll probably just write something that just > > parses this file and dumps the data into a database > > and go from there.. but this is the second time I've noticed this > > behavior. > > > > Thanks, > > > > - Brent > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
