[xsd-users] Error with X3D schema

Hasan, Eric shasan at mitre.org
Thu Nov 16 18:41:20 EST 2006


I'm getting the following error when generating c++ code for the X3D
schema. 

$ xsd cxx-tree x3d-3.0.xsd
x3d-3.0.xsd:5804:41: warning: element 'GeoCoordinate' is implicitly of
anyType
x3d-3.0.xsd:5804:41: info: did you forget to specify 'type' attribute?
x3d-3.0.xsd:5805:44: warning: element 'GeoElevationGrid' is implicitly
of anyType
x3d-3.0.xsd:5805:44: info: did you forget to specify 'type' attribute?
x3d-3.0.xsd:5806:39: warning: element 'GeoLocation' is implicitly of
anyType
x3d-3.0.xsd:5806:39: info: did you forget to specify 'type' attribute?
x3d-3.0.xsd:5807:37: warning: element 'GeoOrigin' is implicitly of
anyType
x3d-3.0.xsd:5807:37: info: did you forget to specify 'type' attribute?
x3d-3.0.xsd:5808:34: warning: element 'GeoLOD' is implicitly of anyType
x3d-3.0.xsd:5808:34: info: did you forget to specify 'type' attribute?
x3d-3.0.xsd:5810:51: warning: element 'GeoPositionInterpolator' is
implicitly of anyType
x3d-3.0.xsd:5810:51: info: did you forget to specify 'type' attribute?
x3d-3.0.xsd:5811:42: warning: element 'GeoTouchSensor' is implicitly of
anyType
x3d-3.0.xsd:5811:42: info: did you forget to specify 'type' attribute?
x3d-3.0.xsd:5812:40: warning: element 'GeoViewpoint' is implicitly of
anyType
x3d-3.0.xsd:5812:40: info: did you forget to specify 'type' attribute?
x3d-3.0.xsd:5813:41: warning: element 'ProtoInstance' is implicitly of
anyType
x3d-3.0.xsd:5813:41: info: did you forget to specify 'type' attribute?
xsd:
/home/boris/work/xsd/libxsd-frontend/xsd-frontend/semantic-graph/elemen
ts.hxx:394: XSDFrontend::SemanticGraph::Names&
XSDFrontend::SemanticGraph::Nameable::named_(): Assertion `named ()'
failed.
Aborted

I downloaded the individual X3D schema files from web3d.org (not the
zip file which, is old) and removed the includes that were causing a
problem for this guy:  

http://www.codesynthesis.com/pipermail/xsd-users/2006-September/000537.
html

platform: Linux x86
distro: fedora core 4
compiler: gcc 3.2.3 20030502 
codesynthesis version: v2.3.1 BETA
xerces-c version: 2.7.0-3

Any help would be appreciated.




More information about the xsd-users mailing list