What happens if you use the current version of xerces? Gary
On Sep 20, 2011, at 12:52, "[email protected]" <[email protected]> wrote: > https://issues.apache.org/bugzilla/show_bug.cgi?id=51849 > > --- Comment #4 from Varun Balakrishnan <[email protected]> 2011-09-20 > 16:52:13 UTC --- > (In reply to comment #3) >> This works for me: >> >> @Test >> public void test() throws MalformedURLException { >> new URL("https://[fe80::92]:443/ucsm/log4j.xml"); >> } >> >> with: >> >> Java version: 1.6.0_24, vendor: Sun Microsystems Inc. >> Java home: C:\Program Files\Java\jdk1.6.0_24\jre >> Default locale: en_US, platform encoding: Cp1252 >> OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows" >> >> Make sure you are calling the JRE you really think you are. You could also >> test >> with the latest JRE. > > As I have mentioned in my bug report, > > com.sun.org.apache.xerces.internal.impl.XMLEntityManager::private static > String > expandSystemIdStrictOff(String systemId, String baseSystemId) removes both > left > and right square brackets and replaces those with %5B and %5D respectively at > some point of time. This happens during the initialization. So the string > passed to URL would be "https://%5Bfe80::92%5D:443/ucsm/log4j.xml" and this > fails. > > -- > Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email > ------- You are receiving this mail because: ------- > You are the assignee for the bug. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
