Closed raducoravu closed 9 years ago
Investigating.
As an initial test I downloaded the release package, added the plugins to a clean 1.8.5, and ran the test doc and it appeared to work correctly.
Will attempt to replicate your test.
I can't replicate the failure. Using the topic above I get the expected HTML result using the XHTML transform:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xml:lang="en-us" lang="en-us">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta name="copyright" content="(C) Copyright 2005"/>
<meta name="DC.rights.owner" content="(C) Copyright 2005"/>
<meta name="DC.Type" content="topic"/>
<meta name="DC.Title" content="Radu SVG Test 01"/>
<meta name="DC.Relation" scheme="URI" content="../topics/dita13-domain-tests.html"/>
<meta name="DC.Format" content="XHTML"/>
<meta name="DC.Identifier" content="topic_tfm_thl_hs"/>
<link rel="stylesheet" type="text/css" href="../commonltr.css"/>
<title>Radu SVG Test 01</title>
</head>
<body id="topic_tfm_thl_hs">
<h1 class="title topictitle1">Radu SVG Test 01</h1>
<div class="body">
<p class="p">abc
<svg xmlns="http://www.w3.org/2000/svg" width="125" height="125" version="1.1" preserveAspectRatio="xMidYMid meet" zoomAndPan="magnify" contentScriptType="application/ecmascript" contentStyleType="text/css">
<circle cx="62" cy="62" r="55" stroke-width="5" stroke="blue" fill="white"/>
</svg>
zzz</p>
</div>
<div class="related-links">
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a class="link" href="../topics/dita13-domain-tests.html" title="Tests for the XML Domain">DITA 1.3 Domain Tests</a></div>
</div>
</div>
</body>
</html>
You are right, I had another plugin which matched any foreign element. Sorry about that, I'll close this one.
I have a topic like:
I publish it to plain XHTML using DITA OT 1.8 and the XHTML contains no trace of the svg elements.