GNOME Bugzilla – Bug 64298
xsltproc segfaults when applied to http://www.w3.org
Last modified: 2009-08-15 18:40:50 UTC
xsltproc 1.06-1 --installed from RPM Name : libxslt Relocations: (not relocateable) Version : 1.0.6 Vendor: (none) Release : 1 Build Date: Tue 30 Oct 2001 06:42:09 AM PST segfaults if you apply a vanila identity.xsl to http://www.w3.org with the --html option. The page validates correctly using xmllint. The identity.xsl in question also works with that page when tried on saxon.
The --html option does not mean that it expect to parse XHTML or HTML well formed input with an XML parser but to generate the input tree with an HTML parser. This of course tend to break things when the input is actually well formed XHTML. Applying the identity without the --html option seems to work. However this is rightly a bug and should not segfault, I commited a fix in CVS: http://cvs.gnome.org/bonsai/cvsquery.cgi?module=libxslt&branch=HEAD&branchtype=match&dir=libxslt&file=&filetype=match&who=veillard&whotype=match&sortby=Date&hours=&date=explicit&mindate=11%2F11%2F01+15%3A17&maxdate=11%2F11%2F01+15%3A19&cvsroot=%2Fcvs%2Fgnome thanks a lot for the report, Daniel
Oops forgot to toggle the bug to FIXEd state, Daniel
Should be fixed in the last 2.4.11 release, thanks, Daniel