Page last modified 09:58, 8 Jun 2022 by Jussi


    Table of contents

    Description of the method


    Description: xmlDataSize method checks the combined lenght of child element values. This method is for some special purposes where only the data length matters.
    Available for: any
    Parameters: -
    Return type: integer



    Context: HeaderType1
    OCL: self.xmlDataSize() = 24
    Description: The example rule checks the combined length of values from PartyIdentification child elements.


    The XML snippet below would pass this check.


    The following data is taken into account when calculating the length in the above example "aId2015-07-03T12:17:5021". So elements and pretty printing is removed and only the data is left for the length calculation.

    Attached you can find an example schema and files which you can use for testing.