On Mon Jan 9 13:57:34 2023 +0000, Jacek Caban wrote:
Could we just unconditionally use this code path (even if we have dom_document)? It seems to me that it should just always work. This would change handling empty collection (we currently return NULL in get_all), but that could maybe be handled in create_all_collection (although some tests would be nice to confirm it).
I tested it, and it works, I think this functions should be like get_body, that it always returns S_OK and when it fails it returns a NULL body. Not sure how can we test that though, the only test I get in my mind is to test if it fails with an empty document.