summaryrefslogtreecommitdiffstats
path: root/tests/grddl/test-01.html
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 05:40:05 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 05:40:05 +0000
commit4038ab95a094b363f1748f3dcb51511a1217475d (patch)
tree7f393d66a783f91ddd263c78d681e485cf4f45ca /tests/grddl/test-01.html
parentInitial commit. (diff)
downloadraptor2-upstream.tar.xz
raptor2-upstream.zip
Adding upstream version 2.0.16.upstream/2.0.16upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/grddl/test-01.html')
-rw-r--r--tests/grddl/test-01.html21
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/grddl/test-01.html b/tests/grddl/test-01.html
new file mode 100644
index 0000000..6ea16f6
--- /dev/null
+++ b/tests/grddl/test-01.html
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+ <title>GRDDL link genid test</title>
+ <!--
+ This link order is to ensure that the internal raptor GRDDL
+ RDF/XML parser is destroyed between parsing data-01.rdf and
+ data-02.rdf
+
+ The @type attribute is actually ignored when guessing a parser
+ to use so data-01.nt is attempted to be parsed as N-Triples.
+ -->
+ <link rel="meta" type="application/rdf+xml" title="rdf1" href="data-01.rdf" />
+ <link rel="meta" type="application/rdf+xml" title="rdf2" href="data-01.nt" />
+ <link rel="meta" type="application/rdf+xml" title="rdf3" href="data-02.rdf" />
+</head>
+<body>
+
+</body>
+</html>