Mike Gerwitz

Activist for User Freedom

aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Gerwitz <gerwitzm@lovullo.com>2017-05-01 15:14:19 -0400
committerMike Gerwitz <gerwitzm@lovullo.com>2017-07-05 13:51:28 -0400
commit629aa9d342fa11c7b183a4aa746b9cea457c04f3 (patch)
treea8c0c666e880730c5aa473edb994f4b88352f21a
parent12f3fa5b6eaa2ee2801357550bc38828c209d523 (diff)
downloadtame-629aa9d342fa11c7b183a4aa746b9cea457c04f3.tar.gz
tame-629aa9d342fa11c7b183a4aa746b9cea457c04f3.tar.bz2
tame-629aa9d342fa11c7b183a4aa746b9cea457c04f3.zip
c1map.xsd: Add schema
This just ignores everything for now.
-rw-r--r--c1map.xsd18
-rw-r--r--src/current/compile.xsl3
2 files changed, 21 insertions, 0 deletions
diff --git a/c1map.xsd b/c1map.xsd
new file mode 100644
index 0000000..d968e16
--- /dev/null
+++ b/c1map.xsd
@@ -0,0 +1,18 @@
+<?xml version="1.0"?>
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
+ targetNamespace="http://www.lovullo.com/rater/map/c1"
+ xmlns="http://www.lovullo.com/rater/map/c1"
+ elementFormDefault="qualified">
+
+
+ <!-- TODO: an actual XSD; this just ignores everything -->
+ <xs:element name="c1-map">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:any namespace="##any" minOccurs="0" maxOccurs="unbounded" processContents="lax" />
+ </xs:sequence>
+
+ <xs:anyAttribute namespace="##any" processContents="lax" />
+ </xs:complexType>
+ </xs:element>
+</xs:schema>
diff --git a/src/current/compile.xsl b/src/current/compile.xsl
index 557eb62..6f2489a 100644
--- a/src/current/compile.xsl
+++ b/src/current/compile.xsl
@@ -51,6 +51,9 @@
<xsl:include href="compiler/js.xsl" />
<xsl:include href="compiler/map.xsl" />
+<!-- TODO: move into compiler/ -->
+<xsl:include href="c1map.xsl" />
+
<!-- contains get-symbol-map -->
<xsl:include href="include/display.xsl" />