summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Vermeulen <swift@gentoo.org>2006-07-20 18:33:41 +0000
committerSven Vermeulen <swift@gentoo.org>2006-07-20 18:33:41 +0000
commitb34d00799c92f89eba778d16e461998deae08c0a (patch)
tree92e3b2191fe3fc874d9d1c0115d0bf4fa8adb4fa
downloadkbase-b34d00799c92f89eba778d16e461998deae08c0a.tar.gz
kbase-b34d00799c92f89eba778d16e461998deae08c0a.tar.bz2
kbase-b34d00799c92f89eba778d16e461998deae08c0a.zip
Adding dtd for kbase content
We're using XML files to keep the first set of content for the kbase. With these files, we're able to feed all the data to any candidate framework/technology so that we can test it's accuracy. svn path=/; revision=1
-rw-r--r--content/dtd/kbase.dtd18
1 files changed, 18 insertions, 0 deletions
diff --git a/content/dtd/kbase.dtd b/content/dtd/kbase.dtd
new file mode 100644
index 0000000..f2fc1f7
--- /dev/null
+++ b/content/dtd/kbase.dtd
@@ -0,0 +1,18 @@
+<!ELEMENT issue (title,maintainers,keywords,synopsis,environment,analysis,solution) >
+<!ATTLIST issue id CDATA #REQUIRED>
+<!ELEMENT faqs (faq*)>
+<!ELEMENT faq (title,maintainers,keywords,solution)>
+<!ELEMENT title (#PCDATA)>
+<!ELEMENT maintainers (dev*)>
+<!ELEMENT dev (#PCDATA)>
+<!ELEMENT keywords (key*)>
+<!ELEMENT key (#PCDATA)>
+<!ELEMENT synopsis (p|pre)*>
+<!ELEMENT environment (p|pre)*>
+<!ELEMENT analysis (p|pre)*>
+<!ELEMENT solution (p|pre)*>
+<!ELEMENT p (#PCDATA|e|uri)*>
+<!ELEMENT pre (#PCDATA)>
+<!ELEMENT e (#PCDATA)>
+<!ELEMENT uri (#PCDATA)>
+<!ATTLIST link CDATA #REQUIRED>