Schemas/X3D
From Code Synthesis Wiki
(Difference between revisions)
Revision as of 15:40, 4 October 2006 Boris (Talk | contribs) ← Previous diff |
Revision as of 06:52, 17 November 2006 Boris (Talk | contribs) (Add recommended compile options) Next diff → |
||
Line 2: | Line 2: | ||
The [http://www.codesynthesis.com/pipermail/xsd-users/2006-September/000537.html "Issue with includes"] thread on the xsd-users mailing list has some useful information on using these schemas to generate the C++/Tree mapping. | The [http://www.codesynthesis.com/pipermail/xsd-users/2006-September/000537.html "Issue with includes"] thread on the xsd-users mailing list has some useful information on using these schemas to generate the C++/Tree mapping. | ||
+ | |||
+ | The following options are recommended to compile X3D schemas: | ||
+ | |||
+ | --morph-anonymous --root-element X3D | ||
+ | |||
+ | If your C++ compiler runs out of memory while compiling the generated <code>x3d-3.0.cxx</code>, then you can overcome this by splitting <code>x3d-3.0.cxx</code> into several parts with the <code>--parts</code> option, e.g., | ||
+ | |||
+ | --parts 3 | ||
+ | |||
+ | and compiling each part separately. |
Revision as of 06:52, 17 November 2006
This page contains information on using the X3D schemas with XSD.
The "Issue with includes" thread on the xsd-users mailing list has some useful information on using these schemas to generate the C++/Tree mapping.
The following options are recommended to compile X3D schemas:
--morph-anonymous --root-element X3D
If your C++ compiler runs out of memory while compiling the generated x3d-3.0.cxx
, then you can overcome this by splitting x3d-3.0.cxx
into several parts with the --parts
option, e.g.,
--parts 3
and compiling each part separately.