You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Bobby Mitchell <bo...@niac.usra.edu> on 2002/07/25 20:23:30 UTC

Erros using

I have had problems with <link> so I changed the file 
cocoon/documentation/xdocs/index.xml from:

********************************************************************************* 

      If you are looking for a past generation of Cocoon (no longer 
supported but still available),
  go to the <link href= "http://xml.apache.org/cocoon1/" >Cocoon 1.x 
area</link>.
********************************************************************************* 

to:
********************************************************************************* 

      If you are looking for a past generation of Cocoon (no longer 
supported but still available),
  go to the <link href= "http://xml.apache.org/cocoon1/?test=a" >Cocoon 
1.x area</link>.
********************************************************************************* 


This doesn't seem to cause any problems, but when I change it to this:
********************************************************************************* 

      If you are looking for a past generation of Cocoon (no longer 
supported but still available),
  go to the <link href= "http://xml.apache.org/cocoon1/?test=a&test1=b" 
 >Cocoon 1.x area</link>.
********************************************************************************* 

I get errors. There are two different variations:

   1. Sometimes I get the correct html output, but does not contain the 
link at all or anything after the link in the content section.
   2. Sometimes I get no output at all for the content.

When #1 happens the error.log/sitemap.log contains the following:
********************************************************************************* 

error.log <http://www.niac.usra.edu/files/1.error.out>
sitemap.log <http://www.niac.usra.edu/files/1.sitemap.out>
********************************************************************************* 

When #2 happens the error.log/sitemap.log contains the following:
********************************************************************************* 

error.log <http://www.niac.usra.edu/files/2.error.out>
sitemap.log <http://www.niac.usra.edu/files/2.sitemap.out>
********************************************************************************* 


How can I use <link> when there is a query_string with at least 2 
parameters?


-- 
Robert J. (Bobby) Mitchell
Systems Administrator
NASA Institute for Advanced Concepts
555A 14th St Atlanta, Ga. 30318
Phone: (404)347-9633 Fax: (404)347-9638




-- 
Robert J. (Bobby) Mitchell
Systems Administrator
NASA Institute for Advanced Concepts
555A 14th St Atlanta, Ga. 30318
Phone: (404)347-9633 Fax: (404)347-9638




---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>


Re: Erros using

Posted by Ivan Luzyanin <iv...@ProZa.Lviv.UA>.
On ���, 2002-07-25 at 21:23, Bobby Mitchell wrote:

> I have had problems with <link> so I changed the file 
> cocoon/documentation/xdocs/index.xml from:
> 
> ********************************************************************************* 
> 
>       If you are looking for a past generation of Cocoon (no longer 
> supported but still available),
>   go to the <link href= "http://xml.apache.org/cocoon1/" >Cocoon 1.x 
> area</link>.
> ********************************************************************************* 
> 
> to:
> ********************************************************************************* 
> 
>       If you are looking for a past generation of Cocoon (no longer 
> supported but still available),
>   go to the <link href= "http://xml.apache.org/cocoon1/?test=a" >Cocoon 
> 1.x area</link>.
> ********************************************************************************* 
> 
> 
> This doesn't seem to cause any problems, but when I change it to this:
> ********************************************************************************* 
> 
>       If you are looking for a past generation of Cocoon (no longer 
> supported but still available),
>   go to the <link href= "http://xml.apache.org/cocoon1/?test=a&test1=b" 
>  >Cocoon 1.x area</link>.
> ********************************************************************************* 
> 
> I get errors. There are two different variations:

Try <link href=
"http://xml.apache.org/cocoon1/?test=a&amp;test1=b">Cocoon 1.x
area</link>

Ivan.


RE: Erros using

Posted by Vadim Gritsenko <va...@verizon.net>.
> From: Bobby Mitchell [mailto:bobby@niac.usra.edu]

Bobby,
 
> I have had problems with <link> so I changed the file
> cocoon/documentation/xdocs/index.xml from:
                             ^^^^^^^^^
...

> <link href= "http://xml.apache.org/cocoon1/?test=a&test1=b">Cocoon 1.x
> area</link>.
>
************************************************************************
> 
> I get errors. There are two different variations:
> 
>    1. Sometimes I get the correct html output, but does not contain
the
> link at all or anything after the link in the content section.
>    2. Sometimes I get no output at all for the content.

...

> How can I use <link> when there is a query_string with at least 2
> parameters?

1. Read http://www.w3.org/TR/REC-xml, especially "2.4 Character Data and
Markup"

2. Replace & with &amp;


Vadim



---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>