From: SourceForge.net <no...@so...> - 2009-08-06 18:20:35
|
Bugs item #2824281, was opened at 2009-07-20 16:03 Message generated for change (Comment added) made by mzjn You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=373747&aid=2824281&group_id=21935 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: XSL Group: output: all formats Status: Open Resolution: None Priority: 5 Private: No Submitted By: Gerd v. Egidy (gvegidy) Assigned to: Nobody/Anonymous (nobody) Summary: saxon error with olink.xsl Initial Comment: I'm using saxon 6.5.5 with xerces to process. Since Docbook XSL 1.75.0 I get the following error: Error at xsl:copy-of on line 1005 of file:/opt/oxygenxml/frameworks/docbook/xsl/common/olink.xsl: Cannot write an attribute when there is no open start tag Transformation failed: Run-time errors were reported This refers to the following code in olink.xsl: <xsl:template name="insert.targetdb.data"> <xsl:param name="data"/> <!-- Customize this to massage data further --> <xsl:copy-of select="$data"/> </xsl:template> Docbook XSL 1.74.3 works without problems, 1.75.0 and 1.75.1 both break on this error. This is how I'm calling saxon (here to create fo output): /usr/bin/java -cp /opt/oxygenxml/lib:/opt/oxygenxml/lib/saxon.jar:/opt/oxygenxml/lib/xercesImpl.jar:/opt/oxygenxml/lib/xml-apis.jar:/opt/oxygenxml/lib/resolver.jar -Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.DocumentBuilderFactoryImpl -Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFactoryImpl -Dorg.apache.xerces.xni.parser.XMLParserConfiguration=org.apache.xerces.parsers.XIncludeParserConfiguration com.icl.saxon.StyleSheet -x org.apache.xml.resolver.tools.ResolvingXMLReader -y org.apache.xml.resolver.tools.ResolvingXMLReader -r org.apache.xml.resolver.tools.CatalogResolver -o reference-manual-de.fo reference-manual-de-profile.xml xsl/reference-manual-fo.xsl current.docid="current" "collect.xref.targets=yes" target.database.document="/home/gerd/intranator/manuals/olinkdb.xml" targets.filename="target.db" ---------------------------------------------------------------------- >Comment By: Mauritz Jeanson (mzjn) Date: 2009-08-06 20:20 Message: I'm sorry, but just the Saxon command is not enough to debug this. Please describe exactly how to reproduce the problem. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=373747&aid=2824281&group_id=21935 |