[xsd-users] Issue with includes

Patrick Shinpaugh shpatric at vt.edu
Thu Sep 28 11:10:52 EDT 2006


Hi,
I am trying to use xsd to create data binding for the x3d schema
( http://www.web3d.org/x3d/specifications/ ) - the 3 .xsd files. I have
validated the schema using the w3c validator which gives the warnings
about anyType. As such, it appears that your program handles includes
differently than perhaps it should - validating each file separately
instead of as a whole.

Below is the output I get. If I remove the includes then the data
binding will succeed (without the extensions which we also need) and the
anyType variables are handled nicely.

Is there an option to change the way includes are handled?

Any help is appreciated.

Thanks
Pat


[xml-schema-dtd]$ /usr/local/xsd/bin/xsd cxx-tree --morph-anonymous
x3d-3.0.xsd
/home/patrick/projects/x3dosg/xml-schema-dtd/x3d-3.0-Web3dExtensionsPublic.xsd:62:41: error: Type not found in :IS
/home/patrick/projects/x3dosg/xml-schema-dtd/x3d-3.0-Web3dExtensionsPublic.xsd:62:41: error: Ref element IS not found in the Schema
/home/patrick/projects/x3dosg/xml-schema-dtd/x3d-3.0-Web3dExtensionsPublic.xsd:64:40: error: Type not found in :MetadataDouble
/home/patrick/projects/x3dosg/xml-schema-dtd/x3d-3.0-Web3dExtensionsPublic.xsd:64:40: error: Ref element MetadataDouble not found in the Schema
/home/patrick/projects/x3dosg/xml-schema-dtd/x3d-3.0-Web3dExtensionsPublic.xsd:65:39: error: Type not found in :MetadataFloat
/home/patrick/projects/x3dosg/xml-schema-dtd/x3d-3.0-Web3dExtensionsPublic.xsd:65:39: error: Ref element MetadataFloat not found in the Schema
/home/patrick/projects/x3dosg/xml-schema-dtd/x3d-3.0-Web3dExtensionsPublic.xsd:66:41: error: Type not found in :MetadataInteger
/home/patrick/projects/x3dosg/xml-schema-dtd/x3d-3.0-Web3dExtensionsPublic.xsd:66:41: error: Ref element MetadataInteger not found in the Schema
/home/patrick/projects/x3dosg/xml-schema-dtd/x3d-3.0-Web3dExtensionsPublic.xsd:67:37: error: Type not found in :MetadataSet
/home/patrick/projects/x3dosg/xml-schema-dtd/x3d-3.0-Web3dExtensionsPublic.xsd:67:37: error: Ref element MetadataSet not found in the Schema
/home/patrick/projects/x3dosg/xml-schema-dtd/x3d-3.0-Web3dExtensionsPublic.xsd:68:40: error: Type not found in :MetadataString
/home/patrick/projects/x3dosg/xml-schema-dtd/x3d-3.0-Web3dExtensionsPublic.xsd:68:40: error: Ref element MetadataString not found in the Schema
/home/patrick/projects/x3dosg/xml-schema-dtd/x3d-3.0-Web3dExtensionsPublic.xsd:75:59: error: SimpleType (:SFInt32) for attribute: numberOfDivisions not found
/home/patrick/projects/x3dosg/xml-schema-dtd/x3d-3.0-Web3dExtensionsPublic.xsd:76:53: error: SimpleType (:MFFloat) for attribute: vertexRound not found
/home/patrick/projects/x3dosg/xml-schema-dtd/x3d-3.0-Web3dExtensionsPublic.xsd:77:61: error: SimpleType (:MFInt32) for attribute: edgeBeginCoordIndex not found
/home/patrick/projects/x3dosg/xml-schema-dtd/x3d-3.0-Web3dExtensionsPublic.xsd:78:59: error: SimpleType (:MFInt32) for attribute: edgeEndCoordIndex not found
/home/patrick/projects/x3dosg/xml-schema-dtd/x3d-3.0-Web3dExtensionsPublic.xsd:79:51: error: SimpleType (:MFFloat) for attribute: edgeRound not found
/home/patrick/projects/x3dosg/xml-schema-dtd/x3d-3.0-Web3dExtensionsPublic.xsd:80:57: error: SimpleType (:MFVec3f) for attribute: edgeBeginVector not found
/home/patrick/projects/x3dosg/xml-schema-dtd/x3d-3.0-Web3dExtensionsPublic.xsd:81:55: error: SimpleType (:MFVec3f) for attribute: edgeEndVector not found
/home/patrick/projects/x3dosg/xml-schema-dtd/x3d-3.0-Web3dExtensionsPublic.xsd:82:56: error: SimpleType (:MFInt32) for attribute: faceCoordIndex not found
/home/patrick/projects/x3dosg/xml-schema-dtd/x3d-3.0-Web3dExtensionsPublic.xsd:83:59: error: SimpleType (:MFInt32) for attribute: faceTexCoordIndex not found
/home/patrick/projects/x3dosg/xml-schema-dtd/x3d-3.0-Web3dExtensionsPublic.xsd:84:50: error: SimpleType (:MFBool) for attribute: faceEmpty not found
/home/patrick/projects/x3dosg/xml-schema-dtd/x3d-3.0-Web3dExtensionsPublic.xsd:85:51: error: SimpleType (:MFBool) for attribute: faceHidden not found
x3d-3.0.xsd:5805:41: warning: element 'GeoCoordinate' is implicitly of
anyType
x3d-3.0.xsd:5805:41: info: did you forget to specify 'type' attribute?
x3d-3.0.xsd:5806:44: warning: element 'GeoElevationGrid' is implicitly
of anyType
x3d-3.0.xsd:5806:44: info: did you forget to specify 'type' attribute?
x3d-3.0.xsd:5807:39: warning: element 'GeoLocation' is implicitly of
anyType
x3d-3.0.xsd:5807:39: info: did you forget to specify 'type' attribute?
x3d-3.0.xsd:5808:37: warning: element 'GeoOrigin' is implicitly of
anyType
x3d-3.0.xsd:5808:37: info: did you forget to specify 'type' attribute?
x3d-3.0.xsd:5809:34: warning: element 'GeoLOD' is implicitly of anyType
x3d-3.0.xsd:5809:34: info: did you forget to specify 'type' attribute?
x3d-3.0.xsd:5811:51: warning: element 'GeoPositionInterpolator' is
implicitly of anyType
x3d-3.0.xsd:5811:51: info: did you forget to specify 'type' attribute?
x3d-3.0.xsd:5812:42: warning: element 'GeoTouchSensor' is implicitly of
anyType
x3d-3.0.xsd:5812:42: info: did you forget to specify 'type' attribute?
x3d-3.0.xsd:5813:40: warning: element 'GeoViewpoint' is implicitly of
anyType
x3d-3.0.xsd:5813:40: info: did you forget to specify 'type' attribute?
x3d-3.0.xsd:5814:41: warning: element 'ProtoInstance' is implicitly of
anyType
x3d-3.0.xsd:5814:41: info: did you forget to specify 'type' attribute?





More information about the xsd-users mailing list