jakarta-taglibs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 28280] New: - bug in xtags:parse whith using a attribute reader
Date Thu, 08 Apr 2004 13:52:18 GMT
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=28280>.
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=28280

bug in xtags:parse whith using a attribute reader

           Summary: bug in xtags:parse whith using a attribute reader
           Product: Taglibs
           Version: 1.1
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: XTags Taglib
        AssignedTo: taglibs-dev@jakarta.apache.org
        ReportedBy: vasata@sefira.cz


My bug is in binary distibution jakarta-taglibs-20040408.zip. 

I have object oracle.xml.parser.v2.XMLDocument that represent XML file.
I want use this object into tag xtags...

  XMLDocument xmlDoc = rpn.getXMLQueryAndResult(conn, request);
  StringWriter sw = new StringWriter();
  PrintWriter pw = new PrintWriter(sw);
  xmlDoc.print(pw);
  StringReader sr = new StringReader(sw.toString());
<%-- Parsing xml --%>

<xtags:parse reader="<%= sr %>" id="xml"/>

This line throw an exception... But second case is OK

<xtags:parse reader="<%= sr %>" id="xml">
</xtags:parse>

I want use the first posibility and for me is a bug. You have to fill the 
variable reader in method doStartTag (in class 
org.apache.taglibs.xtags.xpath.ParseTag)

Thanx

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


Mime
View raw message