[xsd-users] Stream parsing genaral question

Anatoly Gutnick anatolyg at gmail.com
Sun Jan 30 11:43:14 EST 2011


Hello.

I read that XSD stream-oriented
C++/Parser<http://codesynthesis.com/products/xsd/c++/parser/> can
perform immediate processing as parts of the document become available
(streaming).

Can it work in the following way:

-  application read XML data buffers from socket (for example) in 2 chunks:

First chunck is:

<contact>
  <name>John Doe</name>
  <e

 Second chunck:

mail>j at doe.com</email>
  <phone>555 12345</phone>
</contact>

-  Is it possible to put chunck by chunck to the XML parser (NOT full XML
buffer) and to get data parsed.
If so then where i can see such example?

- Or i still need to build full XML buffer from the chunk and then to pass
it to parser?

Regards,
Anatoly


More information about the xsd-users mailing list