New revision of the DB

This commit is contained in:
Némunaire 2013-10-10 01:15:24 +02:00
commit 159aa63e9b
2 changed files with 36 additions and 13 deletions

View file

@ -4,7 +4,7 @@
<!ELEMENT title (#PCDATA)>
<!ELEMENT exercice (title,points,(statement|key|file*))>
<!ELEMENT exercice (title,points,statement,key+,file*)>
<!ATTLIST exercice id ID #REQUIRED>
<!ATTLIST exercice level (sandbox|easy|simple|medium|hard|extrem) #REQUIRED>
<!ATTLIST exercice depends IDREFS #IMPLIED>
@ -14,5 +14,7 @@
<!ELEMENT statement (#PCDATA)>
<!ELEMENT key (#PCDATA)>
<!ATTLIST key format (raw|md5|sha1|sha256|sha512|whirlpool) "sha512">
<!ELEMENT file (#PCDATA)>
<!ATTLIST file path CDATA #REQUIRED>