Your message dated Tue, 22 Aug 2017 12:52:42 +0200
with message-id <[email protected]>
and subject line Re: Schemas validity error : Element 'value': '6.1035156E-5' 
is not a valid value of the atomic type 'DecimalString
has caused the Debian Bug report #859650,
regarding Schemas validity error : Element 'value': '6.1035156E-5' is not a 
valid value of the atomic type 'DecimalString
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
859650: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=859650
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: dcmtk
Version: 3.6.1~20170228-1~exp1
Tags: upstream

Looks like dsr2xml.xsd is a bit too restrictive on it's representation
of VR:DS as used in a DICOM SR instance.

Eg:

$ xmllint --noout --schema /usr/share/dcmtk/dsr2xml.xsd test.xml
test.xml:253: element value: Schemas validity error : Element
'{http://dicom.offis.de/dcmsr}value': '6.1035156E-5' is not a valid
value of the atomic type '{http://dicom.offis.de/dcmsr}DecimalString'.

with:

            <num>
              <relationship>CONTAINS</relationship>
              <concept>
                <value>NUM00060</value>
                <scheme>
                  <designator>FOO</designator>
                </scheme>
                <meaning>Vector (X)</meaning>
              </concept>
              <value>6.1035156E-5</value>
              <unit>
                <value>XYZ</value>
                <scheme>
                  <designator>UCUM</designator>
                </scheme>
                <meaning>Arbitrary Unit</meaning>
              </unit>
            </num>


The file dsr2xml.xsd rely on the use of xsd:decimal which restricts:

The following values are invalid: 1 234.456 (spaces are forbidden),
1234.456E+2 (scientific notation—E+2—is forbidden), + 1234.456 (spaces
are forbidden), or +1,234.456 (delimiters between thousands are
forbidden).


ref:
http://books.xmlschemata.org/relaxng/ch19-77057.html

Reference for NUM:
http://dicom.nema.org/medical/dicom/current/output/chtml/part03/sect_C.18.html#table_C.18.1-1

Reference for VR:DS:
http://dicom.nema.org/medical/dicom/current/output/chtml/part05/sect_6.2.html#para_15754884-9ca2-4b12-9368-d66f32bc8ce1

--- End Message ---
--- Begin Message ---
Version: 3.6.2-1

Is now uploaded to unstable.  

--- End Message ---

Reply via email to