public static function isSupportedFormatAndVersion ($xmlData) {
        $xmlreader = new \XMLReader();
        $xmlreader->XML($xmlData);

        return self::isValidFormatAndVersion($xmlreader);

    }
public static function isSupportedFormatAndVersion ($xmlData) {
        $xmlreader = new \XMLReader();
        $xmlreader->XML($xmlData);

        return self::isValidFormatAndVersion($xmlreader);

    }
public static function isSupportedFormatAndVersion ( $ xmlData ) { $ xmlreader = new \ XMLReader ( ) ; $ xmlreader -> XML ( $ xmlData ) ; return self :: isValidFormatAndVersion ( $ xmlreader ) ; }
Tests if passed in data is supported document format and version.
DdocContainer class supports DIGIDOC-XML versions from 1.1 to 1.3.

@param string $xmlData ddoc file contents.

@return boolean true if format and version are supported.
Tests if passed in data is supported document format and version . DdocContainer class supports DIGIDOC - XML versions from 1 . 1 to 1 . 3 .