|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<xs:schema |
| 3 | + xmlns:xs="http://www.w3.org/2001/XMLSchema" |
| 4 | + xmlns="http://colorer.sf.net/2003/catalog" |
| 5 | + targetNamespace="http://colorer.sf.net/2003/catalog" |
| 6 | + elementFormDefault="qualified"> |
| 7 | + |
| 8 | + <xs:element name="catalog" type="catalog"/> |
| 9 | + |
| 10 | + <xs:complexType name="catalog"> |
| 11 | + <xs:annotation><xs:documentation> |
| 12 | + Describes all available Colorer Library resources. |
| 13 | + </xs:documentation></xs:annotation> |
| 14 | + <xs:sequence> |
| 15 | + <xs:element name="hrc-sets" type="hrc-sets"/> |
| 16 | + <xs:element name="hrd-sets" type="hrd-sets"/> |
| 17 | + </xs:sequence> |
| 18 | + </xs:complexType> |
| 19 | + |
| 20 | + <xs:complexType name="hrc-sets"> |
| 21 | + <xs:annotation><xs:documentation> |
| 22 | + Lists all installed root locations of HRC codes. |
| 23 | + These locations are loaded when HRC bases are created. |
| 24 | + </xs:documentation></xs:annotation> |
| 25 | + <xs:sequence> |
| 26 | + <xs:element name="location" type="location" maxOccurs="unbounded"/> |
| 27 | + </xs:sequence> |
| 28 | + <xs:attribute name="log-location" type="xs:string"> |
| 29 | + <xs:annotation><xs:documentation> |
| 30 | + Path to the default library log file. |
| 31 | + If missed, there is no logging. |
| 32 | + </xs:documentation></xs:annotation> |
| 33 | + </xs:attribute> |
| 34 | + </xs:complexType> |
| 35 | + |
| 36 | + <xs:complexType name="hrd-sets"> |
| 37 | + <xs:annotation><xs:documentation> |
| 38 | + Lists all available HRD sets. |
| 39 | + Each HRD Entry describes single color scheme, |
| 40 | + used to represent colored text. |
| 41 | + Note, that one Entry |
| 42 | + </xs:documentation></xs:annotation> |
| 43 | + <xs:sequence> |
| 44 | + <xs:element name="hrd" type="hrd-entry" minOccurs="0" maxOccurs="unbounded"/> |
| 45 | + </xs:sequence> |
| 46 | + </xs:complexType> |
| 47 | + |
| 48 | + <xs:complexType name="hrd-entry"> |
| 49 | + <xs:annotation><xs:documentation> |
| 50 | + Describes one HRD properties set. |
| 51 | + </xs:documentation></xs:annotation> |
| 52 | + <xs:sequence> |
| 53 | + <xs:element name="location" type="location" maxOccurs="unbounded"/> |
| 54 | + </xs:sequence> |
| 55 | + <xs:attribute name="class" type="xs:NMTOKEN" use="required"> |
| 56 | + <xs:annotation><xs:documentation> |
| 57 | + HRD class. Currently available 'console', 'rgb' and 'text' classes. |
| 58 | + </xs:documentation></xs:annotation> |
| 59 | + </xs:attribute> |
| 60 | + <xs:attribute name="name" type="xs:NMTOKEN" use="required"> |
| 61 | + <xs:annotation><xs:documentation> |
| 62 | + Internal name of this set, used to referring from executable codes. |
| 63 | + </xs:documentation></xs:annotation> |
| 64 | + </xs:attribute> |
| 65 | + <xs:attribute name="description" type="xs:string"> |
| 66 | + <xs:annotation><xs:documentation> |
| 67 | + User-friendly description of this HRD set. |
| 68 | + </xs:documentation></xs:annotation> |
| 69 | + </xs:attribute> |
| 70 | + </xs:complexType> |
| 71 | + |
| 72 | + <xs:complexType name="location"> |
| 73 | + <xs:annotation><xs:documentation> |
| 74 | + Single resource location. Path can be relative to the catalog location, |
| 75 | + or absolute URI with or without URI schema specification. |
| 76 | + </xs:documentation></xs:annotation> |
| 77 | + <xs:attribute name="link" type="xs:string" use="required"/> |
| 78 | + </xs:complexType> |
| 79 | + |
| 80 | +</xs:schema> |
| 81 | +<!-- ***** BEGIN LICENSE BLOCK ***** |
| 82 | + - Version: MPL 1.1/GPL 2.0/LGPL 2.1 |
| 83 | + - |
| 84 | + - The contents of this file are subject to the Mozilla Public License Version |
| 85 | + - 1.1 (the "License"); you may not use this file except in compliance with |
| 86 | + - the License. You may obtain a copy of the License at |
| 87 | + - http://www.mozilla.org/MPL/ |
| 88 | + - |
| 89 | + - Software distributed under the License is distributed on an "AS IS" basis, |
| 90 | + - WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License |
| 91 | + - for the specific language governing rights and limitations under the |
| 92 | + - License. |
| 93 | + - |
| 94 | + - The Original Code is the Colorer Library. |
| 95 | + - |
| 96 | + - The Initial Developer of the Original Code is |
| 97 | + - Cail Lomecb <cail@nm.ru>. |
| 98 | + - Portions created by the Initial Developer are Copyright (C) 1999-2005 |
| 99 | + - the Initial Developer. All Rights Reserved. |
| 100 | + - |
| 101 | + - Contributor(s): |
| 102 | + - |
| 103 | + - Alternatively, the contents of this file may be used under the terms of |
| 104 | + - either the GNU General Public License Version 2 or later (the "GPL"), or |
| 105 | + - the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), |
| 106 | + - in which case the provisions of the GPL or the LGPL are applicable instead |
| 107 | + - of those above. If you wish to allow use of your version of this file only |
| 108 | + - under the terms of either the GPL or the LGPL, and not to allow others to |
| 109 | + - use your version of this file under the terms of the MPL, indicate your |
| 110 | + - decision by deleting the provisions above and replace them with the notice |
| 111 | + - and other provisions required by the LGPL or the GPL. If you do not delete |
| 112 | + - the provisions above, a recipient may use your version of this file under |
| 113 | + - the terms of any one of the MPL, the GPL or the LGPL. |
| 114 | + - |
| 115 | + - ***** END LICENSE BLOCK ***** --> |
0 commit comments