Project

General

Profile

Actions

Bug #590

closed

Value of "maxValueLength" contains wrong value for some VR definitions

Added by Jörg Riesmeier over 11 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Library
Target version:
Start date:
2014-02-26
Due date:
% Done:

100%

Estimated time:
Module:
dcmdata
Operating System:
Compiler:

Description

E.g. for Unlimited Text (UT) the value 0xffffffff is not correct since it is reserved (for undefined length) and it is odd:

   { EVR_UT, "UT", sizeof(char), DCMVR_PROP_ISASTRING|DCMVR_PROP_EXTENDEDLENGTHENCODING, 0, DCM_UndefinedLength },

The correct "maxValueLength" would be 0xfffffffe (even value). See Table 6.2-1 in Part 5.

Maybe, there should also be a new DCMVR_PROP_xxx flag specifying whether the given min/max values are in bytes or in characters!?

Actions

Also available in: Atom PDF