You are viewing a plain text version of this content. The canonical link for it is here.
Posted to taglibs-dev@jakarta.apache.org by bu...@apache.org on 2004/05/25 09:34:11 UTC

DO NOT REPLY [Bug 29194] New: - xml-namespaces not supported

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=29194>.
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=29194

xml-namespaces not supported

           Summary: xml-namespaces not supported
           Product: Taglibs
           Version: unspecified
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: XTags Taglib
        AssignedTo: taglibs-dev@jakarta.apache.org
        ReportedBy: jesper@zedlitz.de


It seems that the XTags taglib does not support xml-namespaces. Example: 
<xtags:parse> 
  <test><foo:bar xmlns:foo="http://foo.bar">Test</foo:bar></test> 
</xtags:parse> 
<xtag:forEach select="//foo:bar">found</xtags:forEach> 
does not find the element.  
 
The prefix has to be bound to the namespace URI somewhere. I suggest a new tag 
element 
<xtag:bindNamespace prefix="foo" uri="http://foo.bar"/> 
which adds the namespace binding to the context of the xpath expression.

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