Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: libxslt (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to libxslt in Ubuntu.
https://bugs.launchpad.net/bugs/818737
Title:
validity error : ID already defined
Status in libxslt package in Ubuntu:
Confirmed
Bug description:
Hi!
I have an xhtml I want to transform. It was processed by html tidy, so it is
a valid xhtml. But It fails to transform with
o.xml:845: element a: validity error : ID top already defined
<a name="top" id="top"></a>
This is a single top id in the whole doc.
I extracted the part
<!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>
<meta name="generator" content=
"HTML Tidy for Linux (vers 25 March 2009), see www.w3.org" />
<title></title>
</head>
<body>
<div class="g-unit" id="doc-content"><a name="top" id="top"></a>
<h1>The Developer's Guide</h1>
</div>
</body>
</html>
but still get the error.
cmd is
xsltproc --novalid --html -o out.htm t.xsl /tmp/3.htm
if I skip --html it works. (I'm not sure what --html does, but without it
xsltproc complains on named entities)
Anyway, having name and id with same value in the same tag is VALID, so it
shouldn't complain.
see http://www.w3.org/TR/html4/struct/links.html#h-12.2.3
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: xsltproc 1.1.26-6
ProcVersionSignature: Ubuntu 2.6.35-30.54-generic 2.6.35.13
Uname: Linux 2.6.35-30-generic x86_64
NonfreeKernelModules: nvidia wl
Architecture: amd64
Date: Sun Jul 31 07:03:17 2011
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
ProcEnviron:
PATH=(custom, user)
LANG=en_GB.utf8
SHELL=/bin/bash
SourcePackage: libxslt
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libxslt/+bug/818737/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp