You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by "Bentley, Tim" <TI...@ca.com> on 2001/02/08 06:25:49 UTC

LDAP taglib & DSML

Jeff -

Haven't had a chance to move in the direction of authorisation.  Sorry for
the initial flurry of enthusiasm followed by deafening silence - priorities
on my project have altered slightly since last year.  I see from the current
version that you have added stuff in that direction already, which is great
:-)

I don't know whether there has been any previous discussion on using DSML as
the return format for the directory data.  This has been raised as a
requirement for the stuff I've been working on, and I've made appropriate
changes to my version of the taglib (which also contains some other stuff
which probably wouldn't be of interest to the general user) so that it
returns a (hopefully) dsml-compliant DOM branch.  

Currently I am over-riding the contents of the <document-element> and
<entry-element> tags, but I would like to use a mechanism to allow dsml to
be switchable, and which also maintained backward compatibility.  

Is dsml something that you or other people are interested in?  If so, can we
discuss a suitable model for supporting it without breaking the current
model (obviously I would like to do this anyway!)?  Off the top of my head
the obvious way seems to be to add an optional tag which will tell the
taglib to use the DSML format and ignore any <document-element> or
<entry-element> tags, but there may be wrinkles I haven't considered.



Regards,


Tim Bentley
Computer Associates
Senior Software Engineer, eTrust Directory Development Lab.
tel: +61 3 9727-8930
fax: +61 3 9727 3491
mailto:tim.bentley@ca.com

Re: Why doesn't namespace URI exist

Posted by Martin Stricker <sh...@gmx.de>.
Pal Wester wrote:
> 
> I have this in every document:
> <xsp:page
>   language="java"
>   xmlns:xsp="http://www.apache.org/1999/XSP/Core"
>   xmlns:esql="http://apache.org/cocoon/SQL/v2"
> >
> 
> I've never thought of it before, but i parsed
> the URI from xmlns into the browser and
> non of them actually exist. Why is that??

The namespace URLs need not exist. They are only used as unique
identifiers. So just be careful to always use the same URL and don't use
an URL which might conflict with any imported XML files. My personal
namespaces use my private homepage URL so I can be sure enough no one
else will use that and I therefore can use any XML and XSL i find useful
in my applications.

Best regards,
Martin Stricker

Why doesn't namespace URI exist

Posted by Pal Wester <pa...@florence.never.no>.
I have this in every document:
<xsp:page
  language="java"
  xmlns:xsp="http://www.apache.org/1999/XSP/Core"
  xmlns:esql="http://apache.org/cocoon/SQL/v2"
>

I've never thought of it before, but i parsed
the URI from xmlns into the browser and
non of them actually exist. Why is that??

mvh:
Pal Wester


Re: Cocoon 1.8.2 and SAXON 6.2

Posted by Steffen Stundzig <st...@smb-tec.com>.
Hi Michael,

> "Michael Kostadinovich" <mi...@tightnet.com> wrote:
> java.lang.NullPointerException
> 
> I'm running Cocoon1.8.2 on Resin1.2.0, Windows 2000 and Apache1.3.14,
> JDK1.3. It looks like the store actor is not initialized. Before I spend
> couple more nights trying to find the problem, is there anybody who already
> solved this problem?

This bug is fixed in Cocoon 1.8.3. In the Engine the transformer were 
initialized before the store.

Regards
	Steffen...
-- 
______________________________________________________________________
Steffen Stundzig                            mailto:steffen@smb-tec.com
SMB GmbH                                        http://www.smb-tec.com




Cocoon 1.8.2 and SAXON 6.2

Posted by Michael Kostadinovich <mi...@tightnet.com>.
Hi!

I'm trying to get Cocoon use the SaxonTransformer.
I downloaded the SAXONTransformer.java, compiled it, added to cocoon.jar,
specified the transformer in cocoon.properties, modified the classpath etc,
cocoon starts fine, I can access Cocoon.xml, but when I want to access an
XML document I get the following error:

java.lang.NullPointerException
	at
org.apache.cocoon.transformer.SAXONTransformer.getTransformer(SAXONTransform
er.java:287)
	at
org.apache.cocoon.transformer.SAXONTransformer.transform(SAXONTransformer.ja
va:194)
	at
org.apache.cocoon.processor.xslt.XSLTProcessor.process(XSLTProcessor.java:11
6)
	at org.apache.cocoon.Engine.handle(Engine.java:384)
	at org.apache.cocoon.Cocoon.service(Cocoon.java:183)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:83)
	at com.caucho.server.http.Invocation.service(Invocation.java:236)
	at com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:142)
	at
com.caucho.server.http.RunnerRequest.handleRequest(RunnerRequest.java:342)
	at
com.caucho.server.http.RunnerRequest.handleConnection(RunnerRequest.java:263
)
	at com.caucho.server.TcpConnection.run(TcpConnection.java:139)
	at java.lang.Thread.run(Thread.java:484)


I'm running Cocoon1.8.2 on Resin1.2.0, Windows 2000 and Apache1.3.14,
JDK1.3. It looks like the store actor is not initialized. Before I spend
couple more nights trying to find the problem, is there anybody who already
solved this problem?

thanx

mk