Commit ae698cf9 authored by David Maus's avatar David Maus
Browse files

Grammatik für Konfiguration der Prozesseigenschaften

parent 7868a9f6
......@@ -11,7 +11,7 @@ SAXON = java -jar lib/saxon9he.jar
%.sch: %.rng
$(SAXON) -xsl:lib/rngsch.xsl -o:$@ $<
all: ruleset import projects test
all: ruleset import projects properties test
import: src/import.xsd src/import.rng
......@@ -19,6 +19,8 @@ ruleset: src/ruleset.xsd src/ruleset.rng src/ruleset.sch
projects: src/projects.xsd src/projects.rng
properties: src/properties.xsd src/properties.rng
.PHONY: clean
clean:
rm -f src/*.xsd
......
# -*- mode: rnc; -*-
#
# RelaxNG Schema für Kitido.Production Prozesseigenschaften
#
# Author: David Maus <maus@hab.de>
#
start = processProperties
processProperties =
element config_processProperties {
Property+
}
Property =
element property {
attribute name { text }
& attribute container { "0" }
& Project+
& Step+
& ProcessGroup
& ValidationRegExpr?
& Type
& DefaultValue
& Value*
}
Project =
element project {
text
}
Step =
element showStep {
attribute name { text }
& AccessAttr
& empty
}
ProcessGroup =
element showProcessGroup {
AccessAttr
& empty
}
AccessAttr =
attribute access { "read" | "write" | "writeRequired" }
ValidationRegExpr =
element validation {
text
}
Type =
element type {
"text" | "list" | "listmultiselect" | "boolean" | "date" | "number" | "link"
}
DefaultValue =
element defaultvalue {
text
}
Value =
element value {
text
}
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment