DO NOT REPLY [Bug 31974] - [patch] Mixing binary and xml content in collection results to exceptions when doing an xquery

[email protected]
Newsgroups gmane.text.xml.xindice.devel
Message-ID <[email protected]>
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=31974>.
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=31974





------- Additional Comments From [email protected]  2006-10-04 22:19 -------
Use this instead

        if (!(entry instanceof Document)) {
        	
            if (log.isErrorEnabled()) {
            log.error("Message",
            		new DBException(FaultCodes.COL_INVALID_RESULT,"Resource '" + key +
"' in collection '" + getCanonicalName() + "' is not a document"));
            }
            return null;
        }

-- 
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.