[xsd-users] S2S protocol with XSD.
Boris Kolpackov
boris at codesynthesis.com
Wed Feb 10 12:20:31 EST 2010
Hi Michael,
Boris Kolpackov <boris at codesynthesis.com> writes:
> I will work some more on this schema tomorrow after the beta is
> released and will send more information then.
I finally got around to compiling this schema. Similar to the other
standard by this association (G2S), the schema files in S2S do cyclic
inclusion/importing which makes it impossible to generate compilable
C++ code in the default file-per-schema mode (i.e., where a set of
C++ source files is generated for each schema file). So we have to
use the file-per-type mode to with this schema. For some background
on this mode see this blog post:
http://codesynthesis.com/~boris/blog/2008/02/13/codesynthesis-xsd-3-1-0-released/
I have create a small test driver for S2S which also includes Makefile
(I assume you are on Linux/UNIX; otherwise the README file provides the
XSD compiler command lines for manually compiling the S2S schema):
http://www.codesynthesis.com/~boris/tmp/s2s-1.3.1.tar.gz
I couldn't find any sample S2S documents so I created a simple XML file
(ack.xml) which can be used to test the result.
To successfully build the test driver you will need XSD 3.3.0.b1 and
Xerces-C++ 3.1.0 (or later).
Let me know how it goes.
Boris
More information about the xsd-users
mailing list