You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by "Setera, Craig" <Cr...@Kingland.com> on 2002/02/14 19:33:58 UTC

Problem with ocs.xsl translating content streams

There is a problem with the ocs.xsl file in the 1.3a2 release of Jetspeed
that causes it to be unable to correctly translate the title and description
of each of the channels in the content stream.  It turns out that the
namespace definition for the "dc" namespace in the ocs.xsl does not match
the namespaces being sent by 10am and Moreover.  I'm not exactly sure, but
I'm assuming that Moreover is "correct".

The namespace declaration
xmlns:dc  = "http://purl.org/dc/elements/1.0/"
 
should be: 
xmlns:dc  = "http://purl.org/metadata/dublin_core#"

Thanks,
Craig


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


Re: Problem with ocs.xsl translating content streams

Posted by Santiago Gala <sg...@hisitech.com>.
Setera, Craig wrote:

>There is a problem with the ocs.xsl file in the 1.3a2 release of Jetspeed
>that causes it to be unable to correctly translate the title and description
>of each of the channels in the content stream.  It turns out that the
>namespace definition for the "dc" namespace in the ocs.xsl does not match
>the namespaces being sent by 10am and Moreover.  I'm not exactly sure, but
>I'm assuming that Moreover is "correct".
>
>The namespace declaration
>xmlns:dc  = "http://purl.org/dc/elements/1.0/"
> 
>should be: 
>xmlns:dc  = "http://purl.org/metadata/dublin_core#"
>

According to

http://dublincore.org/documents/2000/11/dcmes-xml/

dc should be named as xmlns:dc = "http://purl.org/dc/elements/1.1/ (or 
1.0, depending on version).

I think it is 10.am and moreover who are wrong.

I am trying a solution consisting on matching (nearly) any namespace. 
For description it will not work, since we have rdf:description at this 
level, so the test is more complex. Check out the file from cvs and try.

It is still a hack.

>
>Thanks,
>Craig
>
>
>--
>To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
>For additional commands, e-mail: <ma...@jakarta.apache.org>
>




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