Nice catch on the ":" instead of "-"

Unfortunately, it did not work.

Tried your other suggestions, as well, and others, too. Any clue on
where I might look or how I might determine where the problem is?

Here is the authentication matcher.

       <map:match pattern="authenticate">
       <map:generate src="docs/sql-page.xml"/>
       <map:transform type="sql">
          <map:parameter name="use-connection" value="sandbox"/>
          <map:parameter name="show-nr-of-rows" value="true"/>
          <map:parameter name="username"
value="{request-param:username}"/>
        </map:transform>
        <map:transform src="stylesheets/sql2html.xsl">
          <map:parameter name="servletPath"
value="{request:servletPath}"/>
          <map:parameter name="sitemapURI"
value="{request:sitemapURI}"/>
          <map:parameter name="contextPath"
value="{request:contextPath}"/>
          <map:parameter name="file" value=".xml"/>
        </map:transform>
        <map:serialize type="xml"/>
      </map:match>

And here is the query from sql-page.xml

    <sql:execute-query xmlns:sql="http://apache.org/cocoon/SQL/2.0";>
      <sql:query>select name from user where name =
'<sql:substitute-value name="username"/>'</sql:query>
    </sql:execute-query>


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

Reply via email to