You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Colin Paul Adams <co...@colina.demon.co.uk> on 2002/10/28 20:58:11 UTC

Developers docs out of date?

Looking at /documents/developing/httprequest.html, I see classes
mentioned such as:

org.apache.cocoon.components.language.markup.sitemap.SitemapMarkupLanguage,
org.apache.cocoon.sitemap.Handler
and org.apache.cocoon.sitemap.Manager

for none of which can I find the source code.

Am I to assume these docs are out of date?
-- 
Colin Paul Adams
Preston Lancashire

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Re: Developers docs out of date?

Posted by Vadim Gritsenko <va...@verizon.net>.
Colin Paul Adams wrote:

>>>>>>"Vadim" == Vadim Gritsenko <va...@verizon.net> writes:
>>>>>>            
>>>>>>
>
>    Vadim> That's strange... Looking at the latest *released* version
>    Vadim> of Cocoon, I'm able to find all referenced classes...
>    Vadim> PS Latest stable branch also has all these classes
>
>Well I guess I should have mentioned I was looking at the latest CVS sources.
>  
>

Your fault :)

Mind that website must reflect latest release, and might hint at dev 
version, and sometimes might hint about alpha version. Do you want to 
patch the doc to reflect 2.1 changes (if yes - join cocoon-docs)? 
Downside is that 2.1 api is not stable yet.

Vadim



---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Re: Developers docs out of date?

Posted by Colin Paul Adams <co...@colina.demon.co.uk>.
>>>>> "Vadim" == Vadim Gritsenko <va...@verizon.net> writes:

    Vadim> That's strange... Looking at the latest *released* version
    Vadim> of Cocoon, I'm able to find all referenced classes...
    Vadim> PS Latest stable branch also has all these classes

Well I guess I should have mentioned I was looking at the latest CVS sources.
-- 
Colin Paul Adams
Preston Lancashire

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Re: Developers docs out of date?

Posted by Vadim Gritsenko <va...@verizon.net>.
todd wrote:

>Vadim;
> Hello... can you tell me how you fixed this problem on Cocoon so I can tell the jetspeed folks.
>  
>

Yes, sure... Code snippet below does the trick:

        try {
            if (path.indexOf(':') > 1) {
                this.servletContextURL = new URL(path);
            } else {
                this.servletContextURL = new File(path).toURL();
            }
        } catch (java.net.MalformedURLException me) {
            // VG: Novell has absolute file names starting with the
            // volume name which is easily more then one letter.
            // Examples: sys:/apache/cocoon or sys:\apache\cocoon
            try {
                this.servletContextURL = new File(path).toURL();
            } catch (java.net.MalformedURLException ignored) {
                throw new ServletException("Unable to determine servlet 
context URL.", me);
            }
        }

"if" is for Windows, "else" for URLs, and inside "catch" special case 
for Novell.

Vadim


> DO NOT REPLY [Bug 14917] New: - java.net.MalformedURLException: unknown protocol: vol1  
>
>greets
>
>todd
>http://www.wiserlabz.com
>  
>



---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Re: Developers docs out of date?

Posted by todd <tl...@wiserlabz.com>.
Vadim;
 Hello... can you tell me how you fixed this problem on Cocoon so I can tell the jetspeed folks.


 DO NOT REPLY [Bug 14917] New: - java.net.MalformedURLException: unknown protocol: vol1  

greets

todd
http://www.wiserlabz.com


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Re: Developers docs out of date?

Posted by Vadim Gritsenko <va...@verizon.net>.
Colin Paul Adams wrote:

>Looking at /documents/developing/httprequest.html, I see classes
>mentioned such as:
>
>org.apache.cocoon.components.language.markup.sitemap.SitemapMarkupLanguage,
>org.apache.cocoon.sitemap.Handler
>and org.apache.cocoon.sitemap.Manager
>
>for none of which can I find the source code.
>

That's strange... Looking at the latest *released* version of Cocoon, 
I'm able to find all referenced classes...
Hm... ;)

PS Latest stable branch also has all these classes

Take care,
Vadim



>Am I to assume these docs are out of date?
>  
>




---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org