Questions tagged [vtd-xml]

Virtual Token Descriptor for eXtensible Markup Language (VTD-XML) refers to a collection of cross-platform XML processing technologies centered on a non-extractive XML, "document-centric" parsing technique called Virtual Token Descriptor (VTD).

Virtual Token Descriptor for eXtensible Markup Language (VTD-XML) refers to a collection of cross-platform XML processing technologies centered on a non-extractive XML, "document-centric" parsing technique called Virtual Token Descriptor (VTD). Depending on the perspective, VTD-XML can be viewed as one of the following:

  • A "Document-Centric" XML parser
  • A native XML indexer or a file format that uses binary data to enhance the text XML
  • An incremental XML content modifier
  • An XML slicer/splitter/assembler
  • An XML editor/eraser
  • A way to port XML processing on chip
  • A non-blocking, stateless XPath evaluator

VTD-XML is developed by XimpleWare and dual-licensed under GPL and proprietary license. It is originally written in Java, but is now available in C, C++ and C#.

Download vtd-xml at https://vtd-xml.sourceforge.io/

Here are a few articles describing how to code applications in VTD-XML

190 questions
0
votes
1 answer

Java VTD-XML and XPath: Use XPath in found section

I have the following XML File:
JakeRoberts
  • 53
  • 2
  • 9
0
votes
1 answer

Using VTD in MultiThreaded App

I have huge xmls as a result I have lot of xpaths to pull out the entries from the xml.So I am trying to spawn multiple threads so that each xpath can get evaluated in a different thread.But I am getting errors below is the code snippet which could…
BJC
  • 491
  • 3
  • 21
0
votes
1 answer

ParserException for XML file with ampersands using VTD-XML

I am attempting to parse the JMDict_e.xml file from the JMDict project using VTD-XML. However, I am running into a parsing error. The only error message that appears is: ParserException: com.ximpleware.EntityException: Errors in Entity: Illegal…
waylonion
  • 6,866
  • 8
  • 51
  • 92
0
votes
1 answer

vtd xml diff implementation

I have many VTD+XML indexes for different versions of the same file that i am hoping to implement a diff-like method to return the x-paths of nodes that have been modified between versions, as well as the difference between text within those…
Raptop
  • 169
  • 2
  • 13
0
votes
1 answer

Parsing ContentFragment using VTDXML for UTF-16 encoded xml

I am using VTD-xml v2.11 and trying to get the contents of a tag using getContentFragment. When the xml has utf-8 encoding the code works fine. But for UTF-16 encoding the offset and len conversion is failing. while ((i = ap.evalXPath()) != -1) { …
Anil
  • 31
  • 4
0
votes
0 answers

How to generate XML from Java POJO using VTD XML

I am not able to find any document/tutorial/example, hence, posting it. Can someone help point to a document which shows how to convert a POJO to XML using VTD-XML library? I looked into their API doc, but didn't find anything there.
Niranjan
  • 2,601
  • 8
  • 43
  • 54
0
votes
1 answer

fast of retrieving data from XML

I have sample xml A B C D Now i am interested to extract only specific data. For example tag_1/tag_5…
Saurabh Kumar
  • 16,353
  • 49
  • 133
  • 212
0
votes
1 answer

com.ximpleware.extended.XMLBuffer.getBytes() always returns null

com.ximpleware.extended.XMLBuffer.getBytes() always returns null. What is the best way to modify xml using VTD-XML Huge?
Muhammed K
  • 39
  • 4
0
votes
1 answer

How to create/pass a lot of AutoPilot object instances in VTD-XML?

In my organizations we use xslt 1.0 with xpath 1.0 in order to make big xml transformations. But now we need to make migration. I am using VTD-XML to parse and transform a huge xml 200MB and I have over 20 xpath selects so for each of them I want to…
Xelian
  • 16,680
  • 25
  • 99
  • 152
0
votes
1 answer

Optimization on VTD-XML parse?

I have to make performance test on VTD-XML library in order to make not just simple parsing but additional transformation in the parsing. So I have 30MB input XML and then I transform it with custom logic to other XML. SO I want to remove all thinks…
Xelian
  • 16,680
  • 25
  • 99
  • 152
0
votes
1 answer

Technology for transformation of huge xml files?

In our organization we have business application and it uses xlst for over 10 years to transform the data between the systems. So with time these file transformations: XML->XSL->XML become very time consuming. So the input XML become 100MB - 200MB.…
Xelian
  • 16,680
  • 25
  • 99
  • 152
0
votes
1 answer

vtd-xml evalXPathToString with text() at the end or not

I am trying to figure out how the evalXPathToString method should be coded to allow me to have xpaths with text() at the end or not: String xml = junk1.45junk2
Cheetah
  • 13,785
  • 31
  • 106
  • 190
0
votes
1 answer

Vtd-xml to get sub nodes and text of an element

CINV 3501870
0
votes
0 answers

Spring batch vtd-xml

Scenario is like i have huge xml file coming in as an input, xml file may contain only one node or it might contain multiple nodes. I have written my Custom reader which extends AbstractItemCountingItemStreamItemReader, over ridden the doOpen() and…
Jay
  • 429
  • 2
  • 8
  • 23
0
votes
0 answers

How to setup/install vtd-xml in C++ with code::blocks?

I've been using sqlite for my project, but recently decided that xml would work better since what I need is essentially multidimensial tables. I needed something that would give random access and search capabilities for xml files, and from what I've…
TakingItCasual
  • 771
  • 1
  • 7
  • 22
1 2 3
12
13