pbwest 2003/07/08 04:47:12
Modified: src/codegen Tag: FOP_0-20-0_Alt-Design xml-lang.xsl
font-file.xsl
Log:
Modified Id keyword in CDATA to prevent expansion in xsl file.
Revision Changes Path
No revision
No revision
1.1.2.2 +13 -14 xml-fop/src/codegen/Attic/xml-lang.xsl
Index: xml-lang.xsl
===================================================================
RCS file: /home/cvs/xml-fop/src/codegen/Attic/xml-lang.xsl,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -u -r1.1.2.1 -r1.1.2.2
--- xml-lang.xsl 5 Jul 2003 19:58:43 -0000 1.1.2.1
+++ xml-lang.xsl 8 Jul 2003 11:47:12 -0000 1.1.2.2
@@ -1,10 +1,9 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
- <xsl:output method="text" encoding="iso-8859-1"/>
-
- <xsl:variable name="licence"><![CDATA[/*
- * $Id$
+ <!-- $Id$ -->
+ <xsl:variable name="licence"><![CDATA[/*
+ * $Id]]><![CDATA[$
* ============================================================================
* The Apache Software License, Version 1.1
* ============================================================================
@@ -57,16 +56,16 @@
* Automatically generated from xml-lang.xml by xml-lang.xsl. DO NOT EDIT!
*!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
*/]]>
- </xsl:variable>
- <!--
- This XSL file is used to generate the file
- org/apache/fop/datatypes/CountryLanguageScript.java
- from the input file
- xml-lang.xml
- found in the conf directory.
- -->
- <xsl:template match="xml-lang">
- <xsl:value-of select="$licence"/>
+</xsl:variable>
+<!--
+ This XSL file is used to generate the file
+ org/apache/fop/datatypes/CountryLanguageScript.java
+ from the input file
+ xml-lang.xml
+ found in the conf directory. -->
+<xsl:output method="text" encoding="iso-8859-1"/>
+<xsl:template match="xml-lang">
+ <xsl:value-of select="$licence"/>
<xsl:variable name="languages">
<xsl:value-of select="count(./languagecodes/language)"/>
</xsl:variable>
1.8.4.2 +5 -5 xml-fop/src/codegen/font-file.xsl
Index: font-file.xsl
===================================================================
RCS file: /home/cvs/xml-fop/src/codegen/font-file.xsl,v
retrieving revision 1.8.4.1
retrieving revision 1.8.4.2
diff -u -r1.8.4.1 -r1.8.4.2
--- font-file.xsl 5 Jul 2003 20:20:23 -0000 1.8.4.1
+++ font-file.xsl 8 Jul 2003 11:47:12 -0000 1.8.4.2
@@ -1,10 +1,9 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
-
- <xsl:output method="text"/>
- <xsl:variable name="licence"><![CDATA[/*
- * $Id$
+ <!-- $Id$ -->
+ <xsl:variable name="licence"><![CDATA[/*
+ * $Id]]><![CDATA[$
* ============================================================================
* The Apache Software License, Version 1.1
* ============================================================================
@@ -57,7 +56,8 @@
* Automatically generated by font-file.xsl. DO NOT EDIT!
*!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
*/]]>
- </xsl:variable>
+</xsl:variable>
+<xsl:output method="text"/>
<!-- This file writes the class files for the fonts (Courier.java,
Helvetica.java etc.). It uses the information in the font
description files (Courier.xml, Helvetica.xml) to do this. In these
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]