diff --git a/src/RunOpenCode/Sax/SaxParser.php b/src/RunOpenCode/Sax/SaxParser.php index fd55b76..495b47e 100644 --- a/src/RunOpenCode/Sax/SaxParser.php +++ b/src/RunOpenCode/Sax/SaxParser.php @@ -16,6 +16,7 @@ use RunOpenCode\Sax\StreamAdapter\DomDocumentAdapter; use RunOpenCode\Sax\StreamAdapter\ResourceAdapter; use RunOpenCode\Sax\StreamAdapter\SimpleXmlAdapter; +use RunOpenCode\Sax\StreamAdapter\StringAdapter; /** * Class SaxParser @@ -83,6 +84,7 @@ public static function factory($streamClass = 'GuzzleHttp\\Psr7\\Stream') new ResourceAdapter($streamClass), new DomDocumentAdapter($streamClass), new SimpleXmlAdapter($streamClass), + new StringAdapter($streamClass), ]); }