c1map.xsd: Add schema

This just ignores everything for now.
master
Mike Gerwitz 2017-05-01 15:14:19 -04:00
parent 12f3fa5b6e
commit 629aa9d342
2 changed files with 21 additions and 0 deletions

18
c1map.xsd 100644
View File

@ -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>

View File

@ -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" />