commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 14263] - BeanReader returns no object when used with SAXParser
Date Fri, 08 Nov 2002 14:11:10 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14263>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14263

BeanReader returns no object when used with SAXParser

contact@hdietrich.net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |



------- Additional Comments From contact@hdietrich.net  2002-11-08 14:11 -------
Further explanation:

I want to use an XML Database as source for my Beans. The database API provides 
functions like query(queryString) which returns a class of type Resource. 
Resource can be read via:
Resource.getContent() returning a String
Resource.getContentAsDOM() return a DOM Node object
Resource.getContentAsSAX(ContentHandler) passing the result to a SAX 
ContentHandler

The first and second method work well with Betwixt, the third method doesn't 
(see TestCase).
The reason to use the ContentHandler is simply a performance issue (creating a 
String or a Node object from raw XML takes some time, where ContentHandler just 
passes the required information and is therefore much faster).

Martin: What you are describing is excactly the way I want to do it, but it 
does not work.

--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message