Asmir Mustafic
Asmir Mustafic
Hi, currently is not yet implemented, but should be not too hard to add it. A good starting point is https://github.com/goetas-webservices/xsd2php/blob/5258cf8b9411ac2c57e3ee2241977fc5b4d3c6e1/src/Php/PhpConverter.php#L376 Pull requests are welcome
marked as feature request. feel free to submit an implementation for this feature.
I think that here the intention was to require `ext-dom`. Probably is a bug. (even if having ext-dom implies installing `libxml`... I will be happy to change it. Can you...
Currently I have no usecase for implementing that parsing mode, if someone has the knowledge and time to do so, would be happy to help reviewing it.
Have you tried to debug it with backfire or some other profiler?
can you try to benchmark `appendChild` alone and see if that slows down after a certain number of tags?

Hmm, weird...
~the bottleneck seems to be `autoclose()`..., by removing that, the script completes in 3s~ NVM
This turned out to be a PHP issue that can be workedaroud by doing ```php $html5 = new Masterminds\HTML5([ 'disable_html_ns' => true ]); $node = $html5->loadHTML($html); ``` The perf issue...