Add RELAX NG schema for XRC files.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2013-10-03 11:08:57 +00:00
parent 62795f413a
commit 60f8d69a98
3 changed files with 1602 additions and 0 deletions

View File

@@ -22,6 +22,9 @@
This document describes the format of XRC resource files, as used by This document describes the format of XRC resource files, as used by
wxXmlResource. wxXmlResource.
Formal description in the form of a RELAX NG schema is located in the
@c misc/schema subdirectory of the wxWidgets sources.
XRC file is a XML file with all of its elements in the XRC file is a XML file with all of its elements in the
@c http://www.wxwidgets.org/wxxrc namespace. For backward compatibility, @c http://www.wxwidgets.org/wxxrc namespace. For backward compatibility,
@c http://www.wxwindows.org/wxxrc namespace is accepted as well (and treated @c http://www.wxwindows.org/wxxrc namespace is accepted as well (and treated

1587
misc/schema/xrc_schema.rnc Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,12 @@
#
# RELAX NG schema for XRC files.
#
# Super-strict variant that only accepts wx's builtin classes.
#
# See http://docs.wxwidgets.org/trunk/overview_xrcformat.html for freeform
# description of the format.
#
include "xrc_schema.rnc" {
customClasses = notAllowed
}