summaryrefslogtreecommitdiffstats
path: root/kresources/featureplan/kde-features.rng
diff options
context:
space:
mode:
authortoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
committertoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
commit460c52653ab0dcca6f19a4f492ed2c5e4e963ab0 (patch)
tree67208f7c145782a7e90b123b982ca78d88cc2c87 /kresources/featureplan/kde-features.rng
downloadtdepim-460c52653ab0dcca6f19a4f492ed2c5e4e963ab0.tar.gz
tdepim-460c52653ab0dcca6f19a4f492ed2c5e4e963ab0.zip
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kresources/featureplan/kde-features.rng')
-rw-r--r--kresources/featureplan/kde-features.rng150
1 files changed, 150 insertions, 0 deletions
diff --git a/kresources/featureplan/kde-features.rng b/kresources/featureplan/kde-features.rng
new file mode 100644
index 000000000..89a31dcb4
--- /dev/null
+++ b/kresources/featureplan/kde-features.rng
@@ -0,0 +1,150 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<grammar xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" xmlns="http://relaxng.org/ns/structure/1.0">
+ <define name="features">
+ <element name="features">
+ <ref name="attlist.features"/>
+ <oneOrMore>
+ <ref name="category"/>
+ </oneOrMore>
+ </element>
+ </define>
+ <define name="attlist.features" combine="interleave">
+ <empty/>
+ </define>
+ <define name="category">
+ <element name="category">
+ <ref name="attlist.category"/>
+ <zeroOrMore>
+ <choice>
+ <ref name="feature"/>
+ <ref name="category"/>
+ </choice>
+ </zeroOrMore>
+ </element>
+ </define>
+ <define name="attlist.category" combine="interleave">
+ <attribute name="name"/>
+ </define>
+ <define name="feature">
+ <element name="feature">
+ <ref name="attlist.feature"/>
+ <optional>
+ <ref name="summary"/>
+ </optional>
+ <zeroOrMore>
+ <ref name="responsible"/>
+ </zeroOrMore>
+ </element>
+ </define>
+ <define name="attlist.feature" combine="interleave">
+ <optional>
+ <attribute name="status" a:defaultValue="todo">
+ <choice>
+ <value>inprogress</value>
+ <value>todo</value>
+ <value>done</value>
+ </choice>
+ </attribute>
+ </optional>
+ <attribute name="target"/>
+ </define>
+ <define name="responsible">
+ <element name="responsible">
+ <ref name="attlist.responsible"/>
+ <empty/>
+ </element>
+ </define>
+ <define name="attlist.responsible" combine="interleave">
+ <optional>
+ <attribute name="name"/>
+ </optional>
+ <optional>
+ <attribute name="email"/>
+ </optional>
+ </define>
+ <define name="summary">
+ <element name="summary">
+ <ref name="attlist.summary"/>
+ <zeroOrMore>
+ <choice>
+ <text/>
+ <ref name="i"/>
+ <ref name="a"/>
+ <ref name="b"/>
+ <ref name="em"/>
+ <ref name="strong"/>
+ <ref name="br"/>
+ </choice>
+ </zeroOrMore>
+ </element>
+ </define>
+ <define name="attlist.summary" combine="interleave">
+ <empty/>
+ </define>
+ <define name="i">
+ <element name="i">
+ <ref name="attlist.i"/>
+ <text/>
+ </element>
+ </define>
+ <define name="attlist.i" combine="interleave">
+ <empty/>
+ </define>
+ <define name="b">
+ <element name="b">
+ <ref name="attlist.b"/>
+ <text/>
+ </element>
+ </define>
+ <define name="attlist.b" combine="interleave">
+ <empty/>
+ </define>
+ <define name="em">
+ <element name="em">
+ <ref name="attlist.em"/>
+ <text/>
+ </element>
+ </define>
+ <define name="attlist.em" combine="interleave">
+ <empty/>
+ </define>
+ <define name="strong">
+ <element name="strong">
+ <ref name="attlist.strong"/>
+ <text/>
+ </element>
+ </define>
+ <define name="attlist.strong" combine="interleave">
+ <empty/>
+ </define>
+ <define name="br">
+ <element name="br">
+ <ref name="attlist.br"/>
+ <empty/>
+ </element>
+ </define>
+ <define name="attlist.br" combine="interleave">
+ <empty/>
+ </define>
+ <define name="a">
+ <element name="a">
+ <ref name="attlist.a"/>
+ <text/>
+ </element>
+ </define>
+ <define name="attlist.a" combine="interleave">
+ <optional>
+ <attribute name="href"/>
+ </optional>
+ </define>
+ <define name="attlist.a" combine="interleave">
+ <optional>
+ <attribute name="title"/>
+ </optional>
+ </define>
+ <start>
+ <choice>
+ <ref name="features"/>
+ </choice>
+ </start>
+</grammar>