DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25416>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25416

org.apache.xml.utils.SystemIDResolver.getAbsoluteURI(String urlString, String base) 
catches MalformedURIException with applet





------- Additional Comments From [EMAIL PROTECTED]  2004-02-02 21:35 -------
xalan uses "user.dir" property as a base URI  if  systemID has not been set.
This property obviously cannot be access from an ordinary applet. xalan set 
systemID 
as an empty string. Our current behavior is incorrect (according to Java API for 
XML Processing) for both applets and applications. That is why we have this 
problem. 

I am fixing the problem only for applets (and in  the current CVS only) 
getSystemId() will return null if applet if  systemID has not been set. The for 
application is very simple, but risky . I think that a lot of user application 
will broken if I change existing behavior (making it correct). I am opening 
another bug  for applications.

To make the test-case work  
Set system ID (on line 31)
…
DOMSource styleSource = new DOMSource(styleDoc);//
styleSource.setSystemId("Your_system_ID"); // add such line 
TransformerImpl transformer = (TransformerImpl);
…

Reply via email to