Re: [PHP-DEV] XML Validation

2019-09-23 Thread Benjamin Eberlei
On Mon, Sep 23, 2019 at 9:47 AM Gert wrote: > Is this something that would need an RFC? > I would think this is possible without the RFC. It is similar to https://wiki.php.net/rfc/json_throw_on_error which everyone +1ed You could write out fully the new suggested method signatures, what excepti

Re: [PHP-DEV] XML Validation

2019-09-23 Thread Gert
Is this something that would need an RFC? I'd be willing to take a shot at it myself, but my C experience is rather limited, so i'm not sure if i could cook up an implementation. On Mon, 23 Sep 2019 at 09:44, Benjamin Eberlei wrote: > > Hi Gert, > > On Mon, Sep 23, 2019 at 9:38 AM Gert wrote:

Re: [PHP-DEV] XML Validation

2019-09-23 Thread Benjamin Eberlei
Hi Gert, On Mon, Sep 23, 2019 at 9:38 AM Gert wrote: > Hi Internals, > > I've been working with XML and validation recently, and the Dom > classes do basically everything that is needed. The only thing is that > to get the errors of the schema validation we call the > `validateSchema` on the Dom