cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jörg Heinicke (JIRA) <j...@apache.org>
Subject [jira] Assigned: (COCOON-1196) [XSP] logicsheet-util.xsl failes with duplicate namespace declarations
Date Tue, 03 Oct 2006 11:17:22 GMT
     [ http://issues.apache.org/jira/browse/COCOON-1196?page=all ]

Jörg Heinicke reassigned COCOON-1196:
-------------------------------------

    Assignee: Jörg Heinicke  (was: Cocoon Developers Team)

> [XSP] logicsheet-util.xsl failes with duplicate namespace declarations
> ----------------------------------------------------------------------
>
>                 Key: COCOON-1196
>                 URL: http://issues.apache.org/jira/browse/COCOON-1196
>             Project: Cocoon
>          Issue Type: Bug
>          Components: Blocks: XSP
>    Affects Versions: 2.1.8
>         Environment: Operating System: other
> Platform: Other
>            Reporter: Andreas Hartmann
>         Assigned To: Jörg Heinicke
>            Priority: Minor
>
> If an input module namespace is declared twice, e.g.
>   xmlns:xsp-input="http://apache.org/cocoon/xsp/input/1.0"
>   xmlns:input="http://apache.org/cocoon/xsp/input/1.0"
> and <input:param> is used for a required parameter:
>   <input:get-attribute>
>     <input:param name="name">foo</input:param>
>     <input:param name="module">list</input:param>
>   </input:get-attribute>
> a ProcessingException is thrown, because the template
> "get-namespace-prefix" in logicsheet-util.xsl is matching
> the first namespace declaration and does not find any
> parameter tags for this namespace prefix.
> I think it is not a good practise to rely on namespace
> prefixes. Wouldn't it be possible to use just the
> namespace URIs to resolve the parameter?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

Mime
View raw message