Project

Profile

Help

Bug #2692

closed

Incorrect output from xml-to-json function, for an empty array inside an array

Added by Debbie Lockett about 8 years ago. Updated almost 8 years ago.

Status:
Closed
Priority:
Normal
Category:
XSLT conformance
Sprint/Milestone:
Start date:
2016-04-01
Due date:
% Done:

100%

Estimated time:
Legacy ID:
Applies to branch:
9.7
Fix Committed on Branch:
9.7
Fixed in Maintenance Release:
Platforms:

Description

Raised by a user on the support mailing list.

Applying the xml-to-json() function to the following input:

<number>3</number>

<array/>

<number>4</number>

Returns the JSON output:

[3,[]4]

i.e. there is a comma separator missing after the empty array.

Please register to edit this issue

Also available in: Atom PDF