[ http://issues.apache.org/jira/browse/XALANJ-1076?page=all ] Morris Kwan closed XALANJ-1076: -------------------------------
> StringIndexOutOfBoundsException in SystemIDResolver when xalan is invoked > from WSAD > ----------------------------------------------------------------------------------- > > Key: XALANJ-1076 > URL: http://issues.apache.org/jira/browse/XALANJ-1076 > Project: XalanJ2 > Type: Bug > Components: Other > Versions: Latest Development Code > Environment: Operating System: All > Platform: All > Reporter: Morris Kwan > Assignee: Morris Kwan > Attachments: bug10519.patch > > This problem was reported by Christina Lau's team. If WSAD is started from a > path like c:\wsappdev.exe, we will see a StringIndexOutOfBoundsException from > the SystemIDResolver class when doing a transform for any XSL that imports > another XSL. > In this case, ProcessorInclude.parse() gets a DOMSource object from an > external > URIResolver. The SystemId of this DOMSource object is null. Then the > TreeWalker > class will set the SourceLocator's SystemId to the "user.dir" system > property, > which happens to be "c:\" in this case. SystemIDResolver.getAbsoluteURI() > will > throw the described exception because it expects somthing after the "\" char. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
