Yes I'm using IE v5.5

> Actually, we pass an url containing spaces to the browser. The browser
> replaces all spaces with "%20". This seems to be a problem of Internet
> Explorer. Anyone knows any solution for that?

> Best regards,
> Valentin Kipiatkov
> -----------------------------------------------------------
>  IntelliJ Software, http://www.intellij.com/
>  "Develop with pleasure"
> -----------------------------------------------------------

> ----- Original Message -----
> From: "Claus Ibsen" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, November 30, 2001 12:59 AM
> Subject: [Eap-list] #524: External JavaDoc - problem?


> Hi
>
> I'm using
> java version "1.3.1_01"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_01)
> Java HotSpot(TM) Client VM (build 1.3.1_01, mixed mode)
>
> on W2K and have installed J2EE v1.3
>
> I'm trying it's XML features and have the follwing code
>
>    /**
>     * Transforms the xml file using a xsl file to an output xml file
>     *
>     *
>     * @param  xmlFileUrl        url of the xml input file
>     * @param  xslFileUrl        url of the xsl input file
>     * @param  xmlFileResultUrl  url of the xml output file
>     *
>     * @exception  TransformerConfigurationException   error configurating
> the XSLTransformer
>     * @exception  TransformerException                error in the XSLT
> transformation process
>     *
>     * @since JDKEE 1.3
>     */
>    public static void transform(String xmlFileUrl, String xslFileUrl,
String
> xmlFileResultUrl)
>          throws TransformerConfigurationException, TransformerException {
>
>       // input/output streams
>       StreamSource xmlSource = new StreamSource(xmlFileUrl);
>       StreamSource xslSource = new StreamSource(xslFileUrl);
>       StreamResult xmlResult = new StreamResult(xmlFileResultUrl);
>
>       // create the transformer
>       TransformerFactory factory = TransformerFactory.newInstance();
>       Transformer transformer = factory.newTransformer(xslSource);
>
>       // set output properties - see javadoc for possible values
>       transformer.setOutputProperty("method", "xml");
>       transformer.setOutputProperty("indent", "yes");
>       transformer.setOutputProperty("encoding", "utf-8");
>
>       // execute the xslt transformation
>       transformer.transform(xmlSource, xmlResult);
>    }
>
>
> I have in my project setup for JavaDoc API Paths as:
> d:\jdk1.3.1\docs\api (JDK)
> d:\j2sdkee1.3\doc\api
>
> When I press shift+f1 in the code above I can get the external javadoc.
> But it fails when I press shift+f1 when the cursor is at:
>
>       transformer.setOutpu<CURSOR HERE>tProperty("indent", "yes");
>
> The generated url is:
>
>
file:///D:/j2sdkee1.3/doc/api/javax/xml/transform/Transformer.html#setOutput
> Property(java.lang.String,%20java.lang.String)
>
> But the real one is (if you click yourself)
>
>
file:///D:/j2sdkee1.3/doc/api/javax/xml/transform/Transformer.html#setOutput
> Property(java.lang.String, java.lang.String)
>
> The difference is that IDEA uses %20 for spaces (as supposed to be correct
> since it's url encoded)
>
> But the one at the anchor in the javadoc uses spaces.
>
>
>
> /Claus
>
>
> _______________________________________________
> Eap-list mailing list
> [EMAIL PROTECTED]
> http://www.intellij.com/mailman/listinfo/eap


_______________________________________________
Eap-list mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-list

Reply via email to