summaryrefslogtreecommitdiff
path: root/doc/custom-literals.xsd
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2020-12-18 18:48:46 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2021-02-25 13:45:48 +0300
commit5e527213a2430bb3018e5eebd909aef294edf9b5 (patch)
tree94de33c82080b53d9a9e300170f6d221d89078f4 /doc/custom-literals.xsd
parent7420f85ea19b0562ffdd8123442f32bc8bac1267 (diff)
Switch to build2
Diffstat (limited to 'doc/custom-literals.xsd')
-rw-r--r--doc/custom-literals.xsd48
1 files changed, 0 insertions, 48 deletions
diff --git a/doc/custom-literals.xsd b/doc/custom-literals.xsd
deleted file mode 100644
index c6f7613..0000000
--- a/doc/custom-literals.xsd
+++ /dev/null
@@ -1,48 +0,0 @@
-<?xml version="1.0"?>
-
-<!--
-
-file : doc/custom-literals.xsd
-copyright : not copyrighted - public domain
-
-This schema describes the XML format used to provide the custom string
-to C++ string literal mapping with the -custom-literals XSD compiler
-command line option. Here is a sample instance:
-
-<string-literal-map>
- <entry>
- <string>hello</string>
- <literal>"hello"</literal>
- </entry>
- <entry>
- <string>greeting</string>
- <literal>"greeting"</literal>
- </entry>
-</string-literal-map>
-
--->
-
-<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
-
- <xsd:simpleType name="literal_t">
- <xsd:restriction base="xsd:string">
- <xsd:pattern value='".+"'/>
- </xsd:restriction>
- </xsd:simpleType>
-
- <xsd:complexType name="entry_t">
- <xsd:sequence>
- <xsd:element name="string" type="xsd:string"/>
- <xsd:element name="literal" type="literal_t"/>
- </xsd:sequence>
- </xsd:complexType>
-
- <xsd:complexType name="string_literal_map_t">
- <xsd:sequence>
- <xsd:element name="entry" type="entry_t" maxOccurs="unbounded"/>
- </xsd:sequence>
- </xsd:complexType>
-
- <xsd:element name="string-literal-map" type="string_literal_map_t"/>
-
-</xsd:schema>