I also get that null pointer exception with the xmldb transformer and eXist.
Hans On 8/9/05, Christoph Hermann <[EMAIL PROTECTED]> wrote: > Christoph Hermann schrieb: > > Hello, > > > did anyone get the xmldb transformer working? > > I always get a NullPointerException when using it, no matter what i do. > > To specify this a little more precisely: I get an NPE when using the > Transformer from eXist, using the one with cocoon seems to work. > > But i have now the problem, that i have to specify the user (like > request:set-current-user in xquery) but in xupdate. > What i do is the following: > > <db:query type="update" oid="users.xml"> > <xupdate:modifications version="1.0"> > <xupdate:update select="/users/[EMAIL PROTECTED] = > 1]/foo">bar</xupdate:update> > </xupdate:modifications> > </db:query> > > This works fine if the file is world-writable, but not if i set specific > permissions. > > So my question would be: Is there a way to specify user/password either > for the transformer or in an xml document? > > Christoph > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
