Hi Arjen, 

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Arjen Zwerver
> Sent: woensdag 23 juli 2008 12:30
> To: [email protected]
> Subject: [HippoCMS-dev] HippoCMS Xopus xsl problem
> 
> Hi,
> 
> I'm working on getting Xopus to run in the HippoCMS. In the 
> Editing tab I now have the Xopus plugin running, but when I 
> try to open a Text Page for example I get the following 
> message from Xopus:
> 
> The file 
> 'http://localhost:50000/editing/styles/text.xsl?hint=content' 
> does not exist on the server.
> Retry?
> 
> When I try to open the file in the browser
> (http://localhost:50000/editing/styles/text.xsl) it gives met 
> the error
> 
> org.apache.cocoon.ResourceNotFoundException: Error during 
> resolving of the input stream at <map:read> -
> file:/D:/werk/nwb/cmscustom/editor/src/site/editing/sitemap.xmap:81:64
> at <map:mount> -
> file:/D:/werk/nwb/cmscustom/editor/src/site/sitemap.xmap:352:5
> 4 at <map:mount> -
> file:/D:/werk/nwb/cmscustom/editor/target/hippo-cms-v6.05.04-d
> ev/cocoon/sitemap.xmap:126:59
> 
> cause: java.io.FileNotFoundException: 
> D:\werk\nwb\cmscustom\editor\src\site\editing (Toegang 
> geweigerd/Access
> denied)
> 
> In
> D:\werk\nwb\cmscustom\editor\target\hippo-cms-v6.05.04-dev\coc
> oon\types\text
> I copied text-xopus.xsl to test.xsl, but no luck.
> 
> Anyone suggestions what's causing this problem? I'm not very 
> familiar with the sitemap files.
> 
> Loading the xsd-file (http://localhost:50000/editing/schemas/text.xsd)
> works fine.
> 

If you use Xopus in Hippo CMS you have to add a style element in your
types.xml with the path to your XSL.

E.g.

    <resource name="text" label="types:cms.types.label.text"
i18n:attr="label">
      <schema>context://types/text/text.xsd</schema>
      <template>context://types/text/text.xml</template>
      <css>context://types/text/text.css</css>
      <style>context://types/text/layout.xml</style>
    </resource>

Regards,

Jasha Joachimsthal 

www.onehippo.com
Amsterdam - Hippo B.V. Oosteinde 11 1017 WT Amsterdam +31(0)20-5224466 
San Francisco - Hippo USA Inc. 101 H Street, suite Q Petaluma CA
94952-3329 +1 (707) 773-4646

********************************************
Hippocms-dev: Hippo CMS development public mailinglist

Searchable archives can be found at:
MarkMail: http://hippocms-dev.markmail.org
Nabble: http://www.nabble.com/Hippo-CMS-f26633.html

Reply via email to