diff --git a/src/Parser.php b/src/Parser.php
index <HASH>..<HASH> 100644
--- a/src/Parser.php
+++ b/src/Parser.php
@@ -38,7 +38,7 @@ class Parser
             throw new Exception('Error reading from file: '.$filename);
         }
 
-        return static::fromDocument($xml, $checkXml, $normalizeXml, $tableFilter);
+        return static::fromDocument($xml, $platform, $checkXml, $normalizeXml, $tableFilter);
     }
     /**
      * @param string|SimpleXMLElement $xml
Fix calling Parser::fromDocument from Parser::fromFile