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=19978>.
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=19978
XMLDBSource namespace missing in collection:result
Summary: XMLDBSource namespace missing in collection:result
Product: Cocoon 2
Version: 2.1M1
Platform: All
OS/Version: All
Status: NEW
Severity: Normal
Priority: Other
Component: general components
AssignedTo: cocoon-dev@xml.apache.org
ReportedBy: cmr@adinet.com.uy
The result is missing the collection namespace in the ending element:
<collection:results query="/pedido[@id='0001']" resources="1">
<collection:result docid="pedido3.xml">
...
</result>
</collection:results>
We fixed this bug with the following patch:
--- XMLDBSource.java.orig 2003-05-16 01:36:17.000000000 -0300
+++ XMLDBSource.java 2003-05-16 01:13:03.000000000 -0300
@@ -390,7 +390,7 @@
result.getContentAsSAX(includeHandler);
- handler.endElement(URI, RESULT, RESULT);
+ handler.endElement(URI, RESULT, QRESULT);
}
handler.endElement(URI, RESULTSET, QRESULTSET);
There seems to be other similar mistakes in other handler.endElement invocations.
|