This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch git-svn in repository https://gitbox.apache.org/repos/asf/xalan-site.git
commit adbc66e462e96dcc3ce30531b123436bde8e94af Author: Steven J. Hathaway <[email protected]> AuthorDate: Sat May 17 14:23:42 2014 +0000 Update top website page - sources --- xdocs/sources/entities.ent | 8 +- xdocs/sources/make-book-org.bat | 24 ++--- xdocs/sources/make-book-org.sh | 12 +++ xdocs/sources/make-xalan-org.bat | 172 +++++++++++++++---------------- xdocs/sources/make-xalan-org.sh | 145 ++++++++++++++++++++++++++ xdocs/sources/stylebook.xslt | 2 +- xdocs/sources/xalan-apache-org-site.xml | 10 +- xdocs/sources/xalan-apache-org/index.xml | 21 ++-- 8 files changed, 278 insertions(+), 116 deletions(-) diff --git a/xdocs/sources/entities.ent b/xdocs/sources/entities.ent index f9672dc..68746b4 100644 --- a/xdocs/sources/entities.ent +++ b/xdocs/sources/entities.ent @@ -8,14 +8,14 @@ <!ENTITY xslt4jc-long "&xslt4j; Compiled"> <!ENTITY xslt4j-dist-bin "&xslt4j-dist;-bin"> <!ENTITY xslt4j-dist-src "&xslt4j-dist;-src"> -<!ENTITY xslt4j-dist "xalan-j_2.7.1"> -<!ENTITY xslt4j-current "&xslt4j; Version 2.7.1"> -<!ENTITY xslt4j-distdir "http://www.apache.org/dyn/closer.cgi/xml/xalan-j/"> +<!ENTITY xslt4j-dist "xalan-j_2.7.2"> +<!ENTITY xslt4j-current "&xslt4j; Version 2.7.2"> +<!ENTITY xslt4j-distdir "http://www.apache.org/dyn/closer.cgi/xalan/xalan-j/"> <!ENTITY xslt4j_longname "Apache Xalan Java"> <!ENTITY xml4j "Xerces-Java"> <!ENTITY xml4j1 "Xerces-Java 1"> <!ENTITY xml4j2 "Xerces-Java 2"> -<!ENTITY xml4j-used "&xml4j; @parser.version.VERSION@[email protected]@[email protected]@"> +<!ENTITY xml4j-used "&xml4j; 2.11.0"> <!ENTITY xml4j-jar "xercesImpl.jar"> <!ENTITY xslt4c "Xalan-C++"> <!ENTITY xml4c "Xerces-C++"> diff --git a/xdocs/sources/make-book-org.bat b/xdocs/sources/make-book-org.bat index 4ccdae1..2b499cf 100644 --- a/xdocs/sources/make-book-org.bat +++ b/xdocs/sources/make-book-org.bat @@ -1,12 +1,12 @@ -:: Volume in drive I is LEDS-USB -:: Volume Serial Number is 27B6-025E -:: - - -mkdir ..\..\build\docs\xalan\resources - -call make-xalan-org index -call make-xalan-org charter - -copy xslt-resources\*.* ..\..\build\docs\xalan\resources - +:: Volume in drive I is LEDS-USB +:: Volume Serial Number is 27B6-025E +:: + + +mkdir ..\..\build\docs\xalan\resources + +call make-xalan-org index +call make-xalan-org charter + +copy xslt-resources\*.* ..\..\build\docs\xalan\resources + diff --git a/xdocs/sources/make-book-org.sh b/xdocs/sources/make-book-org.sh new file mode 100755 index 0000000..53d5ba4 --- /dev/null +++ b/xdocs/sources/make-book-org.sh @@ -0,0 +1,12 @@ +#!/bin/sh +# +# Build the Xalan PMC home page +# + +mkdir -p ../../build/docs/xalan/resources + +./make-xalan-org.sh index +./make-xalan-org.sh charter + +cp xslt-resources/* ../../build/docs/xalan/resources + diff --git a/xdocs/sources/make-xalan-org.bat b/xdocs/sources/make-xalan-org.bat index dfd7eec..1f062ad 100644 --- a/xdocs/sources/make-xalan-org.bat +++ b/xdocs/sources/make-xalan-org.bat @@ -1,86 +1,86 @@ -:: -:: Set the current path to include a stylesheet transformation utility -:: -:: %1 The document filename (without extension) to transform -:: -:: -- The Environment Variables for this script -- -:: -:: %XALANBOOKXML% The <book> navigation file for this project -:: -:: %XALANCMD% The Xalan command-line XSLT transformation utility -:: -:: %XALANSTYLE% The XSLT stylesheet to -:: -:: %XALANSRCDIR% Source directory of STYLEBOOK markup XML documents -:: -:: %XALANOUTDIR% Target directory of XHTML web page documents -:: -:: %XALANLOGOIMG% Web Page Logo -:: -:: %XALANLOGOWIDTH% Web Page Logo Width -:: -:: %XALANLOGOHEIGHT% Web Page Logo Height -:: -:: %XALANLOGOLINK% Active Link for Web Page Logo -:: -:: %XALANTITLELINK% Active Link for Web Page Title -:: -:: %WEBCREATED% Web Page Creation Date -:: -:: -- The XSLT Stylesheet Top-Level Parameters -:: -:: sectionid Top-level stylesheet parameter (document file id) -:: -:: createdate Top-level stylesheet parameter (web page creation date) -:: -:: logoimage Apache Trademark Logo Image -:: -:: logoheight Logo Height in Pixels -:: -:: logowidth Logo Width in Pixels -:: -:: logolink Logo Image - hot link -:: -:: bookxml The <book>.xml file for navigation -:: -:: booklink The Hot-Link for Book Title in Header -:: - -SET XALANBOOKXML=xalan-apache-org-site.xml - -SET XALANCMD=..\..\bin\xalan.exe - -SET XALANSTYLE=stylebook.xslt - -SET XALANSRCDIR=xalan-apache-org - -SET XALANOUTDIR=..\..\build\docs\xalan - -SET XALANLOGOIMG=resources/Xalan-Logo-tm.png - -SET XALANLOGOWIDTH=190 - -SET XALANLOGOHEIGHT=90 - -SET XALANLOGOLINK=index.html - -SET XALANTITLELINK=index.html - -SET WEBCREATED=%DATE% - -:: -:: Create Target Directories -:: - -IF EXIST "%XALANOUTDIR%" GOTO NEXT1 -MKDIR "%XALANOUTDIR%" -:NEXT1 -IF EXIST "%XALANOUTDIR%\resources" GOTO NEXT2 -MKDIR "%XALANOUTDIR%\resources" -:NEXT2 - -:: -:: Now create the specific web page from StyleBook XML -:: - -"%XALANCMD%" -p sectionid "'%1'" -p xmlsources "'%XALANSRCDIR%'" -p createdate "'%WEBCREATED%'" -p logoimage "'%XALANLOGOIMG%'" -p logowidth "'%XALANLOGOWIDTH%'" -p logoheight "'%XALANLOGOHEIGHT%'" -p logolink "'%XALANLOGOLINK%'" -p bookxml "'%XALANBOOKXML%'" -p booklink "'%XALANTITLELINK%'" %XALANSRCDIR%\%1.xml %XALANSTYLE% >%XALANOUTDIR%\%1.html +:: +:: Set the current path to include a stylesheet transformation utility +:: +:: %1 The document filename (without extension) to transform +:: +:: -- The Environment Variables for this script -- +:: +:: %XALANBOOKXML% The <book> navigation file for this project +:: +:: %XALANCMD% The Xalan command-line XSLT transformation utility +:: +:: %XALANSTYLE% The XSLT stylesheet to +:: +:: %XALANSRCDIR% Source directory of STYLEBOOK markup XML documents +:: +:: %XALANOUTDIR% Target directory of XHTML web page documents +:: +:: %XALANLOGOIMG% Web Page Logo +:: +:: %XALANLOGOWIDTH% Web Page Logo Width +:: +:: %XALANLOGOHEIGHT% Web Page Logo Height +:: +:: %XALANLOGOLINK% Active Link for Web Page Logo +:: +:: %XALANTITLELINK% Active Link for Web Page Title +:: +:: %WEBCREATED% Web Page Creation Date +:: +:: -- The XSLT Stylesheet Top-Level Parameters +:: +:: sectionid Top-level stylesheet parameter (document file id) +:: +:: createdate Top-level stylesheet parameter (web page creation date) +:: +:: logoimage Apache Trademark Logo Image +:: +:: logoheight Logo Height in Pixels +:: +:: logowidth Logo Width in Pixels +:: +:: logolink Logo Image - hot link +:: +:: bookxml The <book>.xml file for navigation +:: +:: booklink The Hot-Link for Book Title in Header +:: + +SET XALANBOOKXML=xalan-apache-org-site.xml + +SET XALANCMD=..\..\bin\xalan.exe + +SET XALANSTYLE=stylebook.xslt + +SET XALANSRCDIR=xalan-apache-org + +SET XALANOUTDIR=..\..\build\docs\xalan + +SET XALANLOGOIMG=resources/Xalan-Logo-tm.png + +SET XALANLOGOWIDTH=190 + +SET XALANLOGOHEIGHT=90 + +SET XALANLOGOLINK=index.html + +SET XALANTITLELINK=index.html + +SET WEBCREATED=%DATE% + +:: +:: Create Target Directories +:: + +IF EXIST "%XALANOUTDIR%" GOTO NEXT1 +MKDIR "%XALANOUTDIR%" +:NEXT1 +IF EXIST "%XALANOUTDIR%\resources" GOTO NEXT2 +MKDIR "%XALANOUTDIR%\resources" +:NEXT2 + +:: +:: Now create the specific web page from StyleBook XML +:: + +"%XALANCMD%" -p sectionid "'%1'" -p xmlsources "'%XALANSRCDIR%'" -p createdate "'%WEBCREATED%'" -p logoimage "'%XALANLOGOIMG%'" -p logowidth "'%XALANLOGOWIDTH%'" -p logoheight "'%XALANLOGOHEIGHT%'" -p logolink "'%XALANLOGOLINK%'" -p bookxml "'%XALANBOOKXML%'" -p booklink "'%XALANTITLELINK%'" %XALANSRCDIR%\%1.xml %XALANSTYLE% >%XALANOUTDIR%\%1.html diff --git a/xdocs/sources/make-xalan-org.sh b/xdocs/sources/make-xalan-org.sh new file mode 100755 index 0000000..a70fb16 --- /dev/null +++ b/xdocs/sources/make-xalan-org.sh @@ -0,0 +1,145 @@ +#!/bin/sh +# +# Set the current path to include a stylesheet transformation utility +# +# %1 The document filename (without extension) to transform +# +# -- The Environment Variables for this script -- +# +# %XALANBOOKXML% The <book> navigation file for this project +# +# %XALANCMD% The Xalan command-line XSLT transformation utility +# +# %XALANSTYLE% The XSLT stylesheet to +# +# %XALANSRCDIR% Source directory of STYLEBOOK markup XML documents +# +# %XALANOUTDIR% Target directory of XHTML web page documents +# +# %XALANLOGOIMG% Web Page Logo +# +# %XALANLOGOWIDTH% Web Page Logo Width +# +# %XALANLOGOHEIGHT% Web Page Logo Height +# +# %XALANLOGOLINK% Active Link for Web Page Logo +# +# %XALANTITLELINK% Active Link for Web Page Title +# +# %WEBCREATED% Web Page Creation Date +# +# -- The XSLT Stylesheet Top-Level Parameters +# +# sectionid Top-level stylesheet parameter (document file id) +# +# createdate Top-level stylesheet parameter (web page creation date) +# +# logoimage Apache Trademark Logo Image +# +# logoheight Logo Height in Pixels +# +# logowidth Logo Width in Pixels +# +# logolink Logo Image - hot link +# +# bookxml The <book>.xml file for navigation +# +# booklink The Hot-Link for Book Title in Header +# +# +# XALANBOOKXML=xalan-apache-org-site.xml +# +# XALANCMD=..\..\bin\xalan.exe +# +# XALANSTYLE=stylebook.xslt +# +# XALANSRCDIR=xalan-apache-org +# +# XALANOUTDIR=..\..\build\docs\xalan +# +# XALANLOGOIMG=resources/Xalan-Logo-tm.png +# +# XALANLOGOWIDTH=190 +# +# XALANLOGOHEIGHT=90 +# +# XALANLOGOLINK=index.html +# +# XALANTITLELINK=index.html +# +# WEBCREATED=%DATE% +# +# +# -- The XSLT Stylesheet Top-Level Parameters +# +# sectionid Top-level stylesheet parameter (document file id) +# +# createdate Top-level stylesheet parameter (web page creation date) +# +# logoimage Apache Trademark Logo Image +# +# logolink Logo Image - hot link +# +# bookxml The <book>.xml file for navigation +# +# booklink The Hot-Link for Book Title in Header +# + +# Set some environment variables + +XALANBOOKXML=xalan-apache-org-site.xml + +XALANCMD=Xalan + +XALANSTYLE=stylebook.xslt + +XALANSRCDIR=xalan-apache-org + +XALANOUTDIR=../../build/docs/xalan + +XALANLOGOIMG=resources/Xalan-Logo-tm.png + +XALANLOGOWIDTH=190 + +XALANLOGOHEIGHT=90 + +XALANLOGOLINK=http://xalan.apache.org/index.html + +XALANTITLELINK=index.html + +WEBCREATED=`date +"%a %F"` + + + +# Create Target Directories +# +#IF EXIST "%XALANOUTDIR%" GOTO NEXT1 +#MKDIR "%XALANOUTDIR%" +#:NEXT1 +#IF EXIST "%XALANOUTDIR%\resources" GOTO NEXT2 +#MKDIR "%XALANOUTDIR%\resources" +#:NEXT2 + +if [ ! -d "${XALANOUTDIR}/resources" ] ; then + mkdir -p "${XALANOUTDIR}/resources" +fi + +# +# Now create the specific web page from StyleBook XML +# + +#"%XALANCMD%" -p sectionid "'%1'" -p xmlsources "'%XALANSRCDIR%'" -p createdate "'%WEBCREATED%'" -p logoimage "'%XALANLOGOIMG%'" -p logowidth "'%XALANLOGOWIDTH%'" -p logoheight "'%XALANLOGOHEIGHT%'" -p logolink "'%XALANLOGOLINK%'" -p bookxml "'%XALANBOOKXML%'" -p booklink "'%XALANTITLELINK%'" %XALANSRCDIR%\%1.xml %XALANSTYLE% >%XALANOUTDIR%\%1.html + +"${XALANCMD}" \ + -p sectionid "'$1'" \ + -p xmlsources "'${XALANSRCDIR}'" \ + -p createdate "'${WEBCREATED}'" \ + -p logoimage "'${XALANLOGOIMG}'" \ + -p logowidth "'${XALANLOGOWIDTH}'" \ + -p logoheight "'${XALANLOGOHEIGHT}'" \ + -p logolink "'${XALANLOGOLINK}'" \ + -p bookxml "'${XALANBOOKXML}'" \ + -p booklink "'${XALANTITLELINK}'" \ + "${XALANSRCDIR}/$1.xml" "${XALANSTYLE}" >"${XALANOUTDIR}/$1.html" + + diff --git a/xdocs/sources/stylebook.xslt b/xdocs/sources/stylebook.xslt index 859d413..8918ce4 100644 --- a/xdocs/sources/stylebook.xslt +++ b/xdocs/sources/stylebook.xslt @@ -469,7 +469,7 @@ <xsl:attribute name="id">footer</xsl:attribute> <!-- copyright byline information --> <!-- © is the (c) copyright symbol --> - <xsl:text>Copyright © 1999-2012 The Apache Software Foundation</xsl:text><br/> + <xsl:text>Copyright © 1999-2014 The Apache Software Foundation</xsl:text><br/> <xsl:text>Apache, Xalan, and the Feather logo are trademarks of The Apache Software Foundation</xsl:text> <xsl:element name="div"> <xsl:attribute name="class">small</xsl:attribute> diff --git a/xdocs/sources/xalan-apache-org-site.xml b/xdocs/sources/xalan-apache-org-site.xml index 40652eb..7f2bad9 100644 --- a/xdocs/sources/xalan-apache-org-site.xml +++ b/xdocs/sources/xalan-apache-org-site.xml @@ -2,7 +2,7 @@ <!DOCTYPE book SYSTEM "../style/dtd/book.dtd"> <!-- - * Copyright 2000-2012 The Apache Software Foundation. + * Copyright 2000-2014 The Apache Software Foundation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -17,7 +17,7 @@ * limitations under the License. --> -<book title="Apache Xalan Project " copyright="2011 The Apache Software Foundation"> +<book title="Apache Xalan Project " copyright="2014 The Apache Software Foundation"> <document id="index" label="Apache Xalan" source="xalan-apache-org/index.xml"/> <document id="charter" label="Charter" source="xalan-apache-org/charter.xml"/> <external href="http://wiki.apache.org/xalan" label = "Xalan Wiki"/> @@ -27,9 +27,9 @@ <external href="http://xml.apache.org/xalan-j" label="Xalan Java 2"/> --> <group label="Projects"> - <external href="xalan-c/index.html" label="Xalan C++"/> - <external href="xalan-j/index.html" label="Xalan Java (dev)"/> - <external href="old/xalan-j/index.html" label="Xalan Java (old)"/> + <external href="xalan-c/index.html" label="Xalan C++ 1.11"/> + <external href="xalan-j/index.html" label="Xalan Java 2.7.2"/> + <external href="old/xalan-j/index.html" label="Xalan Java 2.7.1"/> </group> <separator/> <group label="Mail Lists"> diff --git a/xdocs/sources/xalan-apache-org/index.xml b/xdocs/sources/xalan-apache-org/index.xml index 17a6bc7..e30ee4f 100644 --- a/xdocs/sources/xalan-apache-org/index.xml +++ b/xdocs/sources/xalan-apache-org/index.xml @@ -1,7 +1,7 @@ <?xml version="1.0" standalone="no"?> <!DOCTYPE s1 SYSTEM "../../style/dtd/document.dtd"> <!-- - * Copyright 1999-2012 The Apache Software Foundation. + * Copyright 1999-2014 The Apache Software Foundation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -16,8 +16,10 @@ * limitations under the License. --> <s1 title="The Apache Xalan Project"> -<p>We are proud to release version 1.11 of our Xalan C++ project. This is -the first product distribution release since Apache Xalan was reformed in 2011. +<p>We are proud to release version 2.7.2 of our Xalan Java project. This is +the first product distribution release of Xalan Java since Apache Xalan was +reformed in 2011. It also fixes a security issue reported against the +previous version. </p> <p>The Apache Xalan Project develops and maintains libraries and programs that transform XML documents using XSLT standard stylesheets. Our @@ -89,21 +91,24 @@ and AS400 platforms. <p>The GNU make utility should be used with the UNIX/POSIX platforms. </p> <p>The <jump href="old/xalan-c/index.html">Xalan-1.10</jump> and older -releases are available on the <jump href="http://archive.apache.org/dist/xml/xalan-c"> +releases are available on the <jump href="http://archive.apache.org/dist/xalan/xalan-c"> Apache Archives</jump>. </p> </s3> <s3 title="Xalan Java Project"> -<p>There are no new Java products available since Apache Xalan was reformed. -The current development for <jump href="xalan-j/index.html">Version 2.7.D2</jump> -reflects the work in progress in the +<p>The <jump href="xalan-j/index.html">Xalan-Java 2.7.2</jump> was released in April 2014. You can download the current release +the current <jump href="&xslt4j-distdir;">Xalan-Java 2.7.2</jump> release for your development. The +current work in progress can be found in the <jump href="http://svn.apache.org/repos/asf/xalan/xalan-j/trunk/">subversion repository</jump>. </p> +<p>The current release fixes a security issue that was registered against version 2.7.1. +</p> <p>The old <jump href="old/xalan-j/index.html">Xalan-J 2.7.1</jump> distributions are still available on the <jump href="http://archive.apache.org/dist/xml/xalan-j">Apache Archives</jump>. </p> -<p>There is continuing effort to prepare for a new Xalan Java patch release. +<p>This is a mature project. There has been some discussion about supporting XPath-2. +We could use your support in this major rework of the library. You can follow the efforts and post your own contributions on the Java users and developers mail lists. </p> --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
