Michael P. McCutcheon wrote:
I guess I'm just confused at how on your installation, it searches DTD/x3d-30.dtd defined in the entity resolver.. On my installation, it searches for the www.web3d.org DTD's specified in SAVAdapter.
SAVAdapter does no searching at all. All it does is confirm that the string is correct according to "the specification". The searching is done by the entity resolver code to acquire the DTD file and hand it back to the parser. By the time it gets to the startDTD call the DTD file has already been located on disk and fed to the parser. The SAX spec says that startDTD won't be called until then. BUUUT... the reason you get this exception is that your System ID is wrong. If you are still using the same test file as the one you posted to the list before, then it will never work in the current file. Your content is wrong, not the code. You need to fix your content first before blaming the code. Both the PUBLIC ID string _and_ the SYSTEM ID string are wrong in that example.
Also, one thing to note is that there are no examples in the examples directory :) There is only a single .wrl, no X3D samples at all, either in the .tar download or the CVS 'get' that I did.
Hmmm... CVS.. stuff... look in the parsetest/xml directory for a collection of files. I thought we'd copied a bunch of those over into the examples dir for the release code, but it looks like we haven't. I think that's probably worth putting together a small zip file for everyone to play with. -- 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".
