forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Turner <je...@apache.org>
Subject [PATCH] Make docv10todocv11.xsl work with Saxon
Date Tue, 10 Sep 2002 07:38:37 GMT
Hi,

There is a subtle bug in docv10todocv11.xsl, where nodes like:

<s1 title="Introduction" id="elem:index">

break with Saxon:

Error at xsl:copy on line 94 of
file:/home/jeff/sf/Anteater/build/webapp/library/xslt/docv10todocv11-orig.xsl:
Cannot write an attribute when there is no open start tag
Transformation failed: Run-time errors were reported

I thought this was a Saxon bug, but Michael Kay explained why it's a
stylesheet bug here:

http://sourceforge.net/forum/forum.php?thread_id=729070&forum_id=94027

The attached patch implements his suggested fix, and seems to work with
Xalan and Saxon.


--Jeff


Mime
View raw message