Project

General

Profile

Actions

Bug #939

closed

dcm2json/dcm2xml -nat (and library routines) produce invalid XML

Added by Michael Onken about 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
High
Category:
Library and Apps
Target version:
Start date:
2020-08-06
Due date:
% Done:

100%

Estimated time:
1:00 h
Module:
dcmdata
Operating System:
Compiler:

Description

Report from forum user Shaeto forum message:

Method DcmPersonName::writeJson outputs incorrectly encoded data to the json document.
"Lexer" helper class does not encode characters and produces invalid json if patient name contains for example " (quotation mark)
imho Lexer::writeComponent must call something like DcmJsonFormat::printValueString.

Actions

Also available in: Atom PDF