Michael P. McCutcheon wrote:
Well, we're at least we're getting closer :)
It seems that the DTD being pointed to is not valid.
Now I'm getting the following error with the file you gave me:
Fatal Error: URI=http://www.web3d.org/specification/x3d/x3d-3.0.dtd
Line=1: The markup declarations
contained or pointed to by the document type declaration must be
My gut feeling says that this is because the file does not exist on the
web3d.org server and it is attempting to parse the 404 HTML error page
that is returned. Try pulling up that URL in an ordinary web browser and
see what happens.
The real question is - why is your code attempting to look at the
web3d.org webserver in the first place? You should be fetching these
files from the local disk as we include them as part of the distribution
in the DTD directory. The batch files that run the stock browser points
to '.', which is the xj3d install dir. The resolver we use internally
looks for a directory ./DTD to grab the DTD files from. So, for the
standard setup, everything works fine. If you are not using the standard
setup, then you will need to make sure your classpath is pointing to the
root of the Xj3D install area so that it picks these files up.
Alternatively, you can create a JAR file that holds these DTD files in a
subdirectory called DTD in the JAR and make sure that is in the
classpath. Either way, that should make sure that we resolve them
properly and you don't have to go off to the external site.
--
Justin Couch http://www.vlc.com.au/~justin/
Java Architect & Bit Twiddler http://www.yumetech.com/
Author, Java 3D FAQ Maintainer http://www.j3d.org/
-------------------------------------------------------------------
"Humanism is dead. Animals think, feel; so do machines now.
Neither man nor woman is the measure of all things. Every organism
processes data according to its domain, its environment; you, with
all your brains, would be useless in a mouse's universe..."
- Greg Bear, Slant
-------------------------------------------------------------------
===========================================================================
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".