Hi, This turns out to be a bug in the script that converts the non-namespaced stylesheets to the namespaced stylesheets for DocBook 5. You might try doing the processing with the non-namespaced version of the stylesheets.
Bob Stayton Sagehill Enterprises [EMAIL PROTECTED] ----- Original Message ----- From: Antti Karanta To: [email protected] Sent: Wednesday, December 12, 2007 2:24 AM Subject: [docbook-apps] Error (illegal character in character reference) in stylesheet Hi! I was test driving the docbook xsl transformations when I bumped into an error in one of the stylesheets: C:\programs\Java\saxon655>java -Xss1m -Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.DocumentBuilderF actoryImpl -Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFactoryImpl com.icl.saxon.StyleSheet -o \temp\supported.doc \downloaded\docbook\docbook-xsl-ns-1.73.2\roundtrip\supported.xml \downloaded\docbook\docbook-xsl-ns -1.73.2\roundtrip\dbk2wordml.xsl use.extensions=1 Fatal error reported by XML parser: A decimal representation must immediately follow the "&#" in a character reference. URL: file:/C:/downloaded/docbook/docbook-xsl-ns-1.73.2/roundtrip/dbk2wp.xsl Line: 663 Column: 45 Error at xsl:import on line 15 of file:/C:/downloaded/docbook/docbook-xsl-ns-1.73.2/roundtrip/dbk2wordml.xsl: org.xml.sax.SAXParseException: A decimal representation must immediately follow the "&#" in a character reference. Transformation failed: Failed to compile stylesheet. 1 error detected. C:\programs\Java\saxon655>java -version java version "1.6.0_03" Java(TM) SE Runtime Environment (build 1.6.0_03-b05) Java HotSpot(TM) Client VM (build 1.6.0_03-b05, mixed mode) Any ideas? -Antti-
