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

babelfish-for-postgresql / babelfish_extensions / 24727553804 / 1
77%
BABEL_6_X_DEV: 77%

Build:
Build:
LAST BUILD BRANCH: query
DEFAULT BRANCH: BABEL_6_X_DEV
Ran 21 Apr 2026 02:58PM UTC
Files 121
Run time 6s
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:18PM UTC coverage: 76.825% (+0.002%) from 76.823%
24727553804.1

push

github

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

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>

53065 of 69073 relevant lines covered (76.82%)

407783.54 hits per line

Source Files on job 24727553804.1
  • Tree
  • List 121
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 24727553804
  • 4c3a9688 on github
  • Prev Job for on BABEL_5_6_STABLE (#24593574385.1)
  • Next Job for on BABEL_5_6_STABLE (#24791183777.1)
  • 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