You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cactus-dev@jakarta.apache.org by cm...@apache.org on 2003/05/04 12:41:28 UTC
cvs commit: jakarta-cactus/documentation/docs/skins/jakarta.apache.org/stylesheets common.xsl
cmlenz 2003/05/04 03:41:28
Modified: documentation/docs/skins/jakarta.apache.org/stylesheets
common.xsl
Log:
Two slashes to indicate an absolute file seems more correct
Revision Changes Path
1.12 +2 -2 jakarta-cactus/documentation/docs/skins/jakarta.apache.org/stylesheets/common.xsl
Index: common.xsl
===================================================================
RCS file: /home/cvs/jakarta-cactus/documentation/docs/skins/jakarta.apache.org/stylesheets/common.xsl,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- common.xsl 3 May 2003 16:39:46 -0000 1.11
+++ common.xsl 4 May 2003 10:41:27 -0000 1.12
@@ -36,7 +36,7 @@
sitemap.xml placed at the same level as the xdoc files.
The path we specify is relative to where this stylesheet is located -->
<xsl:variable name="sitemap"
- select="document(concat('file:///',$sitemapFile))/sitemap"/>
+ select="document(concat('file://',$sitemapFile))/sitemap"/>
<!-- The current document being processed. Note: This is needed for the
"get-base-directory" template as it can be called with another
---------------------------------------------------------------------
To unsubscribe, e-mail: cactus-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: cactus-dev-help@jakarta.apache.org
Re: cvs commit: jakarta-cactus/documentation/docs/skins/jakarta.apache.org/stylesheets
common.xsl
Posted by Christopher Lenz <cm...@gmx.de>.
Vincent Massol wrote:
> Hum... I wonder...
>
> The format for URL with file protocol is:
>
> file://<either blank or localhost>/<path>
>
> thus when not specifying localhost the format is:
>
> file:///<path>
>
> (where path is for example: "c:/apps/whatever" for windows)
>
> -Vincent
Dammit, you're right :-)
(and the change also breaks the build on windows, so it's already backed
out).
I've been looking at "file:" URIs, and they differ from tool to tool,
platform to platform. I somehow got the impression that the third slash
actually belonged the the path.
Now we just need to find out what's going wrong with the Gump build :-P
>>-----Original Message-----
>>From: cmlenz@apache.org [mailto:cmlenz@apache.org]
>>Sent: 04 May 2003 12:41
>>To: jakarta-cactus-cvs@apache.org
>>Subject: cvs commit: jakarta-
>>cactus/documentation/docs/skins/jakarta.apache.org/stylesheets
>
> common.xsl
>
>>cmlenz 2003/05/04 03:41:28
>>
>> Modified: documentation/docs/skins/jakarta.apache.org/stylesheets
>> common.xsl
>> Log:
>> Two slashes to indicate an absolute file seems more correct
>>
>> Revision Changes Path
>> 1.12 +2 -2 jakarta-
>>
>
> cactus/documentation/docs/skins/jakarta.apache.org/stylesheets/common.xs
> l
>
>> Index: common.xsl
>> ===================================================================
>> RCS file: /home/cvs/jakarta-
>>
>
> cactus/documentation/docs/skins/jakarta.apache.org/stylesheets/common.xs
> l,
>
>>v
>> retrieving revision 1.11
>> retrieving revision 1.12
>> diff -u -r1.11 -r1.12
>> --- common.xsl 3 May 2003 16:39:46 -0000 1.11
>> +++ common.xsl 4 May 2003 10:41:27 -0000 1.12
>> @@ -36,7 +36,7 @@
>> sitemap.xml placed at the same level as the xdoc files.
>> The path we specify is relative to where this stylesheet is
>>located -->
>> <xsl:variable name="sitemap"
>> - select="document(concat('file:///',$sitemapFile))/sitemap"/>
>> + select="document(concat('file://',$sitemapFile))/sitemap"/>
>>
>> <!-- The current document being processed. Note: This is needed
>
> for
>
>>the
>> "get-base-directory" template as it can be called with
>
> another
--
Christopher Lenz
/=/ cmlenz at gmx.de
---------------------------------------------------------------------
To unsubscribe, e-mail: cactus-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: cactus-dev-help@jakarta.apache.org
RE: cvs commit: jakarta-cactus/documentation/docs/skins/jakarta.apache.org/stylesheets common.xsl
Posted by Vincent Massol <vm...@pivolis.com>.
Hum... I wonder...
The format for URL with file protocol is:
file://<either blank or localhost>/<path>
thus when not specifying localhost the format is:
file:///<path>
(where path is for example: "c:/apps/whatever" for windows)
-Vincent
> -----Original Message-----
> From: cmlenz@apache.org [mailto:cmlenz@apache.org]
> Sent: 04 May 2003 12:41
> To: jakarta-cactus-cvs@apache.org
> Subject: cvs commit: jakarta-
> cactus/documentation/docs/skins/jakarta.apache.org/stylesheets
common.xsl
>
> cmlenz 2003/05/04 03:41:28
>
> Modified: documentation/docs/skins/jakarta.apache.org/stylesheets
> common.xsl
> Log:
> Two slashes to indicate an absolute file seems more correct
>
> Revision Changes Path
> 1.12 +2 -2 jakarta-
>
cactus/documentation/docs/skins/jakarta.apache.org/stylesheets/common.xs
l
>
> Index: common.xsl
> ===================================================================
> RCS file: /home/cvs/jakarta-
>
cactus/documentation/docs/skins/jakarta.apache.org/stylesheets/common.xs
l,
> v
> retrieving revision 1.11
> retrieving revision 1.12
> diff -u -r1.11 -r1.12
> --- common.xsl 3 May 2003 16:39:46 -0000 1.11
> +++ common.xsl 4 May 2003 10:41:27 -0000 1.12
> @@ -36,7 +36,7 @@
> sitemap.xml placed at the same level as the xdoc files.
> The path we specify is relative to where this stylesheet is
> located -->
> <xsl:variable name="sitemap"
> - select="document(concat('file:///',$sitemapFile))/sitemap"/>
> + select="document(concat('file://',$sitemapFile))/sitemap"/>
>
> <!-- The current document being processed. Note: This is needed
for
> the
> "get-base-directory" template as it can be called with
another
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cactus-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: cactus-dev-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: cactus-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: cactus-dev-help@jakarta.apache.org