You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by Neeraj Bajaj <ne...@sun.com> on 2003/03/19 14:25:20 UTC
DOM L3 DOMImplementationRegistry
Hi Elena,
There is code (line 78) in
DOMImplementationRegistry class where it tries to get the value of
"org.w3c.dom.DOMImplementationSourceList" SYSTEM PROPERTY.
<snip>
String p = System.getProperty(PROPERTY);
</snip>
This part of the code wont work when running under applet and will throw
java.lang.SecurityException for they have different security sandbox
model. This seems to be the only way of getting hold of
DOMImplementationRegistry implementation class and finally getting
org.w3c.dom.Document object. It would deprive all the applets to be able
to use DOM L3 method to create org.w3c.dom.Document object.
What do you think ?
thanks,
Neeraj
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org