• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

babelfish-for-postgresql / babelfish_extensions / 24727542045
77%
BABEL_6_X_DEV: 77%

Build:
Build:
LAST BUILD BRANCH: BABEL_6401_MULTILINESTRING
DEFAULT BRANCH: BABEL_6_X_DEV
Ran 21 Apr 2026 02:57PM UTC
Jobs 1
Files 121
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

21 Apr 2026 02:17PM UTC coverage: 76.839% (+0.002%) from 76.837%
24727542045

push

github

web-flow
Fix missing xmlns:xsi namespace on elements when using FOR XML RAW('') with ELEMENTS XSINIL (#4767)

Currently, when using FOR XML RAW('') , ELEMENTS XSINIL (empty element name), Babelfish omits the xmlns:xsi namespace declaration from the output elements. T-SQL places xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" on every element when there is no row wrapper element, since there is no parent element to inherit the namespace from.

For example, SELECT 1 AS a, NULL AS b FOR XML RAW(''), ELEMENTS XSINIL produces:

Babelfish (before): <a>1</a><b xsi:nil="true"/>

T-SQL: <a xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">1</a> <b xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>

With this change, Babelfish now adds the xmlns:xsi namespace declaration to each element when RAW('') is used with ELEMENTS XSINIL, matching T-SQL behavior. This applies to both non-null elements and nil elements.

Task: BABEL-6445
Signed-off-by: Japleen Kaur <amjj@amazon.com>

6 of 6 new or added lines in 1 file covered. (100.0%)

77 existing lines in 3 files now uncovered.

53121 of 69133 relevant lines covered (76.84%)

640180.78 hits per line

Coverage Regressions

Lines Coverage ∆ File
50
90.88
0.0% contrib/babelfishpg_tsql/src/pl_handler.c
24
80.95
0.05% contrib/babelfishpg_tds/src/backend/tds/tdsresponse.c
3
97.07
-0.02% contrib/babelfishpg_tsql/src/guc.c
Jobs
ID Job ID Ran Files Coverage
1 24727542045.1 21 Apr 2026 02:57PM UTC 121
76.84
GitHub Action Run
Source Files on build 24727542045
  • Tree
  • List 121
  • Changed 4
  • Source Changed 4
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #24727542045
  • 0c43c194 on github
  • Prev Build on BABEL_6_1_STABLE (#24609440557)
  • Next Build on BABEL_6_1_STABLE (#24791188043)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc