Hello,
I use Translations from Symfony 2 and xliff format for resource, but HHVM 3.3.0-dev (hhvm-nightly) throws errors in tests:
[ERROR 3067] Element '{http://www.w3.org/2001/XMLSchema}import': Failed to parse the XML resource 'file:////home/travis/build/Macsch15/Tricolore/library/Symfony/Component/Translation/Loader/schema/dic/xliff-core/xml.xsd'. (in in_memory_buffer - line 33, column 0)
https://travis-ci.org/Macsch15/Tricolore/jobs/35261477
On PHP 5.5, 5.6 and HHVM 3.2.0 works fine.
It's HHVM fault or... maybe Symfony?
/cc @fredemmott
This is disabled by default as it's a security issue; this is documented (including how to re-enable it) here: https://github.com/facebook/hhvm/blob/master/hphp/doc/inconsistencies#L145
After following the instructions on how to re-enable the feature, I'm still getting this issue. What exactly would I have to put in to read from http and file protocols?
@SeerUK in /etc/hhvm/php.ini put
hhvm.libxml.ext_entity_whitelist = file,http
Does this also work with console applications using HHVM? See #3797
Yes, /etc/hhvm/php.ini is read in console invocations
I have the same problem with HHVM 3.4. The fix of @SeerUK works for me ! Thanks
Yes. HHVM 3.4.2 in arch linux and the problem has gone! Thanks! The fix of @SeerUK works for me too!
Most helpful comment
@SeerUK in
/etc/hhvm/php.iniput