How come this simple model does not work?  I keep getting an ugly exception
below.  Funny thing is, if I replace the url="flaresmall.jpg" with
url='"flaresmall.jpg"' is parses but nothing shows up on the sphere.  What am I
doing wrong?

<?xml version="1.0"?>
<!DOCTYPE X3D PUBLIC "+//Web3D//DTD X3D 3.0 Interactive//EN"
  "/www.web3D.org/TaskGroups/x3d/translation/x3d-compact.dtd">

<X3D profile="Interactive">
  <Scene>
    <Transform translation="0 0 -3" >
      <Shape>
        <Sphere radius=".5" />
        <Appearance >
          <ImageTexture url="flaresmall.jpg" />
        </Appearance>
      </Shape>
    </Transform>
  </Scene>
</X3D>

Exception in thread "main" org.web3d.parser.x3d.TokenMgrError: Lexical error at
line 1, column 2.  E
ncountered: "l" (108), after : "f"
        at
org.web3d.parser.x3d.X3DFieldParserTokenManager.getNextToken(X3DFieldParserTokenManager.j
ava:550)
        at org.web3d.parser.x3d.X3DFieldParser.jj_ntk(X3DFieldParser.java:1932)
        at org.web3d.parser.x3d.X3DFieldParser.MFString(X3DFieldParser.java:820)
        at org.web3d.parser.x3d.X3DFieldReader.MFString(X3DFieldReader.java:469)
        at
org.web3d.vrml.renderer.j3d.nodes.texture.J3DImageTexture.setRawValue(J3DImageTexture.jav
a:871)

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to