From: Jimmy Z. <cra...@co...> - 2006-08-17 20:18:43
|
one of the early email from din sush asks about how to split a large file into smaller ones then I thought about it and felt that a better solution (than current VTD-XML or Woodstox) can indeed be built.... the basic idea is to record only the offset and length of an element when splitting, so it doesn't need to read the whole thing into memory like VTD-XML did, nor does it need to need to perform decode/re-encoding and string creation like Pull.... after retaining the offset and length, just copy the file segment into separate files.... what do you guys think? ----- Original Message ----- From: "Tatu Saloranta" <cow...@ya...> To: "Jimmy Zhang" <cra...@co...>; <vtd...@li...> Sent: Wednesday, August 16, 2006 5:39 PM Subject: Re: [Vtd-xml-users] Fw: Problems with VDT (fwd) > > The problem looks like someone is trying to use JDK > 1.4 with jars compiled on 1.5 (or similarly for 1.4 > and 1.3 etc). > > -+ Tatu +- > > --- Jimmy Zhang <cra...@co...> wrote: > >> >> ----- Original Message ----- >> From: Jimmy Zhang >> To: pau...@ci... >> Sent: Wednesday, August 16, 2006 11:41 AM >> Subject: Re: Problems with VDT (fwd) >> >> >> Hi, Can you elaborate on the set up of your >> environment? >> Did you point the classpath to the right place?? >> >> cheers, >> Jzhang >> ----- Original Message ----- >> From: sa...@xi... >> To: jz...@xi... >> Sent: Wednesday, August 16, 2006 11:39 AM >> Subject: Problems with VDT (fwd) >> >> >> >> I've tried using your parser (I'm using what I >> think is the most recent >> version of the .zip file, 1.6) and keep getting an >> exception at compile >> time: >> >> >> >> UnsupportedClassVersionError: >> com/ximpleware/VTDGen (Unsupported >> major.minor version 49.0) >> >> >> >> I get the same error when I try to compile the >> examples. It's >> apparently looking for Version 48 and one (or >> more) of the classes in >> the zip is set to v.49. Is there anything I can >> do to get around this? >> Rebuild the source? >> >> >> >> Thanks, >> >> >> >> Paul Uzee >> >> Cingular Wireless >> >> >> >> >> >> Paul Uzee >> >> >> >> Cell >> >> 404-771-1833, >> 770-380-6572 or >> >> 404-754-4704 >> >> Home >> >> 770-454-6559 >> >> iPager >> >> pu...@im... >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> > ------------------------------------------------------------------------------ >> >> >> I've tried using your parser (I'm using what I >> think is the most recent version of the .zip file, >> 1.6) and keep getting an exception at compile time: >> >> >> >> UnsupportedClassVersionError: >> com/ximpleware/VTDGen (Unsupported major.minor >> version 49.0) >> >> >> >> I get the same error when I try to compile the >> examples. It's apparently looking for Version 48 >> and one (or more) of the classes in the zip is set >> to v.49. Is there anything I can do to get around >> this? Rebuild the source? >> >> >> >> Thanks, >> >> >> >> Paul Uzee >> >> Cingular Wireless >> >> >> >> >> >> Paul Uzee >> >> >> Cell >> 404-771-1833, >> 770-380-6572 or >> >> 404-754-4704 >> >> Home >> 770-454-6559 >> >> iPager >> pu...@im... >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> > > ------------------------------------------------------------------------- >> Using Tomcat but need to do more? Need to support >> web services, security? >> Get stuff done quickly with pre-integrated >> technology to make your job easier >> Download IBM WebSphere Application Server v.1.0.1 >> based on Apache Geronimo >> > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642> > _______________________________________________ >> Vtd-xml-users mailing list >> Vtd...@li... >> > https://lists.sourceforge.net/lists/listinfo/vtd-xml-users >> > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > |