[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: DOCBOOK-APPS: xhtml : namespace problem with 1.49
This simple book demonstrate the problem of the new XSL 1.49 :
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
"file:/D:/Down/Res/DocBook/xml412/docbookx.dtd" >
<book>
<title>test bug 01</title>
<chapter>
<title>chapter 01</title>
<para>A link in a para of the chapter : <ulink url="http://www.w3.org/">www.w3.org</ulink> WRONG.</para>
<formalpara>
<title>formalpara</title>
<para>A link in a formalpara the chapter : <ulink url="http://www.w3.org/">www.w3.org</ulink> OK.</para>
</formalpara>
</chapter>
</book>
Using SAXON 6.5.1, I get this :
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>test bug 01</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.49"/>
</head>
<body>
<div class="book">
<div class="titlepage">
<div><h1 class="title"><a id="d0e1"/>test bug 01</h1></div><hr/>
</div>
<div class="toc"><p><b>Table of Contents</b></p>
<dl><dt>1. <a href="#d0e4">chapter 01</a></dt></dl>
</div>
<div class="chapter">
<div class="titlepage">
<div><h2 class="title"><a id="d0e4"/>Chapter 1. chapter 01</h2></div>
</div>
<p>A link in a para of the chapter :
<a xmlns:.0="" .0:href="http://www.w3.org/" .0:target="_top">www.w3.org</a> WRONG.
</p>
<p><b>formalpara. </b>A link in a formalpara the chapter :
<a href="http://www.w3.org/" target="_top">www.w3.org</a> OK.
</p>
</div>
</div>
</body>
</html>
links in para are unusable because of the ".0:".
Any idea how to correct it ?
Thanks
Bruno
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC