Skip to content

Commit d9046c7

Browse files
rubensworksgkellogg
authored andcommitted
Make input for test 0121 valid HTML
<p> tags can not be nested, and some parsers assume their are self-closed when another <p> tag occurs, which gives inconsistent RDF output.
1 parent e8a4e96 commit d9046c7

5 files changed

Lines changed: 10 additions & 10 deletions

File tree

test-cases/rdfa1.0/xhtml1/0121.xhtml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@
66
</head>
77
<body>
88
<div>
9-
<p about="http://example.org/">
9+
<div about="http://example.org/">
1010
<span about="[]" property="dc:title">Test Case 0121</span>
1111
checks to make sure RDFa processors resolve the empty CURIE correctly.
1212
<p resource="[]">
1313
<span property="dc:contributor">Shane McCarron</span>
1414
contributed to this test.
1515
</p>
16-
</p>
16+
</div>
1717
</div>
1818
</body>
1919

test-cases/rdfa1.0/xml/0121.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@
55
</head>
66
<body>
77
<div>
8-
<p about="http://example.org/">
8+
<div about="http://example.org/">
99
<span about="[]" property="dc:title">Test Case 0121</span>
1010
checks to make sure RDFa processors resolve the empty CURIE correctly.
1111
<p resource="[]">
1212
<span property="dc:contributor">Shane McCarron</span>
1313
contributed to this test.
1414
</p>
15-
</p>
15+
</div>
1616
</div>
1717
</body>
1818

test-cases/rdfa1.1/xhtml1/0121.xhtml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@
66
</head>
77
<body>
88
<div>
9-
<p about="http://example.org/">
9+
<div about="http://example.org/">
1010
<span about="[]" property="dc:title">Test Case 0121</span>
1111
checks to make sure RDFa processors resolve the empty CURIE correctly.
1212
<p resource="[]">
1313
<span property="dc:contributor">Shane McCarron</span>
1414
contributed to this test.
1515
</p>
16-
</p>
16+
</div>
1717
</div>
1818
</body>
1919

test-cases/rdfa1.1/xhtml5/0121.xhtml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@
66
</head>
77
<body>
88
<div>
9-
<p about="http://example.org/">
9+
<div about="http://example.org/">
1010
<span about="[]" property="dc:title">Test Case 0121</span>
1111
checks to make sure RDFa processors resolve the empty CURIE correctly.
1212
<p resource="[]">
1313
<span property="dc:contributor">Shane McCarron</span>
1414
contributed to this test.
1515
</p>
16-
</p>
16+
</div>
1717
</div>
1818
</body>
1919

test-cases/rdfa1.1/xml/0121.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@
55
</head>
66
<body>
77
<div>
8-
<p about="http://example.org/">
8+
<div about="http://example.org/">
99
<span about="[]" property="dc:title">Test Case 0121</span>
1010
checks to make sure RDFa processors resolve the empty CURIE correctly.
1111
<p resource="[]">
1212
<span property="dc:contributor">Shane McCarron</span>
1313
contributed to this test.
1414
</p>
15-
</p>
15+
</div>
1616
</div>
1717
</body>
1818

0 commit comments

Comments
 (0)