lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [6166] Add schema for XRC validation


From: Greg Chicares
Subject: [lmi-commits] [6166] Add schema for XRC validation
Date: Fri, 17 Apr 2015 20:01:52 +0000

Revision: 6166
          http://svn.sv.gnu.org/viewvc/?view=rev&root=lmi&revision=6166
Author:   chicares
Date:     2015-04-17 20:01:52 +0000 (Fri, 17 Apr 2015)
Log Message:
-----------
Add schema for XRC validation

Added Paths:
-----------
    lmi/trunk/xrc.rnc

Added: lmi/trunk/xrc.rnc
===================================================================
--- lmi/trunk/xrc.rnc                           (rev 0)
+++ lmi/trunk/xrc.rnc   2015-04-17 20:01:52 UTC (rev 6166)
@@ -0,0 +1,47 @@
+# RELAX NG schema for '.xrc' files.
+#
+# Copyright (C) 2015 Gregory W. Chicares.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License version 2 as
+# published by the Free Software Foundation.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software Foundation,
+# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
+#
+# http://savannah.nongnu.org/projects/lmi
+# email: <address@hidden>
+# snail: Chicares, 186 Belle Woods Drive, Glastonbury CT 06033, USA
+
+# $Id$
+
+# This is a derived work based on Vaclav Slavik's original here:
+#   http://lists.nongnu.org/archive/html/lmi/2013-10/msg00003.html
+
+default namespace     = "http://www.wxwidgets.org/wxxrc";
+        namespace xrc = "http://www.wxwidgets.org/wxxrc";
+
+include "http://www.wxwidgets.org/wxxrc";
+    {
+    customClasses = InputSequenceEntry | RoundingButtons
+    }
+
+InputSequenceEntry = element object
+    { attribute class {"InputSequenceEntry"}
+    & stdObjectNodeAttributes
+    & stdWindowProperties
+    & [xrc:p="o"] element title {_, t_text}*
+    }
+
+RoundingButtons = element object
+    { attribute class {"RoundingButtons"}
+    & stdObjectNodeAttributes
+    & stdWindowProperties
+    }
+


Property changes on: lmi/trunk/xrc.rnc
___________________________________________________________________
Added: svn:keywords
   + Id




reply via email to

[Prev in Thread] Current Thread [Next in Thread]