You are correct that I must use the system ID you have provided, because it is
one that is allowed by SAVAdapter. But the problem is, when I do it bombs out
with another error....so I'm back right where I started. When I use that
system ID, it tries to validate against the DTD located at the URL, but there
is nothing there so it bombs out. Here is the error...it is trying to parse
the HTML for the 'not found' page as the DTD.
org.web3d.vrml.lang.VRMLException: SAX Error: org.xml.sax.SAXException:
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
well-formed.org.xml.sax.SAXException: URI=http://www.web3d.org/specification
/x3d/x3d-3.0.dtd Line=1: The markup declarations contained or pointed to by the
document type declar
ation must be well-formed.
That is why I had to hack SAVAdapter to accept "DTD/x3d-30.dtd" so that it was
not looking at the external site for the DTD which is not there...I see my
modem light up when I run the program, so I'm pretty sure it's looking at the
external web3d.org site.
Alan Hudson wrote:
Michael P. McCutcheon wrote:
Alrighty...I tried that, still no luck.
It's still giving me the same exception at
org.web3d.x3d.jaxp.X3DSAVAdapter.startDTD(X3DSAVAdapter.java:370)
because the
DTD is not one of the two allowed in the list.
If you are failing here then your SystemID is wrong.
You MUST use the following DOCType for your content. The PublicID(first
entry) can vary by profile, but the URL after that MUST be exactly the
same. The error you are getting says that your SystemID does not match.
Can you send me the file you are trying to load and I'll check the
SystemID?
<!DOCTYPE X3D PUBLIC "+//Web3D//DTD X3D 3.0 Interactive//EN"
"http://www.web3d.org/specification/x3d/x3d-3.0.dtd">
If the SystemID is correct then can you please add this line to your
SAVAdapter and give the result because something majorly weird would be
happening:
right before line 365 in X3DSAVAdapter add:
System.out.println("SystemID size: " + allowedSystemIDs.size());
===========================================================================
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".