-
Notifications
You must be signed in to change notification settings - Fork 5
Test case 0198 #51
Copy link
Copy link
Open
Description
This test case appears to be incorrect here:
XHTML:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" prefix="foaf: http://xmlns.com/foaf/0.1/ rdf: http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<head>
<title>Test 0198</title>
<base href="http://www.example.org/me" />
</head>
<body>
<div id="mark" about="#mark" typeof="foaf:Person">
<h2 property="foaf:name" datatype="rdf:XMLLiteral"><span
property="foaf:firstName">Mark</span> <span
property="foaf:surname">Birbeck</span></h2>
</div>
</body>
</html>Expected output:
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<http://www.example.org/me#mark> a foaf:Person;
foaf:firstName "Mark";
foaf:name "<span property=\"foaf:firstName\" xmlns=\"http://www.w3.org/1999/xhtml\" xmlns:foaf=\"http://xmlns.com/foaf/0.1/\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\">Mark</span> <span property=\"foaf:surname\" xmlns=\"http://www.w3.org/1999/xhtml\" xmlns:foaf=\"http://xmlns.com/foaf/0.1/\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\">Birbeck</span>"^^rdf:XMLLiteral;
foaf:surname "Birbeck" .For XMLLiterals, the output must be canonicalized:
The format of the resulting serialized content is as defined in Exclusive XML Canonicalization Version 1.0 [XML-EXC-C14N].
The output here is not canonicalized (namespaces should come before all attributes).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels