summaryrefslogtreecommitdiffstats
path: root/scilab/modules/helptools
diff options
context:
space:
mode:
authorAllan CORNET <allan.cornet@scilab.org>2010-02-03 11:17:16 +0100
committerAllan CORNET <allan.cornet@scilab.org>2010-02-03 11:17:16 +0100
commita8c91b307d0500769e315e8df043ff0f01c5ba97 (patch)
tree63fa457df8e07c239de840c0899dde05da724951 /scilab/modules/helptools
parent2049805e66affc293dfbe2e594b6bc92cce77e50 (diff)
downloadscilab-a8c91b307d0500769e315e8df043ff0f01c5ba97.zip
scilab-a8c91b307d0500769e315e8df043ff0f01c5ba97.tar.gz
use URI format for filename (windows)
Diffstat (limited to 'scilab/modules/helptools')
-rw-r--r--scilab/modules/helptools/src/java/org/scilab/modules/helptools/BuildDocObject.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/scilab/modules/helptools/src/java/org/scilab/modules/helptools/BuildDocObject.java b/scilab/modules/helptools/src/java/org/scilab/modules/helptools/BuildDocObject.java
index 8f9460f..a640d5b 100644
--- a/scilab/modules/helptools/src/java/org/scilab/modules/helptools/BuildDocObject.java
+++ b/scilab/modules/helptools/src/java/org/scilab/modules/helptools/BuildDocObject.java
@@ -275,8 +275,10 @@ public class BuildDocObject extends StyleSheet {
275 String mainStyleDoc = SCI + "/modules/helptools/schema/extendedStyle.xsl"; 275 String mainStyleDoc = SCI + "/modules/helptools/schema/extendedStyle.xsl";
276 try { 276 try {
277 String contentMainStyleDoc = Helpers.loadString(new File(mainStyleDoc), "UTF-8"); 277 String contentMainStyleDoc = Helpers.loadString(new File(mainStyleDoc), "UTF-8");
278
278 /* STYLE_DOC is a predefined variable */ 279 /* STYLE_DOC is a predefined variable */
279 contentMainStyleDoc = contentMainStyleDoc.replaceAll("STYLE_DOC", this.styleDoc); 280 File tmpFileForURI = new File(this.styleDoc);
281 contentMainStyleDoc = contentMainStyleDoc.replaceAll("STYLE_DOC", tmpFileForURI.toURI().toString());
280 282
281 File temporaryStyleFile = File.createTempFile("style_",".xsl"); 283 File temporaryStyleFile = File.createTempFile("style_",".xsl");
282 284