[xsd-users] Issue with includes

Jérôme Dumesnil jerome.dumesnil at gmail.com
Tue Jan 23 16:26:06 EST 2007


Hi Boris

2007/1/21, Boris Kolpackov <boris at codesynthesis.com>:
>
> Hi Jérôme,
>
> Jérôme Dumesnil <jerome.dumesnil at gmail.com> writes:
>
>
> > As you said, I modified x3d-3.0.xsd to include
> > x3d-3.0-Web3dExtensionsPublic.xsd.
>
> It is the other way around: modify x3d-3.0-Web3dExtensionsPublic.xsd to
> include x3d-3.0.xsd.


Oh , yes !! I made a mistake when wrote this.
I well modified x3d-3.0-Web3dExtensionsPublic.xsd to include include
x3d-3.0.xsd

> So I generate sources files with :
> >
> > xsd cxx-tree --morph-anonymous --root-element X3D --hxx-suffix .h
> > --cxx-suffix .cpp --output-dir src/ x3d-3.0.xsd
> > xsd cxx-tree --morph-anonymous --root-element X3D --hxx-suffix .h
> > --cxx-suffix .cpp --output-dir src/ x3d-3.0-Web3dExtensionsPublic.xsd
> > xsd cxx-tree --morph-anonymous --root-element X3D --hxx-suffix .h
> > --cxx-suffix .cpp --output-dir src/ x3d-3.0-Web3dExtensionsPublic.xsd
> >
> > And after, I moved to src directory and I compiled them with :
> > gcc -c x3d-3.0.cpp
>
> I just tried these exact options and it works fine for me with both
> gcc 3.3.6 and 4.1.2. I assume you are using a recent version of
> XSD (e.g., 3.2.0 or 3.2.1.b2).


I used  CodeSynthesis xsd program version 2.3.0 and x3d's xsd files version
3.0.0
I (hardly) found the version 3.1.0 for x3d's xsd files but not the versions
3.2.0 or 3.2.1.b2.
The version 3.1.0 does the same errors I mentionned before when I compil
with gcc.

So, can you tell me where (and how) did you found the versions 3.2.0 or
3.2.1.b2) ??

Thank you, JayDee



More information about the xsd-users mailing list