# Perforce Defect Tracking Integration Project
#
Foo
appears in
Foo
' + end, ["(6) [4] Attribute 'foo' is not allowed in."]),
('Id attribute but no name',
start + 'Foo' + end,
["(6) [5] element has 'id' attribute but no 'name' "
"attribute."]),
('Name attribute but no id',
start + 'Foo' + end,
["(6) [6] element has 'name' attribute but no 'id' "
"attribute."]),
('Id and name attributes differ',
start + 'Foo' + end,
["(6) [7] element has id 'bar' but name 'foo'."]),
('Empty element contains character data',
start + ' Bold Bold-italic italic
foo' + end,
["(6) [8]
element contains character data 'foo'."]),
('Element may not be empty',
start + '' + end,
["(6) [9]
element is empty."]),
('Unknown value for attribute',
start + '
' + end,
["(6) [10] Attribute 'clear' for element
has value 'foo' "
"(must be one of [left, all, right, none])."]),
('Attribute value not a number',
start + '
' + end,
["(6) [11] Attribute 'value' for element
' + end,
["(6) [15] Contents of Foo element [caption, caption, tr] "
"doesn't match XHTML specification (caption?, (col*|colgroup*), "
"thead?, tfoot?, (tbody+|tr+))."]),
('Table element has no rows',
start + '
' + end,
["(6) [15] Contents of element [caption] doesn't "
"match XHTML specification (caption?, (col*|colgroup*), thead?, "
"tfoot?, (tbody+|tr+))."]),
('Table element mixes col and colgroup',
start + '
' + end,
["(6) [15] Contents of element [col, colgroup, tbody] "
"doesn't match XHTML specification (caption?, (col*|colgroup*), "
"thead?, tfoot?, (tbody+|tr+))."]),
('Anchor in anchor',
start + 'baz' + end,
["(6) [16] Element appears below on line 6 (not "
"allowed)."]),
('Section anchor has no id',
start + '
Title
\nHeading
' + end,
["(7) [17] Section anchor has no 'id' attribute."]),
('Section anchor inconsistent with heading level',
start + 'Title
\n'
'1. Heading
\n'
'Heading
' + end,
["(8) [18] Anchor for has id 'section-2': should look "
"like 'section-1.1'."]),
('Missing section anchor',
start + '
Title
\n'
'1. Heading
\n'
'1.1. Head
\n'
'Example
' + end,
["(9) [19] has no section anchor."]),
('Table cell with valign attribute',
start + '
' + end,
["(6) [20] Foo has valign attribute: better in the ."]),
('Wrong reference anchor',
start + ' Title
\n'
'A. References
\n'
'\n'
'
' + end,
["(9) [21] Reference anchor has id 'GDR-1971-01-02': should "
"start with 'ref-'."]),
('Cross reference has no target',
start + 'Foo' + end,
["(6) [22] Cross-reference '#no-target' has no target."]),
('Cross reference should be link',
start + ' \n'
'GDR 1971-01-02 Title
\n'
'\n'
'A. References
\n'
'\n'
'
' + end,
["(7) [23] Cross-reference '#ref-GDR-1971-01-03' to "
"references section should link to target 'http://foo.invalid/' "
"instead."]),
('Inconsistent heading sequence',
start + ' \n['
'GDR 1971-01-03] Foo Title
\n'
'2. Foo
\n'
'2.1.1. Bar'
'
' + end,
["(8) [25] follows
',
["(4) [15] Contents of element [head, body, body] "
"doesn't match XHTML specification (head, body)."]),
('Top-level element not HTML',
'\n'
'\n'
'\n',
["(3) [3] Top-level element is (should be )."]),
('Mismatched closing tag',
start + '."]),
('Missing attributes for img element',
start + '' + end,
["(6) [26] Attribute 'height' is recommended for but not "
"present.",
"(6) [26] Attribute 'width' is recommended for but not "
"present."]),
('Missing title attribute for abbr element',
start + 'P4DTI' + end,
["(6) [26] Attribute 'title' is recommended for but not "
"present."]),
('Id reference has no target',
start + '
' + end,
["(6) [27] IDREF 'no-such-header' has no target.",
"(6) [27] IDREF 'no-sirree' has no target."]),
('Head element has two titles',
'\n'
'\n'
'\n'
''
'