Re: [PATCH v2 3/3 wayland] Validate the protocol xml during scanning

2015-11-17 Thread Pekka Paalanen
On Tue, 17 Nov 2015 14:57:14 +0200 Pekka Paalanen wrote: > On Tue, 10 Nov 2015 09:53:08 +1000 > Peter Hutterer wrote: > > > Embed the wayland.dtd protocol data into the scanner binary so we can > > validate > > external protocol files without requiring makefile changes. Hat-tip to Pekka > > Pa

Re: [PATCH v2 3/3 wayland] Validate the protocol xml during scanning

2015-11-17 Thread Pekka Paalanen
On Tue, 10 Nov 2015 09:53:08 +1000 Peter Hutterer wrote: > Embed the wayland.dtd protocol data into the scanner binary so we can validate > external protocol files without requiring makefile changes. Hat-tip to Pekka > Paalanen for the embedding trick. > The embedding trick doesn't work well if t

[PATCH v2 3/3 wayland] Validate the protocol xml during scanning

2015-11-09 Thread Peter Hutterer
Embed the wayland.dtd protocol data into the scanner binary so we can validate external protocol files without requiring makefile changes. Hat-tip to Pekka Paalanen for the embedding trick. The embedding trick doesn't work well if the to-be-embedded file is in a different location than the source f