You can subscribe to this list here.
2006 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(2) |
Jun
(6) |
Jul
(21) |
Aug
(40) |
Sep
(7) |
Oct
(41) |
Nov
(52) |
Dec
(19) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2007 |
Jan
(49) |
Feb
(37) |
Mar
(84) |
Apr
(11) |
May
(29) |
Jun
(9) |
Jul
(19) |
Aug
(9) |
Sep
(6) |
Oct
(5) |
Nov
(15) |
Dec
(3) |
2008 |
Jan
(7) |
Feb
(11) |
Mar
(25) |
Apr
(50) |
May
(7) |
Jun
(8) |
Jul
(10) |
Aug
(18) |
Sep
(1) |
Oct
(15) |
Nov
(1) |
Dec
(9) |
2009 |
Jan
(5) |
Feb
(2) |
Mar
(3) |
Apr
(5) |
May
(10) |
Jun
(4) |
Jul
(5) |
Aug
(5) |
Sep
(7) |
Oct
(15) |
Nov
(13) |
Dec
(6) |
2010 |
Jan
|
Feb
(3) |
Mar
(4) |
Apr
(6) |
May
|
Jun
(4) |
Jul
(12) |
Aug
(8) |
Sep
|
Oct
(1) |
Nov
(1) |
Dec
(1) |
2011 |
Jan
(19) |
Feb
(39) |
Mar
(28) |
Apr
(6) |
May
(7) |
Jun
(9) |
Jul
|
Aug
(1) |
Sep
|
Oct
(8) |
Nov
(3) |
Dec
(12) |
2012 |
Jan
(2) |
Feb
(1) |
Mar
(3) |
Apr
(4) |
May
(4) |
Jun
(3) |
Jul
(10) |
Aug
(2) |
Sep
(13) |
Oct
(24) |
Nov
(3) |
Dec
(1) |
2013 |
Jan
(11) |
Feb
(5) |
Mar
(4) |
Apr
(3) |
May
(3) |
Jun
(5) |
Jul
(7) |
Aug
(16) |
Sep
|
Oct
(7) |
Nov
(11) |
Dec
|
2014 |
Jan
(7) |
Feb
(4) |
Mar
|
Apr
|
May
(4) |
Jun
|
Jul
|
Aug
(1) |
Sep
(3) |
Oct
|
Nov
(3) |
Dec
|
2015 |
Jan
|
Feb
|
Mar
(1) |
Apr
(11) |
May
(8) |
Jun
(3) |
Jul
(1) |
Aug
(3) |
Sep
(5) |
Oct
(2) |
Nov
(1) |
Dec
(1) |
2016 |
Jan
(1) |
Feb
(1) |
Mar
|
Apr
(3) |
May
(7) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(6) |
Nov
|
Dec
|
2017 |
Jan
|
Feb
|
Mar
(5) |
Apr
|
May
(2) |
Jun
|
Jul
(4) |
Aug
|
Sep
(2) |
Oct
|
Nov
|
Dec
|
2018 |
Jan
|
Feb
(2) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(2) |
Dec
|
2019 |
Jan
(1) |
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2022 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Jimmy Z. <cra...@co...> - 2006-10-27 20:10:52
|
----- Original Message ----- From: "Jimmy Zhang" <cra...@co...> To: "John Kraal - Kewill Interchain NL" <jk...@in...> Sent: Friday, October 27, 2006 10:51 AM Subject: Re: [Vtd-xml-users] Unix distributable package vtd-xml > Thanks! Will do what you suggested in the upcoming releases... > ----- Original Message ----- > From: "John Kraal - Kewill Interchain NL" <jk...@in...> > To: <vtd...@li...> > Sent: Friday, October 27, 2006 1:46 AM > Subject: [Vtd-xml-users] Unix distributable package vtd-xml > > >> Hello, >> >> I've finished building the package; I have included the distributable >> package, based on the vtd-xml from sf.net about last week. >> >> Please, let me know if there are any problems with configure or >> installation. I have tested this package on debian-sarge, Gentoo, Fedora >> Core 3-smp and AIX 5.1. It currently fails on HP-UX, I'll have to look >> into that, because that will require a bit of rewriting. >> >> Remember that I've built this package for Linux/Unix only, all >> windows-platform files have been removed because all paths to the files >> changed anyway, the project files _have_ to be rebuild. >> >> For future development I'd like to ask _not_ to use //-style comment >> anymore. That was introduced in C++, and most C compilers fail. Another >> thing is to never declare variable halfway through a function, except >> when the line before contains a { (without a if, while, etc) and the >> block is ended with }. Sticking to these simple rules will make sure the >> library keeps compiling on AIX. >> >> Kind Regards, >> John Kraal >> > > > -------------------------------------------------------------------------------- > > >> ------------------------------------------------------------------------- >> 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 >> > |
From: John K. - K. I. NL <jk...@in...> - 2006-10-27 08:47:10
|
Hello, I've finished building the package; I have included the distributable package, based on the vtd-xml from sf.net about last week. Please, let me know if there are any problems with configure or installation. I have tested this package on debian-sarge, Gentoo, Fedora Core 3-smp and AIX 5.1. It currently fails on HP-UX, I'll have to look into that, because that will require a bit of rewriting. Remember that I've built this package for Linux/Unix only, all windows-platform files have been removed because all paths to the files changed anyway, the project files _have_ to be rebuild. For future development I'd like to ask _not_ to use //-style comment anymore. That was introduced in C++, and most C compilers fail. Another thing is to never declare variable halfway through a function, except when the line before contains a { (without a if, while, etc) and the block is ended with }. Sticking to these simple rules will make sure the library keeps compiling on AIX. Kind Regards, John Kraal |
From: Jimmy Z. <cra...@co...> - 2006-10-27 07:54:56
|
John, Can you put togehter a test case so I can test it out on my machine? Thanks, jimmy ----- Original Message ----- From: "John Kraal - Kewill Interchain NL" <jk...@in...> To: "Jimmy Zhang" <cra...@co...>; "Pieter Bas Kappel" <pk...@in...> Sent: Friday, October 27, 2006 12:22 AM Subject: Re: [Vtd-xml-users] vtdNav's getText(); > The point is, the node has text, and I suppose that it has to be found > (it's there :P) > > With a little readjustment the code looks like this: > > if (!selectXPath(ap,L"//*")) > return 1; > > bind(ap, vn); > while ((result = evalXPath(ap)) != -1) > { > elementName = toString(vn, result); > t = getText(vn); > if (t != -1) > { > elementValue = toNormalizedString(vn,t); > wprintf(L"r: %d e: %ls (%d): %ls \n", > result, > elementName, > t, > elementValue); > free(elementName); > free(elementValue); > } > count++; > } > > the XML which I created this for this purpose: > > <?xml version="1.0" encoding="UTF-8"?> > <root> > <thing attr="value"> > <subnode attr="value">Some textual data</subnode> > <anothersubnode>Some more textual data</subnode> > </thing> > <thing attr="second value"> > <subnode attr="value">even more textual data</subnode> > <anothersubnode>Even more more textual data</subnode> > </thing> > </root> > > Output: > > unims@gxvm1:~/src/xmltest$ ./test ./test.xml > size of the file is 341 bytes > > While the output with the supplied servers.xml is: > > unims@gxvm1:~/src/xmltest$ ./test servers.xml > size of the file is 7638 bytes > r: 19 e: title (20): Network World on Servers > r: 21 e: link (22): http://www.nwfusion.com/topics/servers.html > r: 23 e: description (24): The latest server news, analysis, reviews and > feature articles from Network World Fusion. > [..] > r: 212 e: description (213): Click here to see what Gartner, Network > World and other experts say about the new data center. > r: 215 e: dc:date (216): 2004-04-12T00:00:00Z > > Total number of elements 97 > > I don't actually see the problem > > Regards, > John > > Jimmy Zhang wrote: >> since VTD-XML uses integer to address a VTD record, >> in cases where the lookup returns nothing, VTDnav returns -1. >> It is equivalent to NULL in DOM... >> ----- Original Message ----- From: "John Kraal - Kewill Interchain NL" >> <jk...@in...> >> To: <vtd...@li...> >> Sent: Thursday, October 26, 2006 7:32 AM >> Subject: [Vtd-xml-users] vtdNav's getText(); >> >> >>> Hello, >>> >>> I'm busy recomposing the vtd-xml package for linux and unix with >>> autotools and strict c-compiler-thingies. It's almost working now, but >>> I've encountered this and have not yet been able to figure out why this >>> happens. >>> >>> I've got this piece of code (straight from the code sample): >>> >>> t = getText(vn); >>> wprintf(L"t: %d\n", t); >>> if (t != -1) >>> { >>> tmpString = toNormalizedString(vn,t); >>> wprintf(L" text ==> %ls \n", tmpString); >>> free(tmpString); >>> } >>> >>> Somehow getText _always_ returns -1; the file is generated by libxml2 >>> and utf-8 encoded. Could somebody please help me locate or explain this >>> problem? >>> >>> Regards, >>> >>> John Kraal >>> >>> ------------------------------------------------------------------------- >>> 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 >>> >> >> > |
From: Jimmy Z. <cra...@co...> - 2006-10-27 02:46:52
|
do you still have the same issue compiling v 1.7?? ----- Original Message ----- From: "Jimmy Zhang" <cra...@co...> To: "Chinh Ho" <ho_...@ho...> Cc: <vtd...@li...> Sent: Wednesday, October 25, 2006 11:14 AM Subject: Re: [Vtd-xml-users] vtd-xml 1.7 compiling > The file size must have been greater than 2GB, as the size of file becomes > negative (> 0x7fffffff), have to look into the other problem > ----- Original Message ----- > From: "Chinh Ho" <ho_...@ho...> > To: <cra...@co...> > Cc: <vtd...@li...> > Sent: Wednesday, October 25, 2006 10:16 AM > Subject: Re: vtd-xml 1.7 compiling > > >> For 1.7_c_light, there is no errors. However, when I run the benchmark >> to >> open a 2 Gig xml file, it displayed "size of the file is -1841250597". >> That's an error. >> >> For 1.7_c, the errors are on the l8.* files. For example, one of the >> errors is: >> >> l8.y(583) : error C2065: 'xpathInputPtr' : undeclared identifier >> >> >>>From: "Jimmy Zhang" <cra...@co...> >>>To: "Chinh Ho" <ho_...@ho...> >>>CC: <vtd...@li...> >>>Subject: Re: vtd-xml 1.7 compiling >>>Date: Wed, 25 Oct 2006 09:46:16 -0700 >>> >>>What is the error message? >>>----- Original Message ----- From: "Chinh Ho" <ho_...@ho...> >>>To: <cra...@co...>; <vtd...@li...> >>>Sent: Wednesday, October 25, 2006 8:04 AM >>>Subject: vtd-xml 1.7 compiling >>> >>> >>>>Hi Jimmy, >>>>I downloaded 2 versions of the vtd-xml 1.7, ximpleware_1.7_c and >>>>ximpleware_1.7_c_light. The 1.7_c is for Unix / Linux OS, isn't it? >>>>The >>>>1.7_c_light is for Windows OS? >>>> >>>>I could not compile the 1.7_c under Windows. I am using WinXP and >>>>MSVC2005. >>>> >>>>If both of them are for windows, how do I compile them? >>>> >>>>Do you have any instructions? Readme? >>>> >>>>Thanks >>>> >>>>_________________________________________________________________ >>>>Try Search Survival Kits: Fix up your home and better handle your cash >>>>with Live Search! >>>>http://imagine-windowslive.com/search/kits/default.aspx?kit=improve&locale=en-US&source=hmtagline >>>> >>>> >>> >>> >> >> _________________________________________________________________ >> Try the next generation of search with Windows Live Search today! >> http://imagine-windowslive.com/minisites/searchlaunch/?locale=en-us&source=hmtagline >> >> > > > > ------------------------------------------------------------------------- > 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 > |
From: Jimmy Z. <cra...@co...> - 2006-10-26 17:50:18
|
since VTD-XML uses integer to address a VTD record, in cases where the lookup returns nothing, VTDnav returns -1. It is equivalent to NULL in DOM... ----- Original Message ----- From: "John Kraal - Kewill Interchain NL" <jk...@in...> To: <vtd...@li...> Sent: Thursday, October 26, 2006 7:32 AM Subject: [Vtd-xml-users] vtdNav's getText(); > Hello, > > I'm busy recomposing the vtd-xml package for linux and unix with > autotools and strict c-compiler-thingies. It's almost working now, but > I've encountered this and have not yet been able to figure out why this > happens. > > I've got this piece of code (straight from the code sample): > > t = getText(vn); > wprintf(L"t: %d\n", t); > if (t != -1) > { > tmpString = toNormalizedString(vn,t); > wprintf(L" text ==> %ls \n", tmpString); > free(tmpString); > } > > Somehow getText _always_ returns -1; the file is generated by libxml2 > and utf-8 encoded. Could somebody please help me locate or explain this > problem? > > Regards, > > John Kraal > > ------------------------------------------------------------------------- > 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 > |
From: John K. - K. I. NL <jk...@in...> - 2006-10-26 14:32:56
|
Hello, I'm busy recomposing the vtd-xml package for linux and unix with autotools and strict c-compiler-thingies. It's almost working now, but I've encountered this and have not yet been able to figure out why this happens. I've got this piece of code (straight from the code sample): t = getText(vn); wprintf(L"t: %d\n", t); if (t != -1) { tmpString = toNormalizedString(vn,t); wprintf(L" text ==> %ls \n", tmpString); free(tmpString); } Somehow getText _always_ returns -1; the file is generated by libxml2 and utf-8 encoded. Could somebody please help me locate or explain this problem? Regards, John Kraal |
From: Jimmy Z. <cra...@co...> - 2006-10-25 18:14:29
|
The file size must have been greater than 2GB, as the size of file becomes negative (> 0x7fffffff), have to look into the other problem ----- Original Message ----- From: "Chinh Ho" <ho_...@ho...> To: <cra...@co...> Cc: <vtd...@li...> Sent: Wednesday, October 25, 2006 10:16 AM Subject: Re: vtd-xml 1.7 compiling > For 1.7_c_light, there is no errors. However, when I run the benchmark to > open a 2 Gig xml file, it displayed "size of the file is -1841250597". > That's an error. > > For 1.7_c, the errors are on the l8.* files. For example, one of the > errors is: > > l8.y(583) : error C2065: 'xpathInputPtr' : undeclared identifier > > >>From: "Jimmy Zhang" <cra...@co...> >>To: "Chinh Ho" <ho_...@ho...> >>CC: <vtd...@li...> >>Subject: Re: vtd-xml 1.7 compiling >>Date: Wed, 25 Oct 2006 09:46:16 -0700 >> >>What is the error message? >>----- Original Message ----- From: "Chinh Ho" <ho_...@ho...> >>To: <cra...@co...>; <vtd...@li...> >>Sent: Wednesday, October 25, 2006 8:04 AM >>Subject: vtd-xml 1.7 compiling >> >> >>>Hi Jimmy, >>>I downloaded 2 versions of the vtd-xml 1.7, ximpleware_1.7_c and >>>ximpleware_1.7_c_light. The 1.7_c is for Unix / Linux OS, isn't it? The >>>1.7_c_light is for Windows OS? >>> >>>I could not compile the 1.7_c under Windows. I am using WinXP and >>>MSVC2005. >>> >>>If both of them are for windows, how do I compile them? >>> >>>Do you have any instructions? Readme? >>> >>>Thanks >>> >>>_________________________________________________________________ >>>Try Search Survival Kits: Fix up your home and better handle your cash >>>with Live Search! >>>http://imagine-windowslive.com/search/kits/default.aspx?kit=improve&locale=en-US&source=hmtagline >>> >>> >> >> > > _________________________________________________________________ > Try the next generation of search with Windows Live Search today! > http://imagine-windowslive.com/minisites/searchlaunch/?locale=en-us&source=hmtagline > > |
From: Chinh H. <ho_...@ho...> - 2006-10-25 17:16:42
|
For 1.7_c_light, there is no errors. However, when I run the benchmark to open a 2 Gig xml file, it displayed "size of the file is -1841250597". That's an error. For 1.7_c, the errors are on the l8.* files. For example, one of the errors is: l8.y(583) : error C2065: 'xpathInputPtr' : undeclared identifier >From: "Jimmy Zhang" <cra...@co...> >To: "Chinh Ho" <ho_...@ho...> >CC: <vtd...@li...> >Subject: Re: vtd-xml 1.7 compiling >Date: Wed, 25 Oct 2006 09:46:16 -0700 > >What is the error message? >----- Original Message ----- From: "Chinh Ho" <ho_...@ho...> >To: <cra...@co...>; <vtd...@li...> >Sent: Wednesday, October 25, 2006 8:04 AM >Subject: vtd-xml 1.7 compiling > > >>Hi Jimmy, >>I downloaded 2 versions of the vtd-xml 1.7, ximpleware_1.7_c and >>ximpleware_1.7_c_light. The 1.7_c is for Unix / Linux OS, isn't it? The >>1.7_c_light is for Windows OS? >> >>I could not compile the 1.7_c under Windows. I am using WinXP and >>MSVC2005. >> >>If both of them are for windows, how do I compile them? >> >>Do you have any instructions? Readme? >> >>Thanks >> >>_________________________________________________________________ >>Try Search Survival Kits: Fix up your home and better handle your cash >>with Live Search! >>http://imagine-windowslive.com/search/kits/default.aspx?kit=improve&locale=en-US&source=hmtagline >> >> > > _________________________________________________________________ Try the next generation of search with Windows Live Search today! http://imagine-windowslive.com/minisites/searchlaunch/?locale=en-us&source=hmtagline |
From: Jimmy Z. <cra...@co...> - 2006-10-25 16:46:53
|
What is the error message? ----- Original Message ----- From: "Chinh Ho" <ho_...@ho...> To: <cra...@co...>; <vtd...@li...> Sent: Wednesday, October 25, 2006 8:04 AM Subject: vtd-xml 1.7 compiling > Hi Jimmy, > I downloaded 2 versions of the vtd-xml 1.7, ximpleware_1.7_c and > ximpleware_1.7_c_light. The 1.7_c is for Unix / Linux OS, isn't it? The > 1.7_c_light is for Windows OS? > > I could not compile the 1.7_c under Windows. I am using WinXP and > MSVC2005. > > If both of them are for windows, how do I compile them? > > Do you have any instructions? Readme? > > Thanks > > _________________________________________________________________ > Try Search Survival Kits: Fix up your home and better handle your cash > with Live Search! > http://imagine-windowslive.com/search/kits/default.aspx?kit=improve&locale=en-US&source=hmtagline > > |
From: Chinh H. <ho_...@ho...> - 2006-10-25 15:04:19
|
Hi Jimmy, I downloaded 2 versions of the vtd-xml 1.7, ximpleware_1.7_c and ximpleware_1.7_c_light. The 1.7_c is for Unix / Linux OS, isn't it? The 1.7_c_light is for Windows OS? I could not compile the 1.7_c under Windows. I am using WinXP and MSVC2005. If both of them are for windows, how do I compile them? Do you have any instructions? Readme? Thanks _________________________________________________________________ Try Search Survival Kits: Fix up your home and better handle your cash with Live Search! http://imagine-windowslive.com/search/kits/default.aspx?kit=improve&locale=en-US&source=hmtagline |
From: Jimmy Z. <cra...@co...> - 2006-10-23 23:37:27
|
It is forthcoming ... probably in 2.0.... again there are a lot of features to add (modify, more encoding support etc) ----- Original Message ----- From: "Paul Tomsic" <pt...@ya...> To: "Jimmy Zhang" <cra...@co...>; <vtd...@li...> Sent: Monday, October 23, 2006 11:57 AM Subject: Re: [Vtd-xml-users] design question/best practice >i see. so is that a forthcoming feature set or is > that available currently in the 1.7 release? > > > --- Jimmy Zhang <cra...@co...> wrote: > >> If the goal is to parse the XML file once and use it >> repetitively >> without re-parsing, VTD+XML is a simple, small XML >> index >> that can be persisted on disk... >> >> The spec is http://vtd-xml.sf.net/persistence.html >> >> ----- Original Message ----- >> From: "Paul Tomsic" <pt...@ya...> >> To: <vtd...@li...> >> Sent: Monday, October 23, 2006 5:50 AM >> Subject: Re: [Vtd-xml-users] design question/best >> practice >> >> >> > well, by caching i mean in-memory. >> > guess that's my question. is it better to parse >> once, >> > then store the xml as a stringBuffer or something? >> > >> > when you say "VTD+XML" for caching, is there an >> > example or unit test you could refer me to? >> > >> > thanks >> > >> > >> > __________________________________________________ >> > Do You Yahoo!? >> > Tired of spam? Yahoo! Mail has the best spam >> protection around >> > http://mail.yahoo.com >> > >> > >> > ------------------------------------------------------------------------- >> > 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 > |
From: Paul T. <pt...@ya...> - 2006-10-23 18:57:18
|
i see. so is that a forthcoming feature set or is that available currently in the 1.7 release? --- Jimmy Zhang <cra...@co...> wrote: > If the goal is to parse the XML file once and use it > repetitively > without re-parsing, VTD+XML is a simple, small XML > index > that can be persisted on disk... > > The spec is http://vtd-xml.sf.net/persistence.html > > ----- Original Message ----- > From: "Paul Tomsic" <pt...@ya...> > To: <vtd...@li...> > Sent: Monday, October 23, 2006 5:50 AM > Subject: Re: [Vtd-xml-users] design question/best > practice > > > > well, by caching i mean in-memory. > > guess that's my question. is it better to parse > once, > > then store the xml as a stringBuffer or something? > > > > when you say "VTD+XML" for caching, is there an > > example or unit test you could refer me to? > > > > thanks > > > > > > __________________________________________________ > > Do You Yahoo!? > > Tired of spam? Yahoo! Mail has the best spam > protection around > > http://mail.yahoo.com > > > > > ------------------------------------------------------------------------- > > 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 |
From: Tatu S. <cow...@ya...> - 2006-10-23 18:14:49
|
--- Paul Tomsic <pt...@ya...> wrote: > well, by caching i mean in-memory. > guess that's my question. is it better to parse > once, > then store the xml as a stringBuffer or something? No, it's probably never good idea to use StringBuffer (or builder) -- it will not have a parsed representation, just a kind of serialization. There are generally 3 steps in parsing: (a) Reading the data (from file, network) (b) Decoding (byte->char) (c) Tokenization (char[] -> events, or in case of vtd-xml, int offsets + type) If you want to cache things in-memory, the most compact presentation would be a raw byte array. That'd get rid of (a). If you use StringBuffer (or char[] etc), you get rid of (b), but most likely double memory usage. Byte[] can contain utf-8 encoded contents, which are generally quite compact -- Strings (buffers, builders) consists of 16-bit character. VTD would still have to tokenize (and read through) the whole contents, and being about twice the size of byte representation, would possibly be slower than reading from a byte array (or even disk, depending on i/o speed). However; if you can afford to cache these docs in memory, you can probably afford to just cache the resulting VTD document object. After all, it adds only about 50% overhead; but it's fully parsed and all, and thus efficient to access. Finally, for these kinds of tasks, an actual native XML database might make most sense. They store xml content efficiently in structured (not serialized) form. There are a few open source ones available (like eXist). -+ Tatu +- __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |
From: Jimmy Z. <cra...@co...> - 2006-10-23 18:14:17
|
If the goal is to parse the XML file once and use it repetitively without re-parsing, VTD+XML is a simple, small XML index that can be persisted on disk... The spec is http://vtd-xml.sf.net/persistence.html ----- Original Message ----- From: "Paul Tomsic" <pt...@ya...> To: <vtd...@li...> Sent: Monday, October 23, 2006 5:50 AM Subject: Re: [Vtd-xml-users] design question/best practice > well, by caching i mean in-memory. > guess that's my question. is it better to parse once, > then store the xml as a stringBuffer or something? > > when you say "VTD+XML" for caching, is there an > example or unit test you could refer me to? > > thanks > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > > ------------------------------------------------------------------------- > 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 |
From: Paul T. <pt...@ya...> - 2006-10-23 12:50:27
|
well, by caching i mean in-memory. guess that's my question. is it better to parse once, then store the xml as a stringBuffer or something? when you say "VTD+XML" for caching, is there an example or unit test you could refer me to? thanks __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |
From: Jimmy Z. <cra...@co...> - 2006-10-22 18:35:18
|
What do you mean by "caching?" In memory or on disk? One feature VTD will offer is called VTD+XML, which is a way to avoid repetitive parsing... But VTD+xML still needs to be stored on disk... ----- Original Message ----- From: "Paul Tomsic" <pt...@ya...> To: <vtd...@li...> Sent: Sunday, October 22, 2006 8:27 AM Subject: [Vtd-xml-users] design question/best practice > what would be the recommended approach to using VTD > within an application that retrieves values from a > large amt of XML files over-and-over? > > obviously, hitting the disk and reparsing the desired > XML continually would be less than ideal, one would > think. > > would parsing the files once, and caching them as, say > a stringbuffer be a recommendation, then simply having > VTD use the cached string buffer to retrieve the xpath > be good? or is caching them simply not the best > approach, and VTD will perform equally as well with a > cache versus going to disk and rescanning the file? > > thanks > > > > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > > ------------------------------------------------------------------------- > 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 > |
From: Paul T. <pt...@ya...> - 2006-10-22 15:27:41
|
what would be the recommended approach to using VTD within an application that retrieves values from a large amt of XML files over-and-over? obviously, hitting the disk and reparsing the desired XML continually would be less than ideal, one would think. would parsing the files once, and caching them as, say a stringbuffer be a recommendation, then simply having VTD use the cached string buffer to retrieve the xpath be good? or is caching them simply not the best approach, and VTD will perform equally as well with a cache versus going to disk and rescanning the file? thanks __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |
From: Jimmy Z. <cra...@co...> - 2006-10-16 19:53:36
|
XimpleWare released Version 1.7 of VTD-XML, the next generation XML=20 parser that goes beyond DOM and SAX, under GPL. VTD-XML is getting=20 faster, leaner, more stable and complete with this release. New features = included in this releases are: =20 =20 * More XPath built-in functions support =20 * Union Expression Support * A rewritten VTDNav implementation =20 * Various bug fixes in VTDGen and XPath evaluation =20 For further reading, please refer to the following articles: a.. Simplify XML Processing with VTD-XML=20 a.. Cut, Paste, Assemble and Split XML files with VTD-XML=20 a.. XML on a Chip=20 a.. Process Large XML Files with VTD-XML=20 a.. The performance Woe of Binary XML=20 a.. VTD-XML: The Next Generation XML Parser=20 |
From: Jimmy Z. <cra...@co...> - 2006-10-11 20:31:50
|
Any specific examples... for example suppose you would like to compose an XML message shown below <CATALOG> <CD> <TITLE>Empire Burlesque</TITLE> <ARTIST>Bob Dylan</ARTIST> <COUNTRY>USA</COUNTRY> <COMPANY>Columbia</COMPANY> <PRICE>10.90</PRICE> <YEAR>1985</YEAR> </CD> </CATALOG> how would you like the functions to be like? Obvious you can use DOM's add node etc, but that incurs the performance penalty of building a DOM... which is obviously not a good idea... ----- Original Message ----- From: "angel figueroa" <afi...@up...> To: <vtd...@li...> Sent: Wednesday, October 11, 2006 12:22 PM Subject: Re: [Vtd-xml-users] Vtd-xml-users Digest, Vol 5, Issue 6 > Hi, > > Create the XML using de DTD. Also allows to Add, delete and update any > node on the xml. > > Regards, > Angel Figueroa > > > -----Original Message----- > From: vtd...@li... > [mailto:vtd...@li...] On Behalf Of > vtd...@li... > Sent: Wednesday, October 11, 2006 3:20 PM > To: vtd...@li... > Subject: Vtd-xml-users Digest, Vol 5, Issue 6 > > Send Vtd-xml-users mailing list submissions to > vtd...@li... > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.sourceforge.net/lists/listinfo/vtd-xml-users > or, via email, send a message with subject or body 'help' to > vtd...@li... > > You can reach the person managing the list at > vtd...@li... > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Vtd-xml-users digest..." > > > Today's Topics: > > 1. Re: newbie question (Jimmy Zhang) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Tue, 10 Oct 2006 12:52:43 -0700 > From: "Jimmy Zhang" <cra...@co...> > Subject: Re: [Vtd-xml-users] newbie question > To: "Olusola Fadero" <olu...@gm...> > Cc: vtd...@li... > Message-ID: <003301c6eca5$a8c4da30$0d02a8c0@ximpleware> > Content-Type: text/plain; charset="iso-8859-1" > > I have been thinking about the XML creation features that you mentioned... > do you have a set of features that you have in mind ?? > ----- Original Message ----- > From: Olusola Fadero > To: lo...@ou... > Cc: vtd...@li... > Sent: Tuesday, October 03, 2006 1:58 AM > Subject: Re: [Vtd-xml-users] newbie question > > > To install the VTD-XML jar (or any other external jar) into an eclipse > project: > > 1. Right click on the project > 2. select Build Path -> configure build path > 3. click on "Add External Jars" button, locate the jar in your directory > and click the "open" button > 4. Click on "Ok" > 5. Rebuild the entire project if it isn't done automatically. > > Unfortunately I can't remember the procedure for NetBeans > > Olusola > > > > On 02/10/06, lo...@ou... <lo...@ou...> wrote: > Greetings All, > > I am new to using VTD-XML and it looks like it will be just what I need > for a class project that we are working on. > > Additionally, I have only a minimal Java background but am fairly > experienced with C/C++ & Fortran so I might ask a few stupid questions > while trying to get started. > > In particular, I have also been looking at Eclipse and NetBeans as an > IDE > so that I can run some demos of the vtd-xml classes but cannot figure > out > how to get things to run. > > I read a really good article on vtd-xml at: > > http://www.javaworld.com/javaworld/jw-03-2006/jw-0327-simplify_p.html > > and in particular at: > > http://www.devx.com/xml/Article/22219/1954?pf=true > > but am not sure how to go about getting these demos to run since I will > be > adding them to an applet loader from JavaView in a project that will > read > some <XML> code being generated by another application that we have. > > http://www.javaview.de/vgp/tutor/loader/PaLoader.html > > I would greatly appreciate any help that someone might be able to give > me > in trying to get "devx.com" demo above to work. > > Thanks and have a good day, > Lonnie C. > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys -- and earn cash > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Vtd-xml-users mailing list > Vtd...@li... > https://lists.sourceforge.net/lists/listinfo/vtd-xml-users > > > > > > ---------------------------------------------------------------------------- > -- > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > > ---------------------------------------------------------------------------- > -- > > > _______________________________________________ > Vtd-xml-users mailing list > Vtd...@li... > https://lists.sourceforge.net/lists/listinfo/vtd-xml-users > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > http://sourceforge.net/mailarchive/forum.php?forum=vtd-xml-users/attachments > /20061010/a3604eb9/attachment.html > > ------------------------------ > > ------------------------------------------------------------------------- > 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 > > > End of Vtd-xml-users Digest, Vol 5, Issue 6 > ******************************************* > > > > ------------------------------------------------------------------------- > 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 > |
From: angel f. <afi...@up...> - 2006-10-11 19:22:19
|
Hi, Create the XML using de DTD. Also allows to Add, delete and update = any node on the xml. Regards, Angel Figueroa -----Original Message----- From: vtd...@li... [mailto:vtd...@li...] On Behalf Of vtd...@li... Sent: Wednesday, October 11, 2006 3:20 PM To: vtd...@li... Subject: Vtd-xml-users Digest, Vol 5, Issue 6 Send Vtd-xml-users mailing list submissions to vtd...@li... To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/vtd-xml-users or, via email, send a message with subject or body 'help' to vtd...@li... You can reach the person managing the list at vtd...@li... When replying, please edit your Subject line so it is more specific than "Re: Contents of Vtd-xml-users digest..." Today's Topics: 1. Re: newbie question (Jimmy Zhang) ---------------------------------------------------------------------- Message: 1 Date: Tue, 10 Oct 2006 12:52:43 -0700 From: "Jimmy Zhang" <cra...@co...> Subject: Re: [Vtd-xml-users] newbie question To: "Olusola Fadero" <olu...@gm...> Cc: vtd...@li... Message-ID: <003301c6eca5$a8c4da30$0d02a8c0@ximpleware> Content-Type: text/plain; charset=3D"iso-8859-1" I have been thinking about the XML creation features that you = mentioned... do you have a set of features that you have in mind ?? ----- Original Message -----=20 From: Olusola Fadero=20 To: lo...@ou...=20 Cc: vtd...@li...=20 Sent: Tuesday, October 03, 2006 1:58 AM Subject: Re: [Vtd-xml-users] newbie question To install the VTD-XML jar (or any other external jar) into an = eclipse project: 1. Right click on the project 2. select Build Path -> configure build path 3. click on "Add External Jars" button, locate the jar in your = directory and click the "open" button=20 4. Click on "Ok" 5. Rebuild the entire project if it isn't done automatically. Unfortunately I can't remember the procedure for NetBeans Olusola=20 On 02/10/06, lo...@ou... <lo...@ou...> wrote: Greetings All, I am new to using VTD-XML and it looks like it will be just what I = need for a class project that we are working on. Additionally, I have only a minimal Java background but am fairly experienced with C/C++ & Fortran so I might ask a few stupid = questions=20 while trying to get started. In particular, I have also been looking at Eclipse and NetBeans as = an IDE so that I can run some demos of the vtd-xml classes but cannot = figure out how to get things to run. I read a really good article on vtd-xml at: = http://www.javaworld.com/javaworld/jw-03-2006/jw-0327-simplify_p.html and in particular at:=20 http://www.devx.com/xml/Article/22219/1954?pf=3Dtrue but am not sure how to go about getting these demos to run since I = will be adding them to an applet loader from JavaView in a project that will read=20 some <XML> code being generated by another application that we have. http://www.javaview.de/vgp/tutor/loader/PaLoader.html I would greatly appreciate any help that someone might be able to = give me=20 in trying to get "devx.com" demo above to work. Thanks and have a good day, Lonnie C. =20 -------------------------------------------------------------------------= =20 Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to = share your opinions on IT & business topics through brief surveys -- and earn = cash =20 http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV _______________________________________________ Vtd-xml-users mailing list Vtd...@li... https://lists.sourceforge.net/lists/listinfo/vtd-xml-users -------------------------------------------------------------------------= --- -- = -------------------------------------------------------------------------= Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to = share your opinions on IT & business topics through brief surveys -- and earn = cash = http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV -------------------------------------------------------------------------= --- -- _______________________________________________ Vtd-xml-users mailing list Vtd...@li... https://lists.sourceforge.net/lists/listinfo/vtd-xml-users -------------- next part -------------- An HTML attachment was scrubbed... URL: http://sourceforge.net/mailarchive/forum.php?forum=3Dvtd-xml-users/attach= ments /20061010/a3604eb9/attachment.html=20 ------------------------------ -------------------------------------------------------------------------= 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=3Dlnk&kid=3D120709&bid=3D263057&dat=3D= 121642 ------------------------------ _______________________________________________ Vtd-xml-users mailing list Vtd...@li... https://lists.sourceforge.net/lists/listinfo/vtd-xml-users End of Vtd-xml-users Digest, Vol 5, Issue 6 ******************************************* |
From: Jimmy Z. <cra...@co...> - 2006-10-10 19:53:08
|
I have been thinking about the XML creation features that you = mentioned... do you have a set of features that you have in mind ?? ----- Original Message -----=20 From: Olusola Fadero=20 To: lo...@ou...=20 Cc: vtd...@li...=20 Sent: Tuesday, October 03, 2006 1:58 AM Subject: Re: [Vtd-xml-users] newbie question To install the VTD-XML jar (or any other external jar) into an = eclipse project: 1. Right click on the project 2. select Build Path -> configure build path 3. click on "Add External Jars" button, locate the jar in your = directory and click the "open" button=20 4. Click on "Ok" 5. Rebuild the entire project if it isn't done automatically. Unfortunately I can't remember the procedure for NetBeans Olusola=20 On 02/10/06, lo...@ou... <lo...@ou...> wrote: Greetings All, I am new to using VTD-XML and it looks like it will be just what I = need for a class project that we are working on. Additionally, I have only a minimal Java background but am fairly experienced with C/C++ & Fortran so I might ask a few stupid = questions=20 while trying to get started. In particular, I have also been looking at Eclipse and NetBeans as = an IDE so that I can run some demos of the vtd-xml classes but cannot = figure out how to get things to run. I read a really good article on vtd-xml at: = http://www.javaworld.com/javaworld/jw-03-2006/jw-0327-simplify_p.html and in particular at:=20 http://www.devx.com/xml/Article/22219/1954?pf=3Dtrue but am not sure how to go about getting these demos to run since I = will be adding them to an applet loader from JavaView in a project that will = read=20 some <XML> code being generated by another application that we have. http://www.javaview.de/vgp/tutor/loader/PaLoader.html I would greatly appreciate any help that someone might be able to = give me=20 in trying to get "devx.com" demo above to work. Thanks and have a good day, Lonnie C. = -------------------------------------------------------------------------= =20 Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to = share your opinions on IT & business topics through brief surveys -- and earn = cash = http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV _______________________________________________ Vtd-xml-users mailing list Vtd...@li... https://lists.sourceforge.net/lists/listinfo/vtd-xml-users -------------------------------------------------------------------------= ----- = -------------------------------------------------------------------------= Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to = share your opinions on IT & business topics through brief surveys -- and earn = cash = http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV -------------------------------------------------------------------------= ----- _______________________________________________ Vtd-xml-users mailing list Vtd...@li... https://lists.sourceforge.net/lists/listinfo/vtd-xml-users |
From: Tatu S. <cow...@ya...> - 2006-10-04 19:05:16
|
--- Mark Swanson <ma...@Sc...> wrote: > Jimmy Zhang wrote: > > I haev to think about, would you mind if it is a > hack that only Mark > > Tatu and Myself know about... :) > > Too late for that. Google has indexed this and made > it available to the > public forever :-) ;-) > > What can I say, I have users throwing illegal data > at me and I'd love > the perfect solution (vtd gracefully handling this). > > If XPP does it, I really wonder if Xerces does it > too. If it wasn't > after midnight I'd whip up that test... No, I am 99.99% certain it throws a well-formed exception. Not doing this would xml conformance problem, and Xerces (Crimson etc) try to achieve high compatibility ratings. In fact, lemme see... xmltest, test "xmlconf/oasis/p02fail11.xml" is one that would test specifically for char  (1 tests for null, etc., ignoring legal ones): http://www.oasis-open.org/committees/xmltest/xmlconf.htm Ok, since I got this far, let's test version of Xerces JDK 1.5 ships with... ok: --- ./run.sh test.TestSaxReader xmlconf/oasis/p02fail11.xml SAX factory: class com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl Elem <doc>, 0 attrs. [Fatal Error] :1:6: An invalid XML character (Unicode: 0xc) was found in the element content of the document. Error: org.xml.sax.SAXParseException: An invalid XML character (Unicode: 0xc) was found in the element content of the document. org.xml.sax.SAXParseException: An invalid XML character (Unicode: 0xc) was found in the element content of the document. at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1269) --- Anyway, Xerces does flag this. But like I said, different operating modes (either "lenient" vs "strict"), or togglable checks ("allow all white space") would seem harmless, if leniency was not the default choice. My view is that by default one should try to do the most common and optimal thing; but more experienced users can be given more power to do things that are sometimes necessary, given that they understand consequences. All of this is just my opinion, and Jimmy is of course free to do whatever he wants. ;-) -+ Tatu +- __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |
From: Mark S. <ma...@Sc...> - 2006-10-04 04:13:06
|
Jimmy Zhang wrote: > I haev to think about, would you mind if it is a hack that only Mark > Tatu and Myself know about... :) Too late for that. Google has indexed this and made it available to the public forever :-) What can I say, I have users throwing illegal data at me and I'd love the perfect solution (vtd gracefully handling this). If XPP does it, I really wonder if Xerces does it too. If it wasn't after midnight I'd whip up that test... Just pondering, if xerces works the same as xpp it would seem the default behaviour _should_ be to treat < 0x20 as white space. I'll do a more thorough xpp test tomorrow if someone wants to do the xerces test. Anyone? Cheers. -- http://www.ScheduleWorld.com/tg/ Free Google Calendar synchronization with Outlook, Evolution, cell phones, BlackBerry, PalmOS, Exchange, Mozilla, Thunderbird, Pocket PC/Windows Mobile. Also sync tasks, notes and contacts! WebDAV, vfreebusy, RSS, LDAP, iCalendar, iTIP, iMIP support. |
From: Jimmy Z. <cra...@co...> - 2006-10-04 03:29:45
|
I just use JDK and modify the classpath, works everytime? I never used Netbean, but I think there has to be something similar to=20 Eclipse... ----- Original Message -----=20 From: Olusola Fadero=20 To: lo...@ou...=20 Cc: vtd...@li...=20 Sent: Tuesday, October 03, 2006 1:58 AM Subject: Re: [Vtd-xml-users] newbie question To install the VTD-XML jar (or any other external jar) into an = eclipse project: 1. Right click on the project 2. select Build Path -> configure build path 3. click on "Add External Jars" button, locate the jar in your = directory and click the "open" button=20 4. Click on "Ok" 5. Rebuild the entire project if it isn't done automatically. Unfortunately I can't remember the procedure for NetBeans Olusola=20 On 02/10/06, lo...@ou... <lo...@ou...> wrote: Greetings All, I am new to using VTD-XML and it looks like it will be just what I = need for a class project that we are working on. Additionally, I have only a minimal Java background but am fairly experienced with C/C++ & Fortran so I might ask a few stupid = questions=20 while trying to get started. In particular, I have also been looking at Eclipse and NetBeans as = an IDE so that I can run some demos of the vtd-xml classes but cannot = figure out how to get things to run. I read a really good article on vtd-xml at: = http://www.javaworld.com/javaworld/jw-03-2006/jw-0327-simplify_p.html and in particular at:=20 http://www.devx.com/xml/Article/22219/1954?pf=3Dtrue but am not sure how to go about getting these demos to run since I = will be adding them to an applet loader from JavaView in a project that will = read=20 some <XML> code being generated by another application that we have. http://www.javaview.de/vgp/tutor/loader/PaLoader.html I would greatly appreciate any help that someone might be able to = give me=20 in trying to get "devx.com" demo above to work. Thanks and have a good day, Lonnie C. = -------------------------------------------------------------------------= =20 Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to = share your opinions on IT & business topics through brief surveys -- and earn = cash = http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV _______________________________________________ Vtd-xml-users mailing list Vtd...@li... https://lists.sourceforge.net/lists/listinfo/vtd-xml-users -------------------------------------------------------------------------= ----- = -------------------------------------------------------------------------= Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to = share your opinions on IT & business topics through brief surveys -- and earn = cash = http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV -------------------------------------------------------------------------= ----- _______________________________________________ Vtd-xml-users mailing list Vtd...@li... https://lists.sourceforge.net/lists/listinfo/vtd-xml-users |
From: Jimmy Z. <cra...@co...> - 2006-10-04 03:28:30
|
I haev to think about, would you mind if it is a hack that only Mark Tatu and Myself know about... :) ----- Original Message ----- From: "Mark Swanson" <ma...@Sc...> To: <vtd...@li...> Sent: Tuesday, October 03, 2006 7:12 PM Subject: [Vtd-xml-users] [Fwd: Re: 1.6 bug:] > > Tatu Saloranta wrote: >> >> Ok. It is likely it accepts all codes <= 0x0020 as >> white space -- that's usually pretty reasonable >> way to do it with string tokenization. > > Excellent suggestion. Jimmy, would that be something you would consider > doing in the near future with vtd (as an option)? > > <snip> >> One more thing -- xml 1.1 actually does allow these >> control characters (although not null byte) to be >> included, via character entities. It's too bad, then, >> that xml 1.1 has other problems that make it DOA, >> rarely used anywhere (you can google for various >> people's reasoning why xml 1.1 sucks -- I have my >> own pet peeves -- byt I did work on making Woodstox >> parser support xml 1.1 nonetheless). > > Interesting. > (I use and recommend Woodstox (with XFire atm), btw) > >> Of course, since you don't control the generation of >> input files this is bit of a moot point. ;-) > > :-) > > -- > http://www.ScheduleWorld.com/tg/ > Free Google Calendar synchronization with Outlook, Evolution, > cell phones, BlackBerry, PalmOS, Exchange, Mozilla, Thunderbird, > Pocket PC/Windows Mobile. Also sync tasks, notes and contacts! > WebDAV, vfreebusy, RSS, LDAP, iCalendar, iTIP, iMIP support. > > > -- > http://www.ScheduleWorld.com/tg/ > Free Google Calendar synchronization with Outlook, Evolution, > cell phones, BlackBerry, PalmOS, Exchange, Mozilla, Thunderbird, > Pocket PC/Windows Mobile. Also sync tasks, notes and contacts! > WebDAV, vfreebusy, RSS, LDAP, iCalendar, iTIP, iMIP support. > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Vtd-xml-users mailing list > Vtd...@li... > https://lists.sourceforge.net/lists/listinfo/vtd-xml-users > |