You can subscribe to this list here.
2008 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(5) |
Jun
|
Jul
|
Aug
(3) |
Sep
|
Oct
|
Nov
|
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2009 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2010 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
2015 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Batistil, R. <Rul...@ex...> - 2015-03-25 19:13:39
|
Hi, Nowadays software security has a high degree of importance among other things. Though this library is very good, this also need to code pass industry standard security checks. The vtd-xml-2.11.jar failed on Veracode security scan as these 4 classes below contain a main method use only for testing or debugging. 1. ContextBuffer.java - com/ximpleware/ 2. intHash.java - com/ximpleware/ 3. parser.java - com/ximpleware/xpath/ 4. Yylex.java - com/ximpleware/xpath/ Note that java main method is an entry point and is very vulnerable to be exploited by unscrupulous individuals. Test classes and methods should be handle Junit components of equivalent. I suggest to make this library acceptable to a wider audience in the software business, the stable release library should be free from testing and debugging codes. To the developers of the library, please remove the main method out from these 4 classes. I`m looking forward for a new library release without this security flaw. Thanks, Rulix ---------------- Rulix Batistil Lead Software Engineer Experian Decision Analytics [cid:image001.gif@01D0670B.771E9AE0]<http://www.experian.com/> 2 Bloor St Suite 3501 Toronto, ON, M4W 1A8 Tel - 416-840-1470 Ext 422 |
From: John S. <jsi...@al...> - 2010-12-06 14:35:20
|
I am evaluating vtd-xml as a possible replacement for standard Java DOM and XPath implementations. We have an XMLUtility which has methods to insert structure into XML. I have done enough work to see that we can get significant performance improvements with vtd-xml, but right off the bat I hit this issue: The following test illustrates that if the starting XML is <foo></foo> that the method: private static String insert( String document, String xPath, String node ) throws Exception can be used to insert 'structure' into the XML. This is shown by: System.out.println(insert("<foo></foo>", "//foo", "bar")); This does not insert 'structure': System.out.println(insert("<foo></foo>", "//bogus", "bar")); That is correct behavior because the XPath //bogus is not found in the starting XML (<foo></foo>). The problem occurs with: System.out.println(insert("<foo/>", "//foo", "bar")); import java.io.ByteArrayOutputStream; import com.ximpleware.AutoPilot; import com.ximpleware.ModifyException; import com.ximpleware.VTDGen; import com.ximpleware.VTDNav; import com.ximpleware.XMLModifier; public class Insert { public static void main( String[] arguments ) throws Exception { System.out.println(insert("<foo></foo>", "//foo", "bar")); System.out.println(insert("<foo></foo>", "//bogus", "bar")); System.out.println(insert("<foo/>", "//foo", "bar")); } /** * Insert a node into an existing document. * @param document * @param xPath * @param node * @return * @throws Exception */ private static String insert( String document, String xPath, String node ) throws Exception { VTDGen vg = new VTDGen(); XMLModifier xm = new XMLModifier(); vg.setDoc(document.getBytes()); vg.parse(true); VTDNav vn = vg.getNav(); AutoPilot ap = new AutoPilot(vn); xm.bind(vn); ap.selectXPath(xPath); int xmlIndex = ap.evalXPath(); if ( xmlIndex > 0 ) { try { xm.insertAfterHead("</"+node+">"); } catch ( ModifyException me ) { System.out.println("Failed to insert: "+node+" at index: "+xmlIndex); throw me; } } ByteArrayOutputStream output = new ByteArrayOutputStream(); xm.output(output); return output.toString(); } } |
From: <cra...@co...> - 2009-02-16 03:56:03
|
VTD-XML 2.5 is now released. Please go to https://sourceforge.net/project/showfiles.php?group_id=110612&package_id=120172&release_id=661376 to download the latest version. Changes from Version 2.4 (2/2009) * Added separate VTD indexing generating and loading (see http://vtd-xml.sf.net/persistence.html for further info) * Integrated extended VTD supporting 256 GB doc (In Java only). * Added duplicateNav() for replicate multiple VTDNav instances sharing XML, VTD and LC buffer (availabe in Java and C#). * Various bug fixes and enhancements. |
From: Alessandro C. <aca...@es...> - 2008-08-27 08:51:04
|
Hi Jimmy I fixed the problem with the help TextIter. Thank you so much, Ale On Wednesday 27 August 2008 04:09:18 jimmy Zhang wrote: > Hi, Ale, I think the easiest way is to use XPath... the text() expression > will > allow you to get those nodes... > > the other option is via "textIter" class,, which has a iterate method that > allows > you to deal with mix-context type of document... > Jimmy |
From: jimmy Z. <cra...@co...> - 2008-08-27 02:09:15
|
Hi, Ale, I think the easiest way is to use XPath... the text() expression will allow you to get those nodes... the other option is via "textIter" class,, which has a iterate method that allows you to deal with mix-context type of document... Jimmy ----- Original Message ----- From: "Alessandro Caproni" <aca...@es...> To: <vtd...@li...> Sent: Tuesday, August 26, 2008 8:20 AM Subject: [Vtd-xml-developers] Problem getting a value > Hi, > I am parsing the following: > > <MainTag Time="2006-03-28T00:26:29.239"> > <Data Name="Pippo"><![CDATA[Pluto]]></Data> > <![CDATA[Thread name: 'Test']]> > </MainTag> > > The body of the is mixed i.e. Data can be placed before of after the body. > When Data is in the last position I have no problem but when the body is > in > the last position, like in the example upon, I do not know how to get its > value i.e. how to navigate there. > > Could any of you suggest me how to get the string "Thread name: 'Test'"? > > Till now I have unseccessfully tried several combination of > VTDNav->toElement(...). > > Thank you, > Ale > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the > world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Vtd-xml-developers mailing list > Vtd...@li... > https://lists.sourceforge.net/lists/listinfo/vtd-xml-developers > |
From: Alessandro C. <aca...@es...> - 2008-08-26 15:18:17
|
Hi, I am parsing the following: <MainTag Time="2006-03-28T00:26:29.239"> <Data Name="Pippo"><![CDATA[Pluto]]></Data> <![CDATA[Thread name: 'Test']]> </MainTag> The body of the is mixed i.e. Data can be placed before of after the body. When Data is in the last position I have no problem but when the body is in the last position, like in the example upon, I do not know how to get its value i.e. how to navigate there. Could any of you suggest me how to get the string "Thread name: 'Test'"? Till now I have unseccessfully tried several combination of VTDNav->toElement(...). Thank you, Ale |
From: jimmy Z. <cra...@co...> - 2008-05-27 17:50:07
|
The light version is the vtd-xml without XPath support and without XMLModifier... it is designed to have a small footprint so it fits in mobile devices.. ----- Original Message ----- From: Milinda Pathirage To: vtd...@li... Sent: Tuesday, May 27, 2008 6:50 AM Subject: [Vtd-xml-developers] Difference between light version and fullversion Hi devs, Can you please tell me the difference between light version and full version of VTD-XML/C. Thanks Milinda -- http://mpathirage.com http://wso2.org "Oxygen for Web Service Developers" http://wsaxc.blogspot.com "Web Services With Axis2/C" ------------------------------------------------------------------------------ ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ ------------------------------------------------------------------------------ _______________________________________________ Vtd-xml-developers mailing list Vtd...@li... https://lists.sourceforge.net/lists/listinfo/vtd-xml-developers |
From: Milinda P. <mil...@gm...> - 2008-05-27 13:50:45
|
Hi devs, Can you please tell me the difference between light version and full version of VTD-XML/C. Thanks Milinda -- http://mpathirage.com http://wso2.org "Oxygen for Web Service Developers" http://wsaxc.blogspot.com "Web Services With Axis2/C" |
From: jimmy Z. <cra...@co...> - 2008-05-21 16:30:43
|
which version of VTD-XML are you compiling? I think if you change _wcsdup to wcsdup everything will just compile... let me know if it works or not... ----- Original Message ----- From: Milinda Pathirage To: vtd...@li... Sent: Wednesday, May 21, 2008 1:49 AM Subject: [Vtd-xml-developers] Compilation error Hi devs, I tried to compile vtd-xml c version in Ubuntu Linux 8.04 and got following errors when run 'make all'. gcc -O3 -fomit-frame-pointer -fforce-addr -frerun-cse-after-loop -fexpensive-optimizations -fregmove -frerun-loop-opt -march=pentium -lm -o vtd-xml vtd-xml.o fastIntBuffer.o arrayList.o fastLongBuffer.o contextBuffer.o vtdNav.o vtdGen.o autoPilot.o XMLChar.o helper.o lex.yy.o l8.tab.o literalExpr.o numberExpr.o pathExpr.o filterExpr.o binaryExpr.o unaryExpr.o funcExpr.o locationPathExpr.o intHash.o unionExpr.o decoder.o XMLModifier.o nodeRecorder.o indexHandler.o bookMark.o elementFragmentNs.o transcoder.o textIter.o lex.yy.o: In function `yylex': lex.yy.c:(.text+0x25f5): undefined reference to `_wcsdup' lex.yy.c:(.text+0x2776): undefined reference to `_wcsdup' literalExpr.o: In function `evalString_le': literalExpr.c:(.text+0xfc): undefined reference to `_wcsdup' numberExpr.o: In function `evalString_ne': numberExpr.c:(.text+0x26f): undefined reference to `_wcsdup' numberExpr.c:(.text+0x305): undefined reference to `_wcsdup' numberExpr.o:numberExpr.c:(.text+0x33f): more undefined references to `_wcsdup' follow collect2: ld returned 1 exit status make: *** [vtd-xml] Error 1 Can some one help me on this issue. Thanks Milinda -- http://mpathirage.com http://wso2.org "Oxygen for Web Service Developers" http://wsaxc.blogspot.com "Web Services With Axis2/C" ------------------------------------------------------------------------------ ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ ------------------------------------------------------------------------------ _______________________________________________ Vtd-xml-developers mailing list Vtd...@li... https://lists.sourceforge.net/lists/listinfo/vtd-xml-developers |
From: Milinda P. <mil...@gm...> - 2008-05-21 09:32:12
|
I fixed the issues in compilation. I think those errors caused by using some windows specific things inside code (like '_wcsdup', in Linux it is defined as 'wcsdup', also some issues with header inclusion in source files and no new lines at end of the source files). I would like to contribute to fix those error in C version. Please send me details about how I can send patches. Thanks in advance, Milinda -- http://mpathirage.com http://wso2.org "Oxygen for Web Service Developers" http://wsaxc.blogspot.com "Web Services With Axis2/C" |
From: Milinda P. <mil...@gm...> - 2008-05-21 08:49:32
|
Hi devs, I tried to compile vtd-xml c version in Ubuntu Linux 8.04 and got following errors when run 'make all'. gcc -O3 -fomit-frame-pointer -fforce-addr -frerun-cse-after-loop -fexpensive-optimizations -fregmove -frerun-loop-opt -march=pentium -lm -o vtd-xml vtd-xml.o fastIntBuffer.o arrayList.o fastLongBuffer.o contextBuffer.o vtdNav.o vtdGen.o autoPilot.o XMLChar.o helper.o lex.yy.o l8.tab.o literalExpr.o numberExpr.o pathExpr.o filterExpr.o binaryExpr.o unaryExpr.o funcExpr.o locationPathExpr.o intHash.o unionExpr.o decoder.o XMLModifier.o nodeRecorder.o indexHandler.o bookMark.o elementFragmentNs.o transcoder.o textIter.o lex.yy.o: In function `yylex': lex.yy.c:(.text+0x25f5): undefined reference to `_wcsdup' lex.yy.c:(.text+0x2776): undefined reference to `_wcsdup' literalExpr.o: In function `evalString_le': literalExpr.c:(.text+0xfc): undefined reference to `_wcsdup' numberExpr.o: In function `evalString_ne': numberExpr.c:(.text+0x26f): undefined reference to `_wcsdup' numberExpr.c:(.text+0x305): undefined reference to `_wcsdup' numberExpr.o:numberExpr.c:(.text+0x33f): more undefined references to `_wcsdup' follow collect2: ld returned 1 exit status make: *** [vtd-xml] Error 1 Can some one help me on this issue. Thanks Milinda -- http://mpathirage.com http://wso2.org "Oxygen for Web Service Developers" http://wsaxc.blogspot.com "Web Services With Axis2/C" |