W3C home > Mailing lists > Public > spec-prod@w3.org > January to March 2003

Re: XML Spec XHTML Stylesheet Version 1.6 bug

From: Norman Walsh <Norman.Walsh@Sun.COM>
Date: Wed, 12 Mar 2003 13:09:17 -0500
To: spec-prod@w3.org
Message-ID: <87zno01mpe.fsf@nwalsh.com>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

/ Hugo Haas <hugo@w3.org> was heard to say:
| The XML Spec XHTML Stylesheet Version 1.6[1] produces invalid XHTML
| 1.0 by putting xmlns declarations on every element in the output,
| according to [2].
|
| I have made it exclude those attributes with the following patch:
|
|   http://dev.w3.org/cvsweb/2002/ws/arch/xmlspec-v22/xmlspec.xsl.diff?r1=1.6&r2=1.7
|
| Since I don't know where the html2xhtml used to generate it lives, I
| have just modified the Web Services Architecture Working Group's local
| copy[3].

That patch may have worked, but I think what you're seeing is a bug in
your xslt processors. The XHTML stylesheet goes to some lengths to
make sure that duplicate namespace declarations aren't produced.

Were you, by chance, using an older version of xsltproc?

|   1. http://www.w3.org/2002/xmlspec/xhtml/1.6/xmlspec.xsl
|   2. http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd
|   3. http://dev.w3.org/cvsweb/2002/ws/arch/xmlspec-v22/xmlspec.xsl

                                        Be seeing you,
                                          norm

- -- 
Norman.Walsh@Sun.COM    | Unprovided with original learning, unformed
XML Standards Architect | in the habits of thinking, unskilled in the
Web Tech. and Standards | arts of composition, I resolved to write a
Sun Microsystems, Inc.  | book.--Edward Gibbon
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.7 <http://mailcrypt.sourceforge.net/>

iD8DBQE+b3fNOyltUcwYWjsRAmjTAJ40yjYJjMlXiExldovtsnzL0COdJgCfeYf6
HbaI/BjVGcFeJ8LFfYzD72U=
=k3sD
-----END PGP SIGNATURE-----
Received on Wednesday, 12 March 2003 13:09:40 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 10 March 2012 06:19:12 GMT