Calling setCatalog in the SaxonC PHP extension throws an error
I'm in the process of upgrading to SaxonC 11.3, to use the PHP extension. When attempting to set the path to a catalog file using
$saxonProcessor->setCatalog(…), an error is thrown:
Unable to find class net/sf/saxon/trans/XmlCatalogResolver Error: Saxonc.setCatalog() not found
What's needed for the PHP extension to be able to find
I've tried the previous method of defining a different class, i.e.
$saxonProcessor->setConfigurationProperty('http://saxon.sf.net/feature/sourceParserClass', 'org.apache.xml.resolver.tools.ResolvingXMLReader') but that doesn't seem to be possible any more.
There's a repository with code to reproduce this at https://github.com/hubgit/saxon-he-php-demo
Please register to edit this issue