> From: Zack Angelo [mailto:[EMAIL PROTECTED]]
> 
> > C2 doesn't seem to be behaving as expected...my code looks just like
> > the
> > examples. Any ideas? I'm sure it's something obvious.
> >
> > Okay, so apparently this:
> >
> >   String userID = <xsp-session:get-attribute name="malin-uid"/>;

Do you have xsp-session namespace declared?

  xmlns:xsp-session="http://apache.org/xsp/session/2.0";


Vadim

> >
> > Generates into this (and, obviously, generates some errors):
> >
> > String userID =
> >     xspAttr.addAttribute(
> >       "",
> >       "name",
> >       "name",
> >       "CDATA",
> >       "malin-uid"
> >     );
> >
> >
> >     this.contentHandler.startElement(
> >       "http://apache.org/session/2.0";,
> >       "get-attribute",
> >       "xsp-session:get-attribute",
> >       xspAttr
> >     );
> >     xspAttr.clear();
> >
> >
> >
> >     this.contentHandler.endElement(
> >       "http://apache.org/session/2.0";,
> >       "get-attribute",
> >       "xsp-session:get-attribute"
> >     );
> >
> >     ;
> >
> > TIA,
> > Zack


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to