Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 26 lines (21 sloc) 0.924 kb
b98aecf @bdarcus adding start of schema for test suite
bdarcus authored
1
2 namespace cs = "http://purl.org/net/xbiblio/csl"
3 namespace dc = "http://purl.org/dc/elements/1.1/"
4 namespace sch = "http://www.ascc.net/xml/schematron"
5 namespace xhtml = "http://www.w3.org/1999/xhtml"
6
7 dc:title [ "CSL Test Suite Schema" ]
8 dc:creator [ "Bruce D'Arcus" ]
9 dc:rights [ "Permission to freely use, copy and distribute." ]
10 dc:description [
11 "Describes a simple format for CSL processor tests."
12 ]
13
14 include "csl.rnc"{
15 # here I've redefined the style pattern to allow an optional
16 # no-namespace style link (not sure if it should be namespaced)
17 style |= element style { attribute src { xsd:anyURI } }
18 start = element test { input & style & style-locale* & description? & tag* & output }
19 }
20
21 input = element input { text }
22 description = element description { text }
23 tag = element tag { token }
24 # right now plain text, but we can (should?) define an HTML output subset?
25 output = element output { text }
Something went wrong with that request. Please try again.