You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lenya.apache.org by bu...@apache.org on 2005/06/02 05:20:26 UTC

DO NOT REPLY [Bug 35171] New: - pipeline nesting error with cocoon 2.1.8-dev

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=35171>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=35171

           Summary: pipeline nesting error with cocoon 2.1.8-dev
           Product: Lenya
           Version: Trunk
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Miscellaneous
        AssignedTo: dev@lenya.apache.org
        ReportedBy: gregor@apache.org


starting lenya compiled against 2.1.8-dev yields

An Error Occurred

Element 'pipeline' is not allowed at
file:/export/home/lenya/src/lenya-trunk/build/lenya/webapp/global-sitemap.xmap:309:42

org.apache.cocoon.ProcessingException: Failed to load sitemap from
file:/export/home/lenya/src/lenya-trunk/build/lenya/webapp/global-sitemap.xmap:
org.apache.avalon.framework.configuration.ConfigurationException: Element
'pipeline' is not allowed at
file:/export/home/lenya/src/lenya-trunk/build/lenya/webapp/global-sitemap.xmap:309:42

cause: org.apache.avalon.framework.configuration.ConfigurationException: Element
'pipeline' is not allowed at
file:/export/home/lenya/src/lenya-trunk/build/lenya/webapp/global-sitemap.xmap:309:42

and indeed:

     <!-- Admin area entry point: redirect to admin.users usecase -->
      <map:match pattern="*/admin/**">
        <map:select type="parameter">
          <map:parameter name="parameter-selector-test" value="{request-param:l$
          <map:when test="">
            <map:redirect-to session="true" uri="{request:requestURI}?lenya.use$
          </map:when>
        </map:select>
      </map:match>

      <!-- Internal usecases -->
      <map:pipeline internal-only="true">
        <map:match type="usecase" pattern="*">
          <map:match pattern="core/*/**">
            <map:mount uri-prefix="core/{1}" src="lenya/usecases/{1}/usecase.xm$
          </map:match>
          <map:match pattern="*/**">

note how the map:pipeline is nested inside another map:pipeline, which is
illegal and flagged by 2.1.8-dev

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org