~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to test/test_framework/problem.dtd

  • Committer: Matt Giuca
  • Date: 2010-02-11 07:39:15 UTC
  • Revision ID: matt.giuca@gmail.com-20100211073915-rirq98zg3sanvf09
Submit view: The projects list is now identical (except for radio buttons) to the view on the subjects page. It is much clearer and contains more info. The code is somewhat different, because it's a table, not a list, so I didn't abstract it. Moved a function out of subject.py to ivle.util, as it is shared by both views.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!ELEMENT problem (desc, include?, solution, case)>
 
2
<!ELEMENT desc (#PCDATA)>
 
3
<!ELEMENT include (#PCDATA)>
 
4
<!ELEMENT solution (#PCDATA)>
 
5
<!ELEMENT case (stdin?, file*, var*)>
 
6
<!ATTLIST case
 
7
        name CDATA #REQUIRED
 
8
>
 
9
<!ELEMENT stdin (#PCDATA)>
 
10
<!ELEMENT stdout (#PCDATA)>
 
11
<!ELEMENT file (#PCDATA)>
 
12
<!ATTLIST file
 
13
        name CDATA #REQUIRED
 
14
        type (check|norm) #IMPLIED
 
15
>
 
16
<!ELEMENT var EMPTY>
 
17
<!ATTLIST var
 
18
        name CDATA #REQUIRED
 
19
        value CDATA #REQUIRED
 
20
>
 
21
<!ELEMENT function (stdout?, file*)>
 
22
<!ATTLIST function
 
23
        desc CDATA #REQUIRED
 
24
        default (ignore|match) #REQUIRED
 
25
>