GeezerVison is showing github.com — On binary XML storage insignificant whitespaces are removed. · Issue #880 · utPLSQL/utPLSQL
On binary XML storage insignificant whitespaces are removed. #880DescriptionOn binary XML storage insignificant whitespaces are removed.
This is default way of storing XML data post 12.1 release and causing trimming of whitespaces.
Using CLOBS is inefficient.
e.g
select * from table(ut_varchar2_list(' '))
select * from table(ut_varchar2_list(''))
are showing as equal. Activityjgebal commented on Mar 27, 2019 jgebal commented on Mar 27, 2019 Raised it with ASKTom, as documentation is not mentioning data-infidelity.
I would expect XMLType to give full data-fidelity.
It smells like an Oracle bug. Not much we can do about it.
CLOB storage is absolutely not an option due to performance issues. jgebal commented on Mar 27, 2019 jgebal commented on Mar 28, 2019 lwasylow commented on Mar 29, 2019 lwasylow commented on Apr 19, 2019 Some of the changes been implemented in PR #895
There are still issues regarding whitespace vs double whitespace. jgebal commented on Dec 29, 2019 @lwasylow - what should we do about this issue? lwasylow commented on Dec 29, 2019 I think we close it for now. Only problem is a whitespace vs double space. Not much we can do and no one raised as an issue. jgebal commented on Dec 29, 2019 We should probably mention it in documentation.
It only applies to cursor/object/nested-table comparison - right? lwasylow commented on Dec 30, 2019 Yes it's only when we use xml as part of cursor comparison. Once we stop 11. 2 we could switch to json maybe. added a commit that references this issue on Jan 2, 2020This issue will close once commit d33bd80 is merged into the 'develop' branch.d33bd80 jgebal commented on Jan 4, 2020 One more Idea that comes to my mind is to use ANYDATA.convertObject() and store XMTYPE as ANYDATA. This again will be n overhead but I wonder which one is worse to-CLOB or to-ANYDATA conversion.
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|