[PATCH wayland 2/3] protocol: allow for a <description> element below <protocol>

Peter Hutterer peter.hutterer at who-t.net
Sun Nov 8 20:15:00 PST 2015


The scanner parses this already, it doesn't do anything with it though.

The DTD requires the order to be copyright, description, then the interfaces.
That's largely a DTD limitation, the scanner doesn't care.

Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
---
 protocol/wayland.dtd | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/protocol/wayland.dtd b/protocol/wayland.dtd
index b8b1573..e28dbc0 100644
--- a/protocol/wayland.dtd
+++ b/protocol/wayland.dtd
@@ -1,4 +1,4 @@
-<!ELEMENT protocol (copyright?, interface+)>
+<!ELEMENT protocol (copyright?, description?, interface+)>
   <!ATTLIST protocol name CDATA #REQUIRED>
 <!ELEMENT copyright (#PCDATA)>
 <!ELEMENT interface (description?,(request|event|enum)+)>
-- 
2.4.3



More information about the wayland-devel mailing list