Michael P. McCutcheon wrote:
Yes...you were correct...it was a problem with my classpath. (I have
fixed it)...BUT,
Now I'm having different problems...it keeps saying that my PUBLIC ID is
incorrect. See attached
x3d file.
The DOCTYPE was taken directly out of the documentation for the startDTD
method of the
org.web3d.x3d.jaxp.X3DSAVAdapter class. So I can't figure out why it
keeps bombing out.
I've tried various doctypes (listed in the X3DCOnstants), but no matter
what, it keeps bombing out here:
I've attached a fixed version.
The DOCTYPE was not correct, and the X3D tag was missing a profile
statement, I selected Interactive, you might want Immersive for larger
scenes.
--
Alan Hudson
President: Yumetech, Inc. http://www.yumetech.com/
Web3D Open Source Chair http://www.web3d.org/TaskGroups/source/
<?xml version="1.0"?>
<!DOCTYPE X3D PUBLIC "+//Web3D//DTD X3D 3.0 Interactive//EN"
"http://www.web3d.org/specification/x3d/x3d-3.0.dtd">
<X3D profile="Interactive">
<Scene>
<Transform translation="0 0 -3" >
<Shape>
<Sphere radius=".5" />
<Appearance>
<Material diffuseColor="0 1 0" />
</Appearance>
</Shape>
</Transform>
</Scene>
</X3D>