At 11:07 06/02/2001 -0500, you wrote:
>I am trying to code the following portlet entry and I get errors:
>
>
><portlet-entry type="ref" parent="RSS" name="Commodities">
> <parameter name="itemdisplayed" value="10" type="int"/>
>
><url>http://p.moreover.com/cgi-local/page?c=Commodities%20news&o=rss</url>
> <meta-info>
> <title>Mozilla</title>
> </meta-info>
> </portlet-entry>
>
>
>my jetspeed log says:
>
>Exception: java.lang.NullPointerException
> Stack Trace follows:
> java.lang.NullPointerException
> at
>org.apache.jetspeed.daemon.impl.util.diskcachedaemon.URLRefresher.run(URLRef
>resher.java:114)
> at
>org.apache.jetspeed.services.threadpool.RunnableThread.run(RunnableThread.ja
>va:145)
>[Tue Feb 06 11:01:46 EST 2001] -- ERROR -- Could not unmarshal:
>file:C:\apps\tomcat32\webapps\jetspeed\WEB-INF\conf\jetspeed-config.jcfg
> Exception: org.xml.sax.SAXParseException: The reference to
> entity "o" must
>end with the ';' delimiter.{file: [not available]; line: 145; column: 78}
> Stack Trace follows:
> org.xml.sax.SAXParseException: The reference to entity "o" must
> end with
>the ';' delimiter.
>
>
>How do I code the url link to avoid this error?
In a XML document, the & character has special meaning and must be escaped
using '&'.
Your URL should look like:
<url>http://p.moreover.com/cgi-local/page?c=Commodities%20news&o=rss</url>
--
Raphaël Luta - [EMAIL PROTECTED]
Vivendi Universal Networks - Services Manager / Paris
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/[email protected]/>
List Help?: [EMAIL PROTECTED]