├── .gitignore ├── README.md ├── build.sh ├── lib ├── README.md ├── fop-1.0 │ ├── KEYS │ ├── LICENSE │ ├── NOTICE │ ├── README │ ├── build │ │ └── fop.jar │ ├── conf │ │ └── fop.xconf │ ├── fop │ ├── fop.bat │ ├── fop.cmd │ ├── fop.js │ ├── lib │ │ ├── README.txt │ │ ├── avalon-framework-4.2.0.jar │ │ ├── avalon-framework.LICENSE.txt │ │ ├── avalon-framework.NOTICE.TXT │ │ ├── batik-all-1.7.jar │ │ ├── batik.LICENSE.txt │ │ ├── batik.NOTICE.txt │ │ ├── commons-io-1.3.1.jar │ │ ├── commons-io.LICENSE.txt │ │ ├── commons-io.NOTICE.txt │ │ ├── commons-logging-1.0.4.jar │ │ ├── commons-logging.LICENSE.txt │ │ ├── commons-logging.NOTICE.txt │ │ ├── serializer-2.7.0.jar │ │ ├── serializer.LICENSE.txt │ │ ├── serializer.NOTICE.txt │ │ ├── xalan-2.7.0.jar │ │ ├── xalan.BCEL.LICENSE.txt │ │ ├── xalan.LICENSE.txt │ │ ├── xalan.NOTICE.txt │ │ ├── xalan.regexp.LICENSE.txt │ │ ├── xalan.runtime.LICENSE.txt │ │ ├── xerces.LICENSE.txt │ │ ├── xercesImpl-2.7.1.jar │ │ ├── xercesImpl.LICENSE.txt │ │ ├── xercesImpl.NOTICE.txt │ │ ├── xml-apis-1.3.04.jar │ │ ├── xml-apis-ext-1.3.04.jar │ │ ├── xml-apis-ext.LICENSE.dom-documentation.txt │ │ ├── xml-apis-ext.LICENSE.dom-software.txt │ │ ├── xml-apis-ext.LICENSE.sac.html │ │ ├── xml-apis-ext.LICENSE.txt │ │ ├── xml-apis-ext.NOTICE.txt │ │ ├── xml-apis-ext.README.dom.txt │ │ ├── xml-apis.LICENSE-SAX.html │ │ ├── xml-apis.LICENSE.DOM-documentation.html │ │ ├── xml-apis.LICENSE.DOM-software.html │ │ ├── xml-apis.LICENSE.txt │ │ ├── xml-apis.NOTICE.txt │ │ ├── xmlgraphics-commons-1.4.jar │ │ ├── xmlgraphics-commons.LICENSE.txt │ │ └── xmlgraphics-commons.NOTICE.txt │ └── status.xml ├── relames-20060319 │ ├── Apache-LICENSE-1.1.txt │ ├── README.txt │ ├── copyright.txt │ ├── isorelax.jar │ ├── msv.jar │ ├── relames.jar │ ├── relaxngDatatype.jar │ ├── xalan.jar │ ├── xercesImpl.jar │ ├── xmlParserAPIs.jar │ └── xsdlib.jar ├── saxon-9.3.0.5 │ └── saxon9he.jar ├── schema-5.1b4 │ ├── dtd │ │ ├── dbits.dtd │ │ └── docbook.dtd │ └── rng │ │ ├── assembly.rnc │ │ ├── assembly.rng │ │ ├── dbits.rnc │ │ ├── dbits.rng │ │ ├── docbook.rnc │ │ ├── docbook.rng │ │ ├── docbookxi.rnc │ │ └── docbookxi.rng └── xsl-2.0.3 │ ├── README.md │ ├── docs │ ├── AUTHORS │ ├── BUGS │ ├── COPYING │ ├── INSTALL │ ├── NOTES │ ├── RELEASENOTES.html │ └── RELEASENOTES.xml │ ├── lib │ └── docbook-xsl2-saxon.jar │ └── xslt │ ├── base │ ├── VERSION.xsl │ ├── common │ │ ├── common.xsl │ │ ├── control.xsl │ │ ├── footnotes.xsl │ │ ├── functions.xsl │ │ ├── gentext.xsl │ │ ├── i18ndata.xsl │ │ ├── inlines.xsl │ │ ├── l10n.xsl │ │ ├── label-content.xsl │ │ ├── locales │ │ │ └── en.xml │ │ ├── marklogic.xqy │ │ ├── normalize.xsl │ │ ├── olink.xsl │ │ ├── preprocess.xsl │ │ ├── spspace.xsl │ │ ├── table.xsl │ │ ├── title-content.xsl │ │ └── titlepages.xsl │ ├── fo │ │ ├── admonitions.xsl │ │ ├── autotoc.xsl │ │ ├── biblio.xsl │ │ ├── blocks.xsl │ │ ├── component.xsl │ │ ├── division.xsl │ │ ├── docbook.xsl │ │ ├── fo.xsl │ │ ├── footnotes.xsl │ │ ├── formal.xsl │ │ ├── glossary.xsl │ │ ├── graphics.xsl │ │ ├── index.xsl │ │ ├── info.xsl │ │ ├── inlines.xsl │ │ ├── lists.xsl │ │ ├── pagesetup.xsl │ │ ├── param.xml │ │ ├── param.xsl │ │ ├── pi.xsl │ │ ├── pygments.xsl │ │ ├── sections.xsl │ │ ├── table.xsl │ │ ├── titlepage-mode.xsl │ │ ├── titlepage-templates.xsl │ │ ├── verbatim.xsl │ │ └── xref.xsl │ ├── html │ │ ├── admonitions.xsl │ │ ├── annotation.js │ │ ├── autoidx.xsl │ │ ├── autotoc.xsl │ │ ├── biblio.xsl │ │ ├── blocks.xsl │ │ ├── callouts.xsl │ │ ├── chunk.xsl │ │ ├── chunker.xsl │ │ ├── chunkfunc.xsl │ │ ├── chunktemp.xsl │ │ ├── component.xsl │ │ ├── division.xsl │ │ ├── docbook.xsl │ │ ├── footnotes.xsl │ │ ├── formal.xsl │ │ ├── glossary.xsl │ │ ├── graphics.xsl │ │ ├── html.xsl │ │ ├── index.xsl │ │ ├── info.xsl │ │ ├── inlines.xsl │ │ ├── lists.xsl │ │ ├── math.xsl │ │ ├── msgset.xsl │ │ ├── oosynopsis.xsl │ │ ├── param.xml │ │ ├── param.xsl │ │ ├── pi.xsl │ │ ├── qandaset.xsl │ │ ├── refentry.xsl │ │ ├── section.xsl │ │ ├── synopsis.xsl │ │ ├── table.xsl │ │ ├── task.xsl │ │ ├── titlepage-mode.xsl │ │ ├── titlepage-templates.xsl │ │ ├── toc.xsl │ │ ├── verbatim-patch.xsl │ │ ├── verbatim.xsl │ │ ├── xlink.xsl │ │ └── xref.xsl │ └── preprocess │ │ ├── 1-db4to5.xsl │ │ ├── 1-logstruct.xsl │ │ ├── 15-transclude.xsl │ │ ├── 2-profile.xsl │ │ ├── 3-schemaext.xsl │ │ ├── 4-normalize.xsl │ │ └── profile.xsl │ └── slides │ ├── examples │ └── deck.xml │ ├── fo │ └── plain.xsl │ └── html │ ├── multipage.xsl │ └── plain.xsl └── src ├── .DS_Store ├── architecture.xml ├── dtds ├── entities.dtd ├── xhtml-lat1.ent ├── xhtml-special.ent └── xhtml-symbol.ent ├── faq.xml ├── images ├── architecture.png ├── combine-slice-buffer.png ├── traditional-copy.png └── zero-copy.png ├── index.xml ├── preface.xml ├── start.xml └── xslt ├── fo.xsl └── html.xsl /.gitignore: -------------------------------------------------------------------------------- 1 | target 2 | 3 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netty/netty-book/03d31bd25a582a592530a9d99f46c0bb9dfaf30c/README.md -------------------------------------------------------------------------------- /build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | set -e 4 | 5 | cd `dirname "$0"` 6 | 7 | if [[ "x$1" == 'xclean' ]]; then 8 | rm -fr target 9 | exit 0 10 | fi 11 | 12 | if [[ -z "$JAVA_HOME" ]]; then 13 | JAVA=java 14 | else 15 | JAVA="$JAVA_HOME/bin/java" 16 | fi 17 | 18 | if ! which xmllint > /dev/null; then 19 | echo xmllint not found 20 | exit 1 21 | fi 22 | 23 | rm -fr target 24 | mkdir -p target 25 | mkdir target/docbook 26 | 27 | # Perform basic validation and process XInclude tags 28 | xmllint --noxincludenode src/index.xml | sed 's/xmlns:xi="[^"]*"//g' | sed 's#"../lib/#"../../lib/#g' > target/docbook/index.xml 29 | cp -R src/images target/docbook 30 | xmllint --noout --postvalid --loaddtd target/docbook/index.xml 31 | 32 | # Perform additional validation using MSV 33 | "$JAVA" \ 34 | -jar lib/relames-20060319/relames.jar \ 35 | lib/schema-5.1b4/rng/docbook.rng \ 36 | target/docbook/index.xml | tee target/docbook/relames.log 37 | 38 | if grep -iF 'NOT valid' target/docbook/relames.log; then 39 | echo Validation failure 40 | exit 1 41 | fi 42 | 43 | function xslt { 44 | FORMAT="$1" 45 | 46 | # cd into the docbook root directory, 47 | # otherwise we get wrong relative path in the translated document. 48 | pushd target/docbook 49 | 50 | "$JAVA" \ 51 | -cp ../../lib/saxon-9.3.0.5/saxon9he.jar:../../lib/xsl-2.0.3/lib/docbook-xsl2-saxon.jar \ 52 | net.sf.saxon.Transform \ 53 | -ext:on -xi:on -expand:on -warnings:fatal -versionmsg:on -strip:ignorable \ 54 | -init:docbook.Initializer \ 55 | '!indent=yes' \ 56 | -s:index.xml \ 57 | -xsl:../../src/xslt/$FORMAT.xsl \ 58 | -o:../$FORMAT/index.$FORMAT 59 | 60 | if [[ "$FORMAT" != "pdf" ]]; then 61 | cp -R ../../src/images ../$FORMAT 62 | fi 63 | 64 | popd 65 | } 66 | 67 | xslt html 68 | 69 | # PDF generation does not work yet 70 | xslt fo 71 | mkdir -p target/pdf 72 | lib/fop-1.0/fop target/fo/index.fo target/pdf/netty-book.pdf 73 | 74 | -------------------------------------------------------------------------------- /lib/README.md: -------------------------------------------------------------------------------- 1 | The latest DocBook 5.x schema is located at: 2 | 3 | * http://www.docbook.org/schemas/5x.html 4 | 5 | The latest DocBook XSLT 2 release is located at: 6 | 7 | * http://docbook.github.com/ 8 | 9 | The latest Saxon-HE is located at: 10 | 11 | * http://saxon.sourceforge.net/ 12 | 13 | The latest Apache FOP is located at: 14 | 15 | * http://xmlgraphics.apache.org/fop/ 16 | 17 | The latest MSV (Multi-Schema XML Validator) is located at: 18 | 19 | * http://msv.java.net/ 20 | 21 | -------------------------------------------------------------------------------- /lib/fop-1.0/KEYS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netty/netty-book/03d31bd25a582a592530a9d99f46c0bb9dfaf30c/lib/fop-1.0/KEYS -------------------------------------------------------------------------------- /lib/fop-1.0/NOTICE: -------------------------------------------------------------------------------- 1 | Apache FOP 2 | Copyright 1999-2010 The Apache Software Foundation 3 | 4 | This product includes software developed at 5 | The Apache Software Foundation (http://www.apache.org/). 6 | 7 | This software consists of voluntary contributions made by many individuals 8 | on behalf of The Apache Software Foundation and was originally created by 9 | James Tauber . 10 | 11 | -------------------------------------------------------------------------------- /lib/fop-1.0/build/fop.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netty/netty-book/03d31bd25a582a592530a9d99f46c0bb9dfaf30c/lib/fop-1.0/build/fop.jar -------------------------------------------------------------------------------- /lib/fop-1.0/fop.bat: -------------------------------------------------------------------------------- 1 | @ECHO OFF 2 | REM Licensed to the Apache Software Foundation (ASF) under one or more 3 | REM contributor license agreements. See the NOTICE file distributed with 4 | REM this work for additional information regarding copyright ownership. 5 | REM The ASF licenses this file to You under the Apache License, Version 2.0 6 | REM (the "License"); you may not use this file except in compliance with 7 | REM the License. You may obtain a copy of the License at 8 | REM 9 | REM http://www.apache.org/licenses/LICENSE-2.0 10 | REM 11 | REM Unless required by applicable law or agreed to in writing, software 12 | REM distributed under the License is distributed on an "AS IS" BASIS, 13 | REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | REM See the License for the specific language governing permissions and 15 | REM limitations under the License. 16 | REM $Id: fop.bat 960618 2010-07-05 15:05:55Z spepping $ 17 | 18 | rem %~dp0 is the expanded pathname of the current script under NT 19 | set LOCAL_FOP_HOME= 20 | if "%OS%"=="Windows_NT" set LOCAL_FOP_HOME=%~dp0 21 | 22 | rem Code from Apache Ant project 23 | rem Slurp the command line arguments. This loop allows for an unlimited number 24 | rem of arguments (up to the command line limit, anyway). 25 | rem Could also do a "shift" and "%*" for all params, but apparently doesn't work 26 | rem with Win9x. 27 | set FOP_CMD_LINE_ARGS=%1 28 | if ""%1""=="""" goto doneStart 29 | shift 30 | :setupArgs 31 | if ""%1""=="""" goto doneStart 32 | set FOP_CMD_LINE_ARGS=%FOP_CMD_LINE_ARGS% %1 33 | shift 34 | goto setupArgs 35 | rem This label provides a place for the argument list loop to break out 36 | rem and for NT handling to skip to. 37 | :doneStart 38 | 39 | set LOGCHOICE= 40 | rem The default commons logger for JDK1.4 is JDK1.4Logger. 41 | rem To use a different logger, uncomment the one desired below 42 | rem set LOGCHOICE=-Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.NoOpLog 43 | rem set LOGCHOICE=-Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.SimpleLog 44 | rem set LOGCHOICE=-Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Log4JLogger 45 | 46 | set LOGLEVEL= 47 | rem Logging levels 48 | rem Below option is only if you are using SimpleLog instead of the default JDK1.4 Logger. 49 | rem To set logging levels for JDK 1.4 Logger, edit the %JAVA_HOME%\JRE\LIB\logging.properties 50 | rem file instead. 51 | rem Possible SimpleLog values: "trace", "debug", "info" (default), "warn", "error", or "fatal". 52 | rem set LOGLEVEL=-Dorg.apache.commons.logging.simplelog.defaultlog=INFO 53 | 54 | set LIBDIR=%LOCAL_FOP_HOME%lib 55 | 56 | set LOCALCLASSPATH=%LOCAL_FOP_HOME%build\fop.jar 57 | set LOCALCLASSPATH=%LOCALCLASSPATH%;%LOCAL_FOP_HOME%build\fop-sandbox.jar 58 | set LOCALCLASSPATH=%LOCALCLASSPATH%;%LOCAL_FOP_HOME%build\fop-hyph.jar 59 | set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\xml-apis-1.3.04.jar 60 | set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\xml-apis-ext-1.3.04.jar 61 | set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\xercesImpl-2.7.1.jar 62 | set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\xalan-2.7.0.jar 63 | set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\serializer-2.7.0.jar 64 | set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\batik-all-1.7.jar 65 | set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\xmlgraphics-commons-1.4.jar 66 | set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\avalon-framework-4.2.0.jar 67 | set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\commons-io-1.3.1.jar 68 | set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\commons-logging-1.0.4.jar 69 | set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\jai_imageio.jar 70 | set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\fop-hyph.jar 71 | set LOCALCLASSPATH=%LOCALCLASSPATH%;%FOP_HYPHENATION_PATH% 72 | 73 | set JAVAOPTS=-Denv.windir=%WINDIR% 74 | 75 | if "%JAVA_HOME%" == "" goto noJavaHome 76 | if not exist "%JAVA_HOME%\bin\java.exe" goto noJavaHome 77 | if "%JAVACMD%" == "" set JAVACMD=%JAVA_HOME%\bin\java 78 | goto runFop 79 | 80 | :noJavaHome 81 | if "%JAVACMD%" == "" set JAVACMD=java 82 | 83 | :runFop 84 | rem ECHO "%JAVACMD%" %JAVAOPTS% %LOGCHOICE% %LOGLEVEL% -cp "%LOCALCLASSPATH%" %FOP_OPTS% org.apache.fop.cli.Main %FOP_CMD_LINE_ARGS% 85 | "%JAVACMD%" %JAVAOPTS% %LOGCHOICE% %LOGLEVEL% -cp "%LOCALCLASSPATH%" %FOP_OPTS% org.apache.fop.cli.Main %FOP_CMD_LINE_ARGS% 86 | -------------------------------------------------------------------------------- /lib/fop-1.0/fop.cmd: -------------------------------------------------------------------------------- 1 | @ECHO OFF 2 | REM Licensed to the Apache Software Foundation (ASF) under one or more 3 | REM contributor license agreements. See the NOTICE file distributed with 4 | REM this work for additional information regarding copyright ownership. 5 | REM The ASF licenses this file to You under the Apache License, Version 2.0 6 | REM (the "License"); you may not use this file except in compliance with 7 | REM the License. You may obtain a copy of the License at 8 | REM 9 | REM http://www.apache.org/licenses/LICENSE-2.0 10 | REM 11 | REM Unless required by applicable law or agreed to in writing, software 12 | REM distributed under the License is distributed on an "AS IS" BASIS, 13 | REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | REM See the License for the specific language governing permissions and 15 | REM limitations under the License. 16 | REM $Id: fop.cmd 697152 2008-09-19 17:01:03Z adelmelle $ 17 | 18 | SETLOCAL ENABLEDELAYEDEXPANSION 19 | 20 | rem %~dp0 is the expanded pathname of the current script under NT 21 | set LOCAL_FOP_HOME= 22 | if "%OS%"=="Windows_NT" set LOCAL_FOP_HOME=%~dp0 23 | 24 | rem Code from Apache Ant project 25 | rem Slurp the command line arguments. This loop allows for an unlimited number 26 | rem of arguments (up to the command line limit, anyway). 27 | rem Could also do a "shift" and "%*" for all params, but apparently doesn't work 28 | rem with Win9x. 29 | set FOP_CMD_LINE_ARGS=%1 30 | if ""%1""=="""" goto doneStart 31 | shift 32 | :setupArgs 33 | if ""%1""=="""" goto doneStart 34 | set FOP_CMD_LINE_ARGS=%FOP_CMD_LINE_ARGS% %1 35 | shift 36 | goto setupArgs 37 | rem This label provides a place for the argument list loop to break out 38 | rem and for NT handling to skip to. 39 | :doneStart 40 | 41 | set LOGCHOICE= 42 | rem The default commons logger for JDK1.4 is JDK1.4Logger. 43 | rem To use a different logger, uncomment the one desired below 44 | rem set LOGCHOICE=-Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.NoOpLog 45 | rem set LOGCHOICE=-Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.SimpleLog 46 | rem set LOGCHOICE=-Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Log4JLogger 47 | 48 | set LOGLEVEL= 49 | rem Logging levels 50 | rem Below option is only if you are using SimpleLog instead of the default JDK1.4 Logger. 51 | rem To set logging levels for JDK 1.4 Logger, edit the %JAVA_HOME%\JRE\LIB\logging.properties 52 | rem file instead. 53 | rem Possible SimpleLog values: "trace", "debug", "info" (default), "warn", "error", or "fatal". 54 | rem set LOGLEVEL=-Dorg.apache.commons.logging.simplelog.defaultlog=INFO 55 | 56 | set LIBDIR=%LOCAL_FOP_HOME%lib 57 | 58 | set LOCALCLASSPATH=%FOP_HYPHENATION_PATH% 59 | for %%l in (%LOCAL_FOP_HOME%build\*.jar %LIBDIR%\*.jar) do set LOCALCLASSPATH=!LOCALCLASSPATH!;%%l 60 | 61 | set JAVAOPTS=-Denv.windir=%WINDIR% 62 | 63 | if "%JAVA_HOME%" == "" goto noJavaHome 64 | if not exist "%JAVA_HOME%\bin\java.exe" goto noJavaHome 65 | if "%JAVACMD%" == "" set JAVACMD=%JAVA_HOME%\bin\java 66 | goto runFop 67 | 68 | :noJavaHome 69 | if "%JAVACMD%" == "" set JAVACMD=java 70 | 71 | :runFop 72 | rem echo "%JAVACMD%" %LOGCHOICE% %LOGLEVEL% -cp "%LOCALCLASSPATH%" org.apache.fop.cli.Main %FOP_CMD_LINE_ARGS% 73 | "%JAVACMD%" %JAVAOPTS% %LOGCHOICE% %LOGLEVEL% -cp "%LOCALCLASSPATH%" %FOP_OPTS% org.apache.fop.cli.Main %FOP_CMD_LINE_ARGS% 74 | 75 | ENDLOCAL 76 | -------------------------------------------------------------------------------- /lib/fop-1.0/lib/avalon-framework-4.2.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netty/netty-book/03d31bd25a582a592530a9d99f46c0bb9dfaf30c/lib/fop-1.0/lib/avalon-framework-4.2.0.jar -------------------------------------------------------------------------------- /lib/fop-1.0/lib/avalon-framework.NOTICE.TXT: -------------------------------------------------------------------------------- 1 | ========================================================================= 2 | == NOTICE file corresponding to the section 4 d of == 3 | == the Apache License, Version 2.0, == 4 | ========================================================================= 5 | 6 | This product is developed by the Apache Avalon Project. 7 | http://avalon.apache.org 8 | 9 | The names "Avalon" and "Merlin" must not be used to endorse or promote 10 | products derived from this software without prior written permission. 11 | For written permission, please contact pmc@avalon.apache.org. 12 | -------------------------------------------------------------------------------- /lib/fop-1.0/lib/batik-all-1.7.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netty/netty-book/03d31bd25a582a592530a9d99f46c0bb9dfaf30c/lib/fop-1.0/lib/batik-all-1.7.jar -------------------------------------------------------------------------------- /lib/fop-1.0/lib/batik.NOTICE.txt: -------------------------------------------------------------------------------- 1 | Apache Batik 2 | Copyright 1999-2007 The Apache Software Foundation 3 | 4 | This product includes software developed at 5 | The Apache Software Foundation (http://www.apache.org/). 6 | 7 | This software contains code from the World Wide Web Consortium (W3C) for the 8 | Document Object Model API (DOM API) and SVG Document Type Definition (DTD). 9 | 10 | This software contains code from the International Organisation for 11 | Standardization for the definition of character entities used in the software's 12 | documentation. 13 | 14 | This product includes images from the Tango Desktop Project 15 | (http://tango.freedesktop.org/). 16 | 17 | This product includes images from the Pasodoble Icon Theme 18 | (http://www.jesusda.com/projects/pasodoble). 19 | -------------------------------------------------------------------------------- /lib/fop-1.0/lib/commons-io-1.3.1.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netty/netty-book/03d31bd25a582a592530a9d99f46c0bb9dfaf30c/lib/fop-1.0/lib/commons-io-1.3.1.jar -------------------------------------------------------------------------------- /lib/fop-1.0/lib/commons-io.NOTICE.txt: -------------------------------------------------------------------------------- 1 | Apache Jakarta Commons IO 2 | Copyright 2001-2007 The Apache Software Foundation 3 | 4 | This product includes software developed by 5 | The Apache Software Foundation (http://www.apache.org/). 6 | 7 | -------------------------------------------------------------------------------- /lib/fop-1.0/lib/commons-logging-1.0.4.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netty/netty-book/03d31bd25a582a592530a9d99f46c0bb9dfaf30c/lib/fop-1.0/lib/commons-logging-1.0.4.jar -------------------------------------------------------------------------------- /lib/fop-1.0/lib/commons-logging.NOTICE.txt: -------------------------------------------------------------------------------- 1 | This product includes software developed by 2 | The Apache Software Foundation (http://www.apache.org/). 3 | 4 | -------------------------------------------------------------------------------- /lib/fop-1.0/lib/serializer-2.7.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netty/netty-book/03d31bd25a582a592530a9d99f46c0bb9dfaf30c/lib/fop-1.0/lib/serializer-2.7.0.jar -------------------------------------------------------------------------------- /lib/fop-1.0/lib/serializer.NOTICE.txt: -------------------------------------------------------------------------------- 1 | ========================================================================= 2 | == NOTICE file corresponding to section 4(d) of the Apache License, == 3 | == Version 2.0, in this case for the Apache Xalan serializer == 4 | == distribution. == 5 | ========================================================================= 6 | 7 | This product includes software developed by IBM Corporation (http://www.ibm.com) 8 | and The Apache Software Foundation (http://www.apache.org/). 9 | 10 | Portions of this software was originally based on the following: 11 | - software copyright (c) 1999-2002, Lotus Development Corporation., 12 | http://www.lotus.com. 13 | - software copyright (c) 2001-2002, Sun Microsystems., 14 | http://www.sun.com. 15 | - software copyright (c) 2003, IBM Corporation., http://www.ibm.com. 16 | -------------------------------------------------------------------------------- /lib/fop-1.0/lib/xalan-2.7.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netty/netty-book/03d31bd25a582a592530a9d99f46c0bb9dfaf30c/lib/fop-1.0/lib/xalan-2.7.0.jar -------------------------------------------------------------------------------- /lib/fop-1.0/lib/xalan.BCEL.LICENSE.txt: -------------------------------------------------------------------------------- 1 | Apache Software License, Version 1.1 2 | * 3 | * Copyright (c) 2001 The Apache Software Foundation. All rights 4 | * reserved. 5 | * 6 | * Redistribution and use in source and binary forms, with or without 7 | * modification, are permitted provided that the following conditions 8 | * are met: 9 | * 10 | * 1. Redistributions of source code must retain the above copyright 11 | * notice, this list of conditions and the following disclaimer. 12 | * 13 | * 2. Redistributions in binary form must reproduce the above copyright 14 | * notice, this list of conditions and the following disclaimer in 15 | * the documentation and/or other materials provided with the 16 | * distribution. 17 | * 18 | * 3. The end-user documentation included with the redistribution, 19 | * if any, must include the following acknowledgment: 20 | * "This product includes software developed by the 21 | * Apache Software Foundation (http://www.apache.org/)." 22 | * Alternately, this acknowledgment may appear in the software itself, 23 | * if and wherever such third-party acknowledgments normally appear. 24 | * 25 | * 4. The names "Apache" and "Apache Software Foundation" and 26 | * "Apache BCEL" must not be used to endorse or promote products 27 | * derived from this software without prior written permission. For 28 | * written permission, please contact apache@apache.org. 29 | * 30 | * 5. Products derived from this software may not be called "Apache", 31 | * "Apache BCEL", nor may "Apache" appear in their name, without 32 | * prior written permission of the Apache Software Foundation. 33 | * 34 | * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED 35 | * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 36 | * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 37 | * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR 38 | * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 39 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 40 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF 41 | * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 42 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 43 | * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT 44 | * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 45 | * SUCH DAMAGE. 46 | * ==================================================================== 47 | * 48 | * This software consists of voluntary contributions made by many 49 | * individuals on behalf of the Apache Software Foundation. For more 50 | * information on the Apache Software Foundation, please see 51 | * . 52 | */ 53 | -------------------------------------------------------------------------------- /lib/fop-1.0/lib/xalan.NOTICE.txt: -------------------------------------------------------------------------------- 1 | ========================================================================= 2 | == NOTICE file corresponding to section 4(d) of the Apache License, == 3 | == Version 2.0, in this case for the Apache Xalan distribution. == 4 | ========================================================================= 5 | 6 | This product includes software developed by 7 | The Apache Software Foundation (http://www.apache.org/). 8 | 9 | Portions of this software was originally based on the following: 10 | - software copyright (c) 1999-2002, Lotus Development Corporation., 11 | http://www.lotus.com. 12 | - software copyright (c) 2001-2002, Sun Microsystems., 13 | http://www.sun.com. 14 | - software copyright (c) 2003, IBM Corporation., http://www.ibm.com. 15 | - voluntary contributions made by Ovidiu Predescu on 16 | behalf of the Apache Software Foundation that was originally developed 17 | at Hewlett Packard Company. 18 | 19 | The binary distribution package (ie. jars, samples and documentation) of 20 | this product includes software developed by the following: 21 | 22 | - The Apache Software Foundation 23 | - Xerces Java - see xercesImpl.README.txt 24 | - JAXP 1.3 APIs - see xml-apis.README.txt 25 | - Bytecode Engineering Library - see BCEL.README.txt 26 | - Regular Expression - see regexp.README.txt 27 | 28 | - Scott Hudson, Frank Flannery, C. Scott Ananian 29 | - CUP Parser Generator runtime (javacup\runtime) - see runtime.README.txt 30 | 31 | 32 | The source distribution package (ie. all source and tools required to build 33 | Xalan Java) of this product includes software developed by the following: 34 | 35 | - The Apache Software Foundation 36 | - Xerces Java - see xercesImpl.README.txt 37 | - JAXP 1.3 APIs - see xml-apis.README.txt 38 | - Bytecode Engineering Library - see BCEL.README.txt 39 | - Regular Expression - see regexp.README.txt 40 | - Ant - see ant.README.txt 41 | - Stylebook doc tool - see stylebook-1.0-b3_xalan-2.README.txt 42 | 43 | - Elliot Joel Berk and C. Scott Ananian 44 | - Lexical Analyzer Generator (JLex) - see JLex.README.txt 45 | -------------------------------------------------------------------------------- /lib/fop-1.0/lib/xalan.regexp.LICENSE.txt: -------------------------------------------------------------------------------- 1 | Apache Software License, Version 1.1 2 | * 3 | * Copyright (c) 2001 The Apache Software Foundation. All rights 4 | * reserved. 5 | * 6 | * Redistribution and use in source and binary forms, with or without 7 | * modification, are permitted provided that the following conditions 8 | * are met: 9 | * 10 | * 1. Redistributions of source code must retain the above copyright 11 | * notice, this list of conditions and the following disclaimer. 12 | * 13 | * 2. Redistributions in binary form must reproduce the above copyright 14 | * notice, this list of conditions and the following disclaimer in 15 | * the documentation and/or other materials provided with the 16 | * distribution. 17 | * 18 | * 3. The end-user documentation included with the redistribution, 19 | * if any, must include the following acknowledgment: 20 | * "This product includes software developed by the 21 | * Apache Software Foundation (http://www.apache.org/)." 22 | * Alternately, this acknowledgment may appear in the software itself, 23 | * if and wherever such third-party acknowledgments normally appear. 24 | * 25 | * 4. The names "Apache" and "Apache Software Foundation" and 26 | * "Apache BCEL" must not be used to endorse or promote products 27 | * derived from this software without prior written permission. For 28 | * written permission, please contact apache@apache.org. 29 | * 30 | * 5. Products derived from this software may not be called "Apache", 31 | * "Apache BCEL", nor may "Apache" appear in their name, without 32 | * prior written permission of the Apache Software Foundation. 33 | * 34 | * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED 35 | * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 36 | * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 37 | * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR 38 | * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 39 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 40 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF 41 | * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 42 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 43 | * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT 44 | * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 45 | * SUCH DAMAGE. 46 | * ==================================================================== 47 | * 48 | * This software consists of voluntary contributions made by many 49 | * individuals on behalf of the Apache Software Foundation. For more 50 | * information on the Apache Software Foundation, please see 51 | * . 52 | */ 53 | -------------------------------------------------------------------------------- /lib/fop-1.0/lib/xalan.runtime.LICENSE.txt: -------------------------------------------------------------------------------- 1 | CUP Parser Generator Copyright Notice, License, and Disclaimer 2 | (runtime.jar component) 3 | 4 | Copyright 1996-1999 by Scott Hudson, Frank Flannery, C. Scott Ananian 5 | 6 | Permission to use, copy, modify, and distribute this software and its 7 | documentation for any purpose and without fee is hereby granted, provided 8 | that the above copyright notice appear in all copies and that both 9 | the copyright notice and this permission notice and warranty disclaimer 10 | appear in supporting documentation, and that the names of the authors 11 | or their employers not be used in advertising or publicity pertaining 12 | to distribution of the software without specific, written prior permission. 13 | 14 | The authors and their employers disclaim all warranties with regard to 15 | this software, including all implied warranties of merchantability 16 | and fitness. In no event shall the authors or their employers be liable 17 | for any special, indirect or consequential damages or any damages 18 | whatsoever resulting from loss of use, data or profits, whether in an action 19 | of contract, negligence or other tortious action, arising out of or 20 | in connection with the use or performance of this software. 21 | -------------------------------------------------------------------------------- /lib/fop-1.0/lib/xerces.LICENSE.txt: -------------------------------------------------------------------------------- 1 | /* 2 | * The Apache Software License, Version 1.1 3 | * 4 | * 5 | * Copyright (c) 1999 The Apache Software Foundation. All rights 6 | * reserved. 7 | * 8 | * Redistribution and use in source and binary forms, with or without 9 | * modification, are permitted provided that the following conditions 10 | * are met: 11 | * 12 | * 1. Redistributions of source code must retain the above copyright 13 | * notice, this list of conditions and the following disclaimer. 14 | * 15 | * 2. Redistributions in binary form must reproduce the above copyright 16 | * notice, this list of conditions and the following disclaimer in 17 | * the documentation and/or other materials provided with the 18 | * distribution. 19 | * 20 | * 3. The end-user documentation included with the redistribution, 21 | * if any, must include the following acknowledgment: 22 | * "This product includes software developed by the 23 | * Apache Software Foundation (http://www.apache.org/)." 24 | * Alternately, this acknowledgment may appear in the software itself, 25 | * if and wherever such third-party acknowledgments normally appear. 26 | * 27 | * 4. The names "Xerces" and "Apache Software Foundation" must 28 | * not be used to endorse or promote products derived from this 29 | * software without prior written permission. For written 30 | * permission, please contact apache@apache.org. 31 | * 32 | * 5. Products derived from this software may not be called "Apache", 33 | * nor may "Apache" appear in their name, without prior written 34 | * permission of the Apache Software Foundation. 35 | * 36 | * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED 37 | * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 38 | * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 39 | * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR 40 | * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 41 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 42 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF 43 | * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 44 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 45 | * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT 46 | * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 47 | * SUCH DAMAGE. 48 | * ==================================================================== 49 | * 50 | * This software consists of voluntary contributions made by many 51 | * individuals on behalf of the Apache Software Foundation and was 52 | * originally based on software copyright (c) 1999, International 53 | * Business Machines, Inc., http://www.ibm.com. For more 54 | * information on the Apache Software Foundation, please see 55 | * . 56 | */ 57 | -------------------------------------------------------------------------------- /lib/fop-1.0/lib/xercesImpl-2.7.1.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netty/netty-book/03d31bd25a582a592530a9d99f46c0bb9dfaf30c/lib/fop-1.0/lib/xercesImpl-2.7.1.jar -------------------------------------------------------------------------------- /lib/fop-1.0/lib/xercesImpl.NOTICE.txt: -------------------------------------------------------------------------------- 1 | ========================================================================= 2 | == NOTICE file corresponding to section 4(d) of the Apache License, == 3 | == Version 2.0, in this case for the Apache Xerces distribution. == 4 | ========================================================================= 5 | 6 | This product includes software developed by 7 | The Apache Software Foundation (http://www.apache.org/). 8 | 9 | Portions of this software were originally based on the following: 10 | - software copyright (c) 1999, IBM Corporation., http://www.ibm.com. 11 | - software copyright (c) 1999, Sun Microsystems., http://www.sun.com. 12 | - voluntary contributions made by Paul Eng on behalf of the 13 | Apache Software Foundation that were originally developed at iClick, Inc., 14 | software copyright (c) 1999. -------------------------------------------------------------------------------- /lib/fop-1.0/lib/xml-apis-1.3.04.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netty/netty-book/03d31bd25a582a592530a9d99f46c0bb9dfaf30c/lib/fop-1.0/lib/xml-apis-1.3.04.jar -------------------------------------------------------------------------------- /lib/fop-1.0/lib/xml-apis-ext-1.3.04.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netty/netty-book/03d31bd25a582a592530a9d99f46c0bb9dfaf30c/lib/fop-1.0/lib/xml-apis-ext-1.3.04.jar -------------------------------------------------------------------------------- /lib/fop-1.0/lib/xml-apis-ext.LICENSE.dom-documentation.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netty/netty-book/03d31bd25a582a592530a9d99f46c0bb9dfaf30c/lib/fop-1.0/lib/xml-apis-ext.LICENSE.dom-documentation.txt -------------------------------------------------------------------------------- /lib/fop-1.0/lib/xml-apis-ext.LICENSE.dom-software.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netty/netty-book/03d31bd25a582a592530a9d99f46c0bb9dfaf30c/lib/fop-1.0/lib/xml-apis-ext.LICENSE.dom-software.txt -------------------------------------------------------------------------------- /lib/fop-1.0/lib/xml-apis-ext.LICENSE.sac.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netty/netty-book/03d31bd25a582a592530a9d99f46c0bb9dfaf30c/lib/fop-1.0/lib/xml-apis-ext.LICENSE.sac.html -------------------------------------------------------------------------------- /lib/fop-1.0/lib/xml-apis-ext.NOTICE.txt: -------------------------------------------------------------------------------- 1 | ========================================================================= 2 | == NOTICE file corresponding to section 4(d) of the Apache License, == 3 | == Version 2.0, in this case for the Apache xml-commons xml-apis == 4 | == distribution. == 5 | ========================================================================= 6 | 7 | Apache XML Commons XML APIs 8 | Copyright 2006 The Apache Software Foundation. 9 | 10 | This product includes software developed at 11 | The Apache Software Foundation (http://www.apache.org/). 12 | 13 | Portions of this software were originally based on the following: 14 | - software copyright (c) 1999, IBM Corporation., http://www.ibm.com. 15 | - software copyright (c) 1999, Sun Microsystems., http://www.sun.com. 16 | - software copyright (c) 2000 World Wide Web Consortium, http://www.w3.org 17 | -------------------------------------------------------------------------------- /lib/fop-1.0/lib/xml-apis-ext.README.dom.txt: -------------------------------------------------------------------------------- 1 | xml-commons/java/external/README.dom.txt $Id: README.dom.txt 477038 2006-11-20 04:40:36Z mrglavas $ 2 | 3 | 4 | HEAR YE, HEAR YE! 5 | 6 | 7 | All of the .java software and associated documentation about 8 | the DOM in this repository are distributed under the license 9 | from the W3C, which is provided herein. 10 | 11 | 12 | LICENSE.dom-software.txt covers all software from the W3C 13 | including the following items in the xml-commons project: 14 | 15 | xml-commons/java/external/src/org/w3c 16 | and all subdirectories 17 | 18 | (Note: SAC (The Simple API for CSS) has been published under an older 19 | version of the W3C license. The original license file is LICENSE.sac.html.) 20 | 21 | LICENSE.dom-documentation.txt covers all documentation from the W3C 22 | including the following items in the xml-commons project: 23 | 24 | xml-commons/java/external/xdocs/dom 25 | and all subdirectories 26 | 27 | The actual DOM Java Language Binding classes in xml-commons came from: 28 | http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/java-binding.html 29 | 30 | The specification of DOM Level 3's various parts is at: 31 | http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/ 32 | http://www.w3.org/TR/2004/REC-DOM-Level-3-LS-20040407/ 33 | http://www.w3.org/TR/2004/NOTE-DOM-Level-3-XPath-20040226/ 34 | 35 | The specification of DOM Level 2's various parts is at: 36 | http://www.w3.org/TR/2000/REC-DOM-Level-2-Events-20001113/ 37 | http://www.w3.org/TR/2000/REC-DOM-Level-2-Style-20001113/ 38 | http://www.w3.org/TR/2000/REC-DOM-Level-2-Traversal-Range-20001113/ 39 | http://www.w3.org/TR/2000/REC-DOM-Level-2-Views-20001113/ 40 | 41 | The specification of DOM Level 1's various parts is at: 42 | http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html.html 43 | 44 | Links to all available W3C DOM Java Bindings can be found at: 45 | http://www.w3.org/DOM/DOMTR 46 | 47 | The actual classes of The Simple API for CSS (SAC) came from: 48 | http://www.w3.org/Style/CSS/SAC/ 49 | http://www.w3.org/2002/06/sacjava-1.3.zip 50 | 51 | The actual DOM Java Language Binding classes for SMIL came from: 52 | http://dev.w3.org/cvsweb/java/classes/org/w3c/dom/smil/ 53 | (both ElementTimeControl.java and TimeEvent.java were taken at revision 1.1) 54 | 55 | The actual DOM Java Language Binding classes for SVG 1.1 came from: 56 | http://www.w3.org/TR/SVG11/java.html -------------------------------------------------------------------------------- /lib/fop-1.0/lib/xml-apis.LICENSE-SAX.html: -------------------------------------------------------------------------------- 1 | 2 | SAX LICENSE 3 | 4 |

This license applies to all interfaces and classes in the 5 | org/xml/sax hierarchy. 6 |

7 |

8 |

9 | This module, both source code and documentation, is in the 10 | Public Domain, and comes with NO WARRANTY. 11 | See http://www.saxproject.org 12 | for further information. 13 |
14 |

15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /lib/fop-1.0/lib/xml-apis.LICENSE.DOM-documentation.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netty/netty-book/03d31bd25a582a592530a9d99f46c0bb9dfaf30c/lib/fop-1.0/lib/xml-apis.LICENSE.DOM-documentation.html -------------------------------------------------------------------------------- /lib/fop-1.0/lib/xml-apis.LICENSE.DOM-software.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netty/netty-book/03d31bd25a582a592530a9d99f46c0bb9dfaf30c/lib/fop-1.0/lib/xml-apis.LICENSE.DOM-software.html -------------------------------------------------------------------------------- /lib/fop-1.0/lib/xml-apis.NOTICE.txt: -------------------------------------------------------------------------------- 1 | ========================================================================= 2 | == NOTICE file corresponding to section 4(d) of the Apache License, == 3 | == Version 2.0, in this case for the Apache xml-commons xml-apis == 4 | == distribution. == 5 | ========================================================================= 6 | 7 | This product includes software developed by The Apache Software Foundation 8 | (http://www.apache.org/). 9 | 10 | Portions of this software were originally based on the following: 11 | - software copyright (c) 1999, IBM Corporation., http://www.ibm.com. 12 | - software copyright (c) 1999, Sun Microsystems., http://www.sun.com. 13 | - software copyright (c) 2000 World Wide Web Consortium, http://www.w3.org 14 | -------------------------------------------------------------------------------- /lib/fop-1.0/lib/xmlgraphics-commons-1.4.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netty/netty-book/03d31bd25a582a592530a9d99f46c0bb9dfaf30c/lib/fop-1.0/lib/xmlgraphics-commons-1.4.jar -------------------------------------------------------------------------------- /lib/fop-1.0/lib/xmlgraphics-commons.NOTICE.txt: -------------------------------------------------------------------------------- 1 | Apache XML Graphics Commons 2 | Copyright 2006-2007 The Apache Software Foundation 3 | 4 | This product includes software developed at 5 | The Apache Software Foundation (http://www.apache.org/). 6 | -------------------------------------------------------------------------------- /lib/relames-20060319/Apache-LICENSE-1.1.txt: -------------------------------------------------------------------------------- 1 | /* ==================================================================== 2 | * The Apache Software License, Version 1.1 3 | * 4 | * Copyright (c) 2000 The Apache Software Foundation. All rights 5 | * reserved. 6 | * 7 | * Redistribution and use in source and binary forms, with or without 8 | * modification, are permitted provided that the following conditions 9 | * are met: 10 | * 11 | * 1. Redistributions of source code must retain the above copyright 12 | * notice, this list of conditions and the following disclaimer. 13 | * 14 | * 2. Redistributions in binary form must reproduce the above copyright 15 | * notice, this list of conditions and the following disclaimer in 16 | * the documentation and/or other materials provided with the 17 | * distribution. 18 | * 19 | * 3. The end-user documentation included with the redistribution, 20 | * if any, must include the following acknowledgment: 21 | * "This product includes software developed by the 22 | * Apache Software Foundation (http://www.apache.org/)." 23 | * Alternately, this acknowledgment may appear in the software itself, 24 | * if and wherever such third-party acknowledgments normally appear. 25 | * 26 | * 4. The names "Apache" and "Apache Software Foundation" must 27 | * not be used to endorse or promote products derived from this 28 | * software without prior written permission. For written 29 | * permission, please contact apache@apache.org. 30 | * 31 | * 5. Products derived from this software may not be called "Apache", 32 | * nor may "Apache" appear in their name, without prior written 33 | * permission of the Apache Software Foundation. 34 | * 35 | * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED 36 | * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 37 | * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 38 | * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR 39 | * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 40 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 41 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF 42 | * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 43 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 44 | * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT 45 | * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 46 | * SUCH DAMAGE. 47 | * ==================================================================== 48 | * 49 | * This software consists of voluntary contributions made by many 50 | * individuals on behalf of the Apache Software Foundation. For more 51 | * information on the Apache Software Foundation, please see 52 | * . 53 | * 54 | * Portions of this software are based upon public domain software 55 | * originally written at the National Center for Supercomputing Applications, 56 | * University of Illinois, Urbana-Champaign. 57 | */ 58 | 59 | -------------------------------------------------------------------------------- /lib/relames-20060319/copyright.txt: -------------------------------------------------------------------------------- 1 | Copyright 2001-2006 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, 2 | California, 94303, U.S.A. All rights reserved. 3 | 4 | Sun Microsystems, Inc. has intellectual property rights relating to 5 | technology embodied in this product. In particular, and without 6 | limitation, these intellectual property rights may include one or more 7 | of the U.S. patents listed at http://www.sun.com/patents and one or 8 | more additional patents or pending patent applications in the U.S. and 9 | other countries. This product is distributed under licenses 10 | restricting its use, copying, distribution, and decompilation. No part 11 | of this product may be reproduced in any form by any means without 12 | prior written authorization of Sun and its licensors, if any. Third 13 | party software, including font technology, is copyrighted and licensed 14 | from Sun suppliers. Sun, the Sun logo, and Sun Microsystems are 15 | trademarks or registered trademarks of Sun Microsystems, Inc. in the 16 | U.S. and other countries. This product includes software developed by 17 | the Apache Software Foundation (http://www.apache.org/). Federal 18 | Acquisitions: Commercial Software - Government Users Subject to 19 | Standard License Terms and Conditions. 20 | 21 | ---------------------------------------------------------------------- 22 | 23 | Copyright 2001-2006 Sun Microsystems, Inc., 901 San Antonio Road, Palo 24 | Alto, Californie 94303 ?tats-Unis. Tous droits r?serv?s. Distribue? 25 | par des licences qui en restreignent l'utilisation. Sun Microsystems, 26 | Inc. a les droits de propri?t? intellectuels relatants ? la 27 | technologie incorpor?e dans ce produit. En particulier, et sans la 28 | limitation, ces droits de propri?t? intellectuels peuvent inclure un 29 | ou plus des brevets am?ricains ?num?r?s ? http://www.sun.com/patents 30 | et un ou les brevets plus suppl?mentaires ou les applications de 31 | brevet en attente dans les Etats Unis et les autres pays. Ce produit 32 | ou document est prot?g? par un copyright et distribu? avec des 33 | licences qui en restreignent l'utilisation, la copie, la distribution, 34 | et la d?compilation. Aucune partie de ce produit ou document ne peut 35 | ?tre reproduite sous aucune forme, par quelque moyen que ce soit, sans 36 | l'autorisation pr?alable et ?crite de Sun et de ses bailleurs de 37 | licence, s'il y en a. Le logiciel d?tenu par des tiers, et qui 38 | comprend la technologie relative aux polices de caract?res, est 39 | prot?g? par un copyright et licenci? par des fournisseurs de Sun. Sun, 40 | le logo Sun, Sun Microsystems et sont des marques de fabrique ou des 41 | marques d?pos?es de Sun Microsystems, Inc. aux Etats-Unis et dans 42 | d'autres pays. Ce produit inclut le logiciel d?velopp? par la base de 43 | Apache Software Foundation (http://www.apache.org/). L'accord du 44 | gouvernement des ?tats Unis est requis avant l'exportation du produit. 45 | -------------------------------------------------------------------------------- /lib/relames-20060319/isorelax.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netty/netty-book/03d31bd25a582a592530a9d99f46c0bb9dfaf30c/lib/relames-20060319/isorelax.jar -------------------------------------------------------------------------------- /lib/relames-20060319/msv.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netty/netty-book/03d31bd25a582a592530a9d99f46c0bb9dfaf30c/lib/relames-20060319/msv.jar -------------------------------------------------------------------------------- /lib/relames-20060319/relames.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netty/netty-book/03d31bd25a582a592530a9d99f46c0bb9dfaf30c/lib/relames-20060319/relames.jar -------------------------------------------------------------------------------- /lib/relames-20060319/relaxngDatatype.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netty/netty-book/03d31bd25a582a592530a9d99f46c0bb9dfaf30c/lib/relames-20060319/relaxngDatatype.jar -------------------------------------------------------------------------------- /lib/relames-20060319/xalan.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netty/netty-book/03d31bd25a582a592530a9d99f46c0bb9dfaf30c/lib/relames-20060319/xalan.jar -------------------------------------------------------------------------------- /lib/relames-20060319/xercesImpl.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netty/netty-book/03d31bd25a582a592530a9d99f46c0bb9dfaf30c/lib/relames-20060319/xercesImpl.jar -------------------------------------------------------------------------------- /lib/relames-20060319/xmlParserAPIs.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netty/netty-book/03d31bd25a582a592530a9d99f46c0bb9dfaf30c/lib/relames-20060319/xmlParserAPIs.jar -------------------------------------------------------------------------------- /lib/relames-20060319/xsdlib.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netty/netty-book/03d31bd25a582a592530a9d99f46c0bb9dfaf30c/lib/relames-20060319/xsdlib.jar -------------------------------------------------------------------------------- /lib/saxon-9.3.0.5/saxon9he.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netty/netty-book/03d31bd25a582a592530a9d99f46c0bb9dfaf30c/lib/saxon-9.3.0.5/saxon9he.jar -------------------------------------------------------------------------------- /lib/xsl-2.0.3/README.md: -------------------------------------------------------------------------------- 1 | # DocBook XSLT 2.0 Stylesheets 2 | 3 | These are the XSLT 2.0 stylesheets for DocBook. These stylesheets 4 | represent a different line of development from the XSLT 1.0 5 | stylesheets 6 | [maintained at SourceForge.net](http://sourceforge.net/projects/docbook/). 7 | 8 | That said, they are clearly derived from that work, so tip o' the hat 9 | to everyone who's helped over there. And a special nod to Jirka Kosek 10 | who did a lot of work on the XSLT 2.0 FO stylesheets. 11 | 12 | Although I've been using the 2.0 stylesheets almost exclusively for 13 | more than a year, they have only very recently had any sort of public 14 | release. There are probably bugs. 15 | 16 | Releases are published at [docbook.github.com](http://docbook.github.com/). 17 | 18 | Resources (CSS, JavaScript, images, etc.) are maintained in 19 | [a separate repository](https://github.com/docbook/xslt20-resources). 20 | 21 | Share and enjoy 22 | -------------------------------------------------------------------------------- /lib/xsl-2.0.3/docs/AUTHORS: -------------------------------------------------------------------------------- 1 | The DocBook XSL2 stylesheets are maintained by Norman Walsh 2 | and members of the DocBook Project 3 | 4 | -------------------------------------------------------------------------------- /lib/xsl-2.0.3/docs/BUGS: -------------------------------------------------------------------------------- 1 | For information about open DocBook XSL2 stylesheets bugs, see the 2 | following: 3 | 4 | http://sourceforge.net/tracker/?atid=373747&group_id=21935&func=browse 5 | http://sourceforge.net/tracker/?atid=516914&group_id=21935&func=browse 6 | -------------------------------------------------------------------------------- /lib/xsl-2.0.3/docs/COPYING: -------------------------------------------------------------------------------- 1 | Copyright 2 | --------- 3 | 4 | Copyright (C) 2005 Norman Walsh 5 | 6 | Permission is hereby granted, free of charge, to any person 7 | obtaining a copy of this software and associated documentation 8 | files (the ``Software''), to deal in the Software without 9 | restriction, including without limitation the rights to use, 10 | copy, modify, merge, publish, distribute, sublicense, and/or 11 | sell copies of the Software, and to permit persons to whom the 12 | Software is furnished to do so, subject to the following 13 | conditions: 14 | 15 | The above copyright notice and this permission notice shall be 16 | included in all copies or substantial portions of the Software. 17 | 18 | Except as contained in this notice, the names of individuals 19 | credited with contribution to this software shall not be used in 20 | advertising or otherwise to promote the sale, use or other 21 | dealings in this Software without prior written authorization 22 | from the individuals in question. 23 | 24 | Any stylesheet derived from this Software that is publically 25 | distributed will be identified with a different name and the 26 | version strings in any derived Software will be changed so that 27 | no possibility of confusion between the derived package and this 28 | Software will exist. 29 | 30 | Warranty 31 | -------- 32 | 33 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 34 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES 35 | OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 36 | NONINFRINGEMENT. IN NO EVENT SHALL NORMAN WALSH OR ANY OTHER 37 | CONTRIBUTOR BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 38 | WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 39 | FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 40 | OTHER DEALINGS IN THE SOFTWARE. 41 | 42 | Contacting the Author 43 | --------------------- 44 | 45 | These stylesheets are maintained by Norman Walsh 46 | and members of the DocBook Project 47 | -------------------------------------------------------------------------------- /lib/xsl-2.0.3/docs/INSTALL: -------------------------------------------------------------------------------- 1 | $Id: INSTALL 5204 2005-10-03 06:40:42Z xmldoc $ 2 | 3 | INSTALL file for the DocBook XSL2 stylesheets distribution 4 | 5 | ---------------------------------------------------------------------- 6 | Case #1: Installation using a package management system 7 | ---------------------------------------------------------------------- 8 | If you have installed the DocBook XSL2 distribution using "apt-get", 9 | "yum", "urpmi", or some similar package-management front-end, 10 | then, as part of the package installation, the stylesheets have 11 | already been automatically installed in the appropriate location 12 | for your system, and your XML catalog environment has probably 13 | been updated to use that location. 14 | 15 | ---------------------------------------------------------------------- 16 | Case #2: Installing manually 17 | ---------------------------------------------------------------------- 18 | If you have downloaded a docbook-xsl2 zip, tar.gz, or tar.bz2 19 | file, use the following steps to install it. 20 | 21 | 1. Move the zip, tar.gz, or tar.bz2 file to the directory where 22 | you'd like to install it (not to a temporary directory). 23 | 24 | 2. unzip or untar/uncompress the file 25 | 26 | That will create a docbook-xsl2-$VERSION directory (where 27 | $VERSION is the version number for the release). 28 | 29 | The remaining steps are all OPTIONAL. They are intended to 30 | automatically update your user environment with XML Catalog 31 | information about the DocBook XSL2 distribution. You are NOT 32 | REQUIRED to complete these remaining steps. However, if you do 33 | not, and you want to use XML catalogs with the DocBook XSL2 34 | stylesheets, you will need to manually update your XML catalog 35 | environment 36 | 37 | 3. Change to the docbook-xsl2-$VERSION directory and execute the 38 | install.sh script: 39 | 40 | ./install.sh 41 | 42 | That will launch an interactive installer, which will emit a 43 | series of prompts for you to respond to. After the process is 44 | complete, the installer will emit a message with a command 45 | you need to run in order to source your environment for use 46 | with the stylesheets. 47 | 48 | 4. To test that he installation has updated your environment 49 | correctly, execute the test.sh script: 50 | 51 | ./test.sh 52 | 53 | That will test your XML catalog environment, using both the 54 | xmlcatalog application and the Apache XML Commons Resolver. 55 | 56 | NOTE: The test.sh file is not created until the install.sh 57 | file is run for the first time. So you need to run the 58 | install.sh script before running the test.sh script. 59 | 60 | 5. (UNINSTALLING) If/when you want to uninstall the release, 61 | execute the uninstall.sh script. 62 | 63 | ./uninstall.sh 64 | 65 | That will revert all changes made by the install.sh script. 66 | 67 | NOTE: The uninstall.sh file is not created until the install.sh 68 | file is run for the first time. So you need to run the 69 | 70 | 71 | ---------------------------------------------------------------------- 72 | Note to packagers 73 | ---------------------------------------------------------------------- 74 | The install.sh, .CatalogManager.properties.example, and .urilist 75 | files should not be packaged. They are useful only to users who 76 | are installing the stylesheets manually. 77 | 78 | The catalog.xml file should be packaged. 79 | -------------------------------------------------------------------------------- /lib/xsl-2.0.3/docs/NOTES: -------------------------------------------------------------------------------- 1 | Modes go in m: (http://docbook.org/xslt/ns/mode) 2 | Private modes go in mp: (http://docbook.org/xslt/ns/mode/private) 3 | 4 | Functions go in f: (http://docbook.org/xslt/ns/extension) 5 | Private functions go in fp: (http://docbook.org/xslt/ns/extension/private) 6 | 7 | Templates go in t: (http://docbook.org/xslt/ns/template) 8 | Private templates go in tp: (http://docbook.org/xslt/ns/template/private) 9 | 10 | Named templates have '-'s not '.'s 11 | 12 | Use tools/doccheck.xsl to check for documentation problems 13 | 14 | Use tools/writetests to run the unit tests: 15 | 16 | 1. Process html/docbook.xsl with tools/writetests.xsl using Saxon 8b 17 | (you need 8.4 patched). This will produce a stylesheet, tests.xsl 18 | 19 | 2. Process tests.xsl with any input you want. This will produce an HTML 20 | summary of the unit tests. 21 | 22 | Norm's notes to himself: 23 | 24 | - Consider making contextual, so an index in a part, for example, 25 | can index just that part. 26 | 27 | 28 | -------------------------------------------------------------------------------- /lib/xsl-2.0.3/docs/RELEASENOTES.html: -------------------------------------------------------------------------------- 1 | Release Notes

Release Notes

This document summarizes the significant changes since the 2.0.2 2 | release. There's nothing significant about the order in which they're listed.

That said: the big one is first.

  1. Converted 3 | a number of div elements into more semantic HTML5 elements (article, 4 | section, etc.). 5 |

  2. Fixed lineannotation formatting. 6 |

  3. Added localization template for annotation titles. 7 | Fixed 8 | bugs in annotation support. 9 |

  4. Added 10 | a default.table.column.widths 11 | parameter to allow a user to suppress default column widths when none 12 | are specified in the DocBook (CALS) table. 13 | In an effort to make it easier to control table style with CSS, 14 | added 15 | a “tcoln” class to each table 16 | column. 17 |

  5. Added 18 | support for plugins (and other mechanisms) to load localization data in MarkLogic server. 19 |

  6. Fiddled 20 | with nesting of divs in chunks to better support CSS styling of the footer. 21 |

  7. Greatly improved chunking 22 | performance. 23 |

  8. Fixed bug where sections would sometimes be labelled even 24 | if they didn't appear in autolabel.elements. 25 |

  9. Removed massive 26 | i18n.xml and i18ndata.xsl files; dynamically 27 | load individual locales when needed. 28 |

  10. Removed 29 | about:legacy-compat doctype as it borks XML parsers. 30 |

  11. Fixed 31 | github 32 | issue 2, 33 | empty title causes infinite loop. 34 |

  12. Fixed link processing. 35 |

  13. Tinkered with 36 | with CSS/JS templates for customizing; added html5.js for IE. 37 |

  14. Rearranged 38 | the way chunks are handled so that the whole document is available for 39 | cross references even when only the selected chunk (rootid) is 40 | processed 41 |

  15. Changed 42 | condition for title foil slides to accomodate new content model in slides: 43 | (foil|foilgroup)+. 44 |

  16. Always use 45 | ul for tables of contents, dls without any dd 46 | are not valid in HTML5 47 |

  17. Treat 48 | HTML table caption as title for the purposes of cross references. 49 |

-------------------------------------------------------------------------------- /lib/xsl-2.0.3/docs/RELEASENOTES.xml: -------------------------------------------------------------------------------- 1 |
4 | Release Notes 5 | 6 | This document summarizes the significant changes since the 2.0.2 7 | release. There's nothing significant about the order in which they're listed. 8 | 9 | That said: the big one is first. 10 | 11 | 12 | 13 | Converted 14 | a number of div elements into more semantic HTML5 elements (article, 15 | section, etc.). 16 | 17 | 18 | 19 | Fixed lineannotation formatting. 20 | 21 | 22 | 23 | Added localization template for annotation titles. 24 | Fixed 25 | bugs in annotation support. 26 | 27 | 28 | 29 | Added 30 | a default.table.column.widths 31 | parameter to allow a user to suppress default column widths when none 32 | are specified in the DocBook (CALS) table. 33 | In an effort to make it easier to control table style with CSS, 34 | added 35 | a “tcoln” class to each table 36 | column. 37 | 38 | 39 | 40 | Added 41 | support for plugins (and other mechanisms) to load localization data in MarkLogic server. 42 | 43 | 44 | 45 | Fiddled 46 | with nesting of divs in chunks to better support CSS styling of the footer. 47 | 48 | 49 | 50 | Greatly improved chunking 51 | performance. 52 | 53 | 54 | 55 | Fixed bug where sections would sometimes be labelled even 56 | if they didn't appear in autolabel.elements. 57 | 58 | 59 | 60 | Removed massive 61 | i18n.xml and i18ndata.xsl files; dynamically 62 | load individual locales when needed. 63 | 64 | 65 | 66 | Removed 67 | about:legacy-compat doctype as it borks XML parsers. 68 | 69 | 70 | 71 | Fixed 72 | github 73 | issue 2, 74 | empty title causes infinite loop. 75 | 76 | 77 | 78 | Fixed link processing. 79 | 80 | 81 | 82 | Tinkered with 83 | with CSS/JS templates for customizing; added html5.js for IE. 84 | 85 | 86 | 87 | Rearranged 88 | the way chunks are handled so that the whole document is available for 89 | cross references even when only the selected chunk (rootid) is 90 | processed 91 | 92 | 93 | 94 | Changed 95 | condition for title foil slides to accomodate new content model in slides: 96 | (foil|foilgroup)+. 97 | 98 | 99 | 100 | Always use 101 | ul for tables of contents, dls without any dd 102 | are not valid in HTML5 103 | 104 | 105 | 106 | Treat 107 | HTML table caption as title for the purposes of cross references. 108 | 109 | 110 | 111 |
112 | -------------------------------------------------------------------------------- /lib/xsl-2.0.3/lib/docbook-xsl2-saxon.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netty/netty-book/03d31bd25a582a592530a9d99f46c0bb9dfaf30c/lib/xsl-2.0.3/lib/docbook-xsl2-saxon.jar -------------------------------------------------------------------------------- /lib/xsl-2.0.3/xslt/base/VERSION.xsl: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /lib/xsl-2.0.3/xslt/base/common/control.xsl: -------------------------------------------------------------------------------- 1 | 2 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | ID ' 23 | 24 | ' not found in document. 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | Aborts processing if the root element is inappropriate 66 | 67 | 68 | This template is called if the stylesheet detects that the root 69 | element (or the element selected for processing with 70 | rootid) is not an appropriate root element. 71 | 72 | 73 | 74 | 75 | Does not return. 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | Error: document root element ( 84 | 85 | 86 | , $rootid= 87 | 88 | 89 | ) 90 | 91 | must be one of the following elements: 92 | 94 | , or 95 | 96 | . 97 | 98 | 99 | 100 | 101 | 102 | -------------------------------------------------------------------------------- /lib/xsl-2.0.3/xslt/base/common/footnotes.xsl: -------------------------------------------------------------------------------- 1 | 2 | 12 | 13 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 33 | 34 | 35 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | -------------------------------------------------------------------------------- /lib/xsl-2.0.3/xslt/base/common/marklogic.xqy: -------------------------------------------------------------------------------- 1 | xquery version "1.0-ml"; 2 | 3 | module namespace dbml="http://docbook.github.com/ns/marklogic"; 4 | 5 | import module namespace plugin="http://marklogic.com/extension/plugin" 6 | at "/MarkLogic/plugin/plugin.xqy"; 7 | 8 | declare namespace l="http://docbook.sourceforge.net/xmlns/l10n/1.0"; 9 | 10 | declare default function namespace "http://www.w3.org/2005/xpath-functions"; 11 | 12 | declare option xdmp:mapping "false"; 13 | 14 | (: ============================================================ 15 | 16 | This module provides functions for loading locales for MarkLogic server. 17 | 18 | 1. The easiest option is to install the localization plugins in 19 | Assets/plugins/docbook. 20 | 21 | 2. You can specify the $dbml:database and dbml:path where locales 22 | are installed in a database. The caller must have xdmp:eval privs 23 | if you specify a $dbml:database; otherwise the locales must be 24 | in the database associated with the appserver. 25 | 26 | 3. You can specify the $dbml:filesystem-path where they can be loaded 27 | with xdmp:document-get. The caller must have privs for that too. 28 | 29 | If none of these options is useful, you can override the f:check-locale 30 | and f:load-locale functions in an XSLT customization and the the data 31 | from anywhere you wish. 32 | 33 | ============================================================ :) 34 | 35 | 36 | declare variable $dbml:debug := false(); 37 | declare variable $dbml:database := (); 38 | declare variable $dbml:path := "/locales"; 39 | declare variable $dbml:filesystem-path := "/MarkLogic/Modules/DocBook/base/common/locales"; 40 | 41 | (: I don't know if loading the plugin is expensive, but cache the results anyway :) 42 | declare private variable $dbml:locale-map := map:map(); 43 | 44 | declare private function dbml:_load-locale-plugin( 45 | $lang as xs:string 46 | ) as element(l:l10n)? 47 | { 48 | let $trace := if ($dbml:debug) then xdmp:log(concat("Loading plugin locale: ", $lang)) else () 49 | let $scope := plugin:initialize-scope("docbook") 50 | let $capuri := concat("http://docbook.org/localization/", $lang) 51 | let $plugins := plugin:plugins($capuri, "docbook") 52 | let $cap := plugin:capability($capuri, $plugins[1], "docbook") 53 | return 54 | xdmp:apply($cap)/self::l:l10n 55 | }; 56 | 57 | declare private function dbml:_load-locale-database( 58 | $lang as xs:string 59 | ) as element(l:l10n)? 60 | { 61 | let $query := concat("doc('", $dbml:path, "/", $lang, ".xml')") 62 | let $trace := if ($dbml:debug) then xdmp:log(concat("Loading ", $dbml:database, " locale: ", $lang)) else () 63 | let $opts := {xdmp:database($dbml:database)} 64 | return 65 | xdmp:eval($query, (), $opts)/l:l10n 66 | }; 67 | 68 | declare private function dbml:_load-locale-local( 69 | $lang as xs:string 70 | ) as element(l:l10n)? 71 | { 72 | let $trace := if ($dbml:debug) then xdmp:log(concat("Loading locale: ", $lang)) else () 73 | return 74 | doc(concat($dbml:path, "/", $lang, ".xml"))/l:l10n 75 | }; 76 | 77 | declare private function dbml:_load-locale-filesystem( 78 | $lang as xs:string 79 | ) as element(l:l10n)? 80 | { 81 | let $trace := if ($dbml:debug) then xdmp:log(concat("Loading filesystem locale: ", $lang)) else () 82 | return 83 | xdmp:document-get(concat($dbml:filesystem-path, "/", $lang, ".xml"))/l:l10n 84 | }; 85 | 86 | declare private function dbml:_load-locale( 87 | $lang as xs:string 88 | ) as element(l:l10n)? 89 | { 90 | let $l10n := try { 91 | dbml:_load-locale-plugin($lang) 92 | } catch ($e) { 93 | try { 94 | if (empty($dbml:database)) 95 | then 96 | dbml:_load-locale-local($lang) 97 | else 98 | dbml:_load-locale-database($lang) 99 | } catch ($e) { 100 | if ($dbml:debug) then xdmp:log($e) else () 101 | } 102 | } 103 | return 104 | if (empty($l10n)) 105 | then 106 | try { dbml:_load-locale-filesystem($lang) } 107 | catch ($e) { () } 108 | else 109 | $l10n 110 | }; 111 | 112 | declare function dbml:check-locale( 113 | $lang as xs:string 114 | ) as xs:boolean 115 | { 116 | if (empty(map:get($dbml:locale-map, $lang))) 117 | then 118 | let $l10n := dbml:_load-locale($lang) 119 | return 120 | if (empty($l10n)) 121 | then 122 | false() 123 | else 124 | (map:put($dbml:locale-map, $lang, $l10n), true()) 125 | else 126 | true() 127 | }; 128 | 129 | declare function dbml:load-locale( 130 | $lang as xs:string 131 | ) as element(l:l10n) 132 | { 133 | let $l10n := map:get($dbml:locale-map, $lang) 134 | return 135 | if (empty($l10n)) 136 | then 137 | let $l10n := dbml:_load-locale($lang) 138 | return 139 | if (empty($l10n)) 140 | then 141 | () (: bang :) 142 | else 143 | (map:put($dbml:locale-map, $lang, $l10n), $l10n) 144 | else 145 | $l10n 146 | }; 147 | -------------------------------------------------------------------------------- /lib/xsl-2.0.3/xslt/base/common/preprocess.xsl: -------------------------------------------------------------------------------- 1 | 2 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | Returns result of preprocessing of input document by set of steps defined in 22 | preprocess parameter. 23 | 24 | 25 | This function applies preprocessing steps defined in 26 | preprocess parameter to input in the fixed 27 | oreder. 28 | 29 | 30 | 31 | 32 | root 33 | 34 | Input document to be preprocessed. 35 | 36 | 37 | 38 | 39 | 40 | 41 | Preprocessed document. 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 58 | 59 | Warning: Preprocessing step " 60 | 61 | " is not supported. Ignoring. 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 73 | 74 | 78 | 79 | 83 | 84 | 92 | 93 | 97 | 98 | 102 | 103 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | -------------------------------------------------------------------------------- /lib/xsl-2.0.3/xslt/base/fo/admonitions.xsl: -------------------------------------------------------------------------------- 1 | 2 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | note 35 | warning 36 | caution 37 | tip 38 | important 39 | note 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 53 | 55 | 56 | 57 | 58 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 86 | 87 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | -------------------------------------------------------------------------------- /lib/xsl-2.0.3/xslt/base/fo/autotoc.xsl: -------------------------------------------------------------------------------- 1 | 2 | 12 | 13 | 22 | 23 | 24 | 25 | 26 | Mode for processing ToC and LoTs 27 | 28 | 29 | This mode is used to process Tables of Contents and Lists of Titles. 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | Make a ToC 38 | 39 | 40 | This template formats a Table of Contents. 41 | 42 | 43 | 44 | 45 | toc-context 46 | 47 | The context node of the ToC. 48 | 49 | 50 | toc-context 51 | 52 | The context node of the ToC. 53 | 54 | 55 | 56 | 57 | 58 | 59 | The formatted ToC. 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | Make LoTs 75 | 76 | 77 | This template formats Lists of Titles. 78 | 79 | 80 | 81 | 82 | toc.params 83 | 84 | The ToC controlling parameters. 85 | 86 | 87 | toc 88 | 89 | The result tree that contains the generated Table of Contents. 90 | 91 | 92 | 93 | 94 | 95 | 96 | The formatted ToC and LoTs. 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | Make ToC/LoTs for a section 112 | 113 | 114 | This template formats the Table of Contents and 115 | Lists of Titles for a section. 116 | 117 | 118 | 119 | 120 | toc-context 121 | 122 | The component context. 123 | 124 | 125 | 126 | 127 | 128 | 129 | The formatted ToC and LoTs for the element. 130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | 141 | 142 | 143 | Make ToC/LoTs for a component 144 | 145 | 146 | This template formats the Table of Contents and 147 | Lists of Titles for a 148 | component (chapter, article, etc.). 149 | 150 | 151 | 152 | 153 | toc-context 154 | 155 | The component context. 156 | 157 | 158 | 159 | 160 | 161 | 162 | The formatted ToC and LoTs for the element. 163 | 164 | 165 | 166 | 167 | 168 | 169 | 170 | 171 | 172 | 173 | 174 | 175 | 176 | Make ToC/LoTs for a division 177 | 178 | 179 | This template formats the Table of Contents and 180 | Lists of Titles for a 181 | division (chapter, article, etc.). 182 | 183 | 184 | 185 | 186 | toc-context 187 | 188 | The division context. 189 | 190 | 191 | 192 | 193 | 194 | 195 | The formatted ToC and LoTs for the element. 196 | 197 | 198 | 199 | 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | -------------------------------------------------------------------------------- /lib/xsl-2.0.3/xslt/base/fo/blocks.xsl: -------------------------------------------------------------------------------- 1 | 2 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 24 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 |    70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 0pt 121 | 0pt 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | 141 | 142 | 143 | 144 | 145 | 146 | 147 | 148 | 149 | 150 | 151 | -------------------------------------------------------------------------------- /lib/xsl-2.0.3/xslt/base/fo/component.xsl: -------------------------------------------------------------------------------- 1 | 2 | 11 | 12 | 15 | 16 | 17 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | -------------------------------------------------------------------------------- /lib/xsl-2.0.3/xslt/base/fo/division.xsl: -------------------------------------------------------------------------------- 1 | 2 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 75 | 76 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | -------------------------------------------------------------------------------- /lib/xsl-2.0.3/xslt/base/fo/docbook.xsl: -------------------------------------------------------------------------------- 1 | 2 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 61 | 62 | 63 | 67 | 68 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 90 | 91 | 92 | Styling... 93 | 94 | 95 | 96 | 97 | 98 | 105 | 106 | 116 | 117 | 118 | 119 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | 154 | 155 | 156 | < 157 | 158 | 159 | 160 | 161 | =" 162 | 163 | " 164 | 165 | > 166 | 167 | 168 | 169 | </ 170 | 171 | > 172 | 173 | 174 | 175 | 176 | 177 | -------------------------------------------------------------------------------- /lib/xsl-2.0.3/xslt/base/fo/fo.xsl: -------------------------------------------------------------------------------- 1 | 2 | 12 | 13 | 14 | bullet 15 | 16 | 17 | o 18 | © 19 | 20 | 21 | ® 22 | (SM) 23 | " 24 | " 25 | ' 26 | ' 27 | 28 | - 29 | o 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 85 | 86 | 87 | 88 | 89 | 90 | left 91 | left 92 | right 93 | top 94 | left 95 | 96 | 97 | 98 | 99 | 100 | right 101 | right 102 | left 103 | bottom 104 | right 105 | 106 | 107 | 108 | 109 | 110 | 111 | WARNING: FOP does not support right-to-left writing-mode 112 | lr-tb 113 | 114 | lr-tb 115 | rl-tb 116 | tb-rl 117 | lr-tb 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 141 | 142 | 143 | 144 | 145 | 146 | 147 | 148 | 149 | 150 | -------------------------------------------------------------------------------- /lib/xsl-2.0.3/xslt/base/fo/footnotes.xsl: -------------------------------------------------------------------------------- 1 | 2 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | super 20 | 21 | 22 | super 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | -------------------------------------------------------------------------------- /lib/xsl-2.0.3/xslt/base/fo/glossary.xsl: -------------------------------------------------------------------------------- 1 | 2 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /lib/xsl-2.0.3/xslt/base/fo/index.xsl: -------------------------------------------------------------------------------- 1 | 2 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /lib/xsl-2.0.3/xslt/base/fo/info.xsl: -------------------------------------------------------------------------------- 1 | 2 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | copyright 49 | 50 | 51 | 52 | 53 | 54 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | , 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | , 77 | 78 | 79 | 80 | 81 | -------------------------------------------------------------------------------- /lib/xsl-2.0.3/xslt/base/html/admonitions.xsl: -------------------------------------------------------------------------------- 1 | 2 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 |
31 |
32 |
33 |
34 | 35 | 36 | 37 | 38 | Mode for processing admonitions with graphics 39 | 40 | 41 | There are two distinct presentational styles for admonitions, with 42 | graphics and without. Processing an admonition in this mode produces 43 | the graphical form. 44 | 45 | 46 | 47 | 49 | 50 | 51 | Note 52 | Warning 53 | Caution 54 | Tip 55 | Important 56 | Note 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 |
72 | 73 | 74 | 75 | 76 | 78 | 79 | 80 | 89 | 100 | 101 | 102 |
81 | 82 | {$alt} 83 | 84 | 85 | 86 | 87 | 88 | 90 | 92 |
93 | 94 |
95 |
96 |
97 | 98 |
99 |
103 |
104 |
105 | 106 | 107 | 108 | 109 | Returns the name of the appropriate admonition graphic 110 | 111 | 112 | This template returns the name (URI) of the graphic to be used 113 | for the specified admonition. 114 | 115 | 116 | 117 | 118 | node 119 | 120 | The admonition node. 121 | 122 | 123 | 124 | 125 | 126 | 127 | A URI for the graphic that should be used for the specified 128 | kind of admonition. 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | note 137 | warning 138 | caution 139 | tip 140 | important 141 | note 142 | 143 | 144 | 145 | 146 |
147 | -------------------------------------------------------------------------------- /lib/xsl-2.0.3/xslt/base/html/annotation.js: -------------------------------------------------------------------------------- 1 | /* -*- JavaScript -*- 2 | */ 3 | 4 | function show_annotation(id) { 5 | var annot = document.getElementById('annot-'+id); 6 | annot.style.display = "block"; 7 | annot = document.getElementById('annot-'+id+'-on'); 8 | annot.style.display = "none"; 9 | annot = document.getElementById('annot-'+id+'-off'); 10 | annot.style.display = "inline"; 11 | return false; 12 | } 13 | 14 | function hide_annotation(id) { 15 | var annot = document.getElementById('annot-'+id); 16 | annot.style.display = "none"; 17 | annot = document.getElementById('annot-'+id+'-on'); 18 | annot.style.display = "inline"; 19 | annot = document.getElementById('annot-'+id+'-off'); 20 | annot.style.display = "none"; 21 | return false; 22 | } 23 | 24 | 25 | -------------------------------------------------------------------------------- /lib/xsl-2.0.3/xslt/base/html/chunk.xsl: -------------------------------------------------------------------------------- 1 | 2 | 14 | 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /lib/xsl-2.0.3/xslt/base/html/chunker.xsl: -------------------------------------------------------------------------------- 1 | 15 | 16 | 25 | 26 | 30 | 31 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | Writing 48 | 49 | 50 | for 51 | 52 | 53 | ( 54 | 55 | ) 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | -------------------------------------------------------------------------------- /lib/xsl-2.0.3/xslt/base/html/chunkfunc.xsl: -------------------------------------------------------------------------------- 1 | 2 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | Warning: broken link to 55 | 56 | ; not in output. 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | -------------------------------------------------------------------------------- /lib/xsl-2.0.3/xslt/base/html/component.xsl: -------------------------------------------------------------------------------- 1 | 2 | 12 | 13 | 16 |
17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 |
31 |
32 | 33 | 36 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 |
50 | -------------------------------------------------------------------------------- /lib/xsl-2.0.3/xslt/base/html/division.xsl: -------------------------------------------------------------------------------- 1 | 2 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 |
26 | 27 | 28 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 |
41 | 42 | 43 | 44 | 45 |
46 |
47 | 48 |
49 | -------------------------------------------------------------------------------- /lib/xsl-2.0.3/xslt/base/html/docbook.xsl: -------------------------------------------------------------------------------- 1 | 2 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 74 | 75 | 76 | Styling... 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 |
100 | 101 | 102 | < 103 | 104 | 105 | 106 | 107 | =" 108 | 109 | " 110 | 111 | > 112 | 113 | 114 | 115 | </ 116 | 117 | > 118 | 119 |
120 |
121 | 122 | 123 | 124 |
125 | -------------------------------------------------------------------------------- /lib/xsl-2.0.3/xslt/base/html/footnotes.xsl: -------------------------------------------------------------------------------- 1 | 2 | 12 | 13 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | [ 30 | 31 | 32 | 33 | ] 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | [ 44 | 45 | 46 | 47 | ] 48 | 49 | 50 | 51 | 52 | 53 | 54 | 56 | 57 | 58 | 59 |
60 |
61 | 62 |
63 |
64 |
65 | 66 | 67 | 68 | 69 | 70 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 80 | 81 | 82 | 83 | 84 | 85 |
86 | 87 | 88 |

89 | 90 | 91 | [ 92 | 93 | 94 | 95 | ] 96 | 97 | 98 |

99 | 100 |
101 | 102 | 103 | 104 | 105 | 114 | 117 | 118 |
106 | 107 | [ 108 | 109 | 110 | 111 | ] 112 | 113 | 115 | 116 |
119 |
120 |
121 |
122 |
123 | 124 | 126 | 127 | 128 | 129 | 130 | 131 | 132 |
133 | -------------------------------------------------------------------------------- /lib/xsl-2.0.3/xslt/base/html/index.xsl: -------------------------------------------------------------------------------- 1 | 2 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 |
32 |
33 | 34 |
35 |
36 |
37 | 38 | 39 | 40 |
41 |
42 |
43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 |
53 | 54 | 55 | 56 | 57 | 58 | 59 |
60 | 61 |
62 |
63 |
64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 |
73 | 74 |
75 | 76 | 77 |
78 |
79 | 80 |
81 |
82 |
83 | 85 |
86 |
87 | 89 |
90 |
91 |
92 |
93 |
94 | 95 | 96 |
97 | 98 |
99 | 100 | 101 |
102 |
103 | 104 |
105 |
106 |
107 | 109 |
110 |
111 | 113 |
114 |
115 |
116 |
117 |
118 | 119 | 120 |
121 | 122 |
123 | 125 |
126 |
127 | 129 |
130 |
131 |
132 |
133 | 134 | 135 |
136 | 137 |
138 |
139 | 140 |
141 | -------------------------------------------------------------------------------- /lib/xsl-2.0.3/xslt/base/html/info.xsl: -------------------------------------------------------------------------------- 1 | 2 | 13 | 14 | 15 | 16 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 |  ©  37 | 38 | 39 | 40 | 41 | 42 | 44 | 45 | 46 | 47 |   48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | , 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | , 71 | 72 | 73 | 74 | 75 | 76 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 |
91 | 92 | 93 | 94 | 99 | 100 | 101 | 102 | 103 | 104 | 108 | 109 | 110 | 114 | 115 | 116 | 120 | 121 | 122 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | 133 | 139 | 140 | 141 | 142 |
95 | 96 | 97 | 98 |
105 | 106 |   107 | 111 | 112 |   113 | 117 | 118 |   119 | 123 | 124 |   125 |
  134 | 135 | 136 | 137 | 138 |
143 |
144 |
145 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 |
154 | -------------------------------------------------------------------------------- /lib/xsl-2.0.3/xslt/base/html/math.xsl: -------------------------------------------------------------------------------- 1 | 2 | 15 | 16 | 17 | 18 | 20 | 21 | 22 |
23 | 24 | 25 |
26 |
27 |
28 |
29 | 30 | 31 | 32 | 33 | 34 |
35 | 36 | 37 |
38 |
39 |
40 |
41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 |
64 | 65 | -------------------------------------------------------------------------------- /lib/xsl-2.0.3/xslt/base/html/msgset.xsl: -------------------------------------------------------------------------------- 1 | 2 | 12 | 13 | 14 | 15 | 16 | 17 | 19 | 20 | 21 |
22 | 23 | 24 |
25 |
26 |
27 |
28 | 29 | 32 |
33 | 34 |
35 |
36 | 37 | 38 | 39 | 41 | 42 | 43 |
44 | 45 | 46 |
47 |
48 |
49 |
50 | 51 | 54 |
55 | 56 |
57 |
58 | 59 | 60 |
61 | 62 | 63 |
64 |
65 | 66 | 67 | 68 | 70 | 71 | 72 |
73 | 74 | 75 |
76 |
77 |
78 |
79 | 80 | 83 |
84 | 85 |
86 |
87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 |
118 | 119 | 120 |
121 |
122 | 123 | 124 |

125 | 126 | 127 | 128 | 129 | 130 | 131 | 132 |

133 |
134 | 135 | 136 |

137 | 138 | 139 | 140 | 141 | 142 | 143 | 144 |

145 |
146 | 147 | 148 |

149 | 150 | 151 | 152 | 153 | 154 | 155 | 156 |

157 |
158 | 159 | 160 | 161 | 163 | 164 | 165 |
166 | 167 | 168 |
169 |
170 |
171 |
172 | 173 | 176 |
177 | 178 |
179 |
180 | 181 |
182 | -------------------------------------------------------------------------------- /lib/xsl-2.0.3/xslt/base/html/pi.xsl: -------------------------------------------------------------------------------- 1 | 2 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 25 | 26 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | / 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | -------------------------------------------------------------------------------- /lib/xsl-2.0.3/xslt/base/html/qandaset.xsl: -------------------------------------------------------------------------------- 1 | 2 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 |
27 |
28 |
29 | 30 | 31 | 33 | 34 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | question-no-label 83 | 84 | 85 | question 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | answer-no-label 127 | 128 | 129 | answer 130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | 141 | 142 |
143 | -------------------------------------------------------------------------------- /lib/xsl-2.0.3/xslt/base/html/refentry.xsl: -------------------------------------------------------------------------------- 1 | 2 | 12 | 13 | 14 |
15 | 16 | 17 | 18 |
19 |
20 |
21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 |
30 | 31 | 32 |
33 | 34 | 35 | 36 | 37 |

38 | 39 | 40 | 41 |

42 |
43 | 44 | 45 |

46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 |

55 |
56 |
57 |

58 | 59 |

60 |
61 |
62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | , 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 |  —  84 | 85 | 86 | 87 | 88 | 89 | . 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 |
100 | 101 | 102 |

103 | 104 | 105 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 |

115 | 116 |
117 |
118 | 119 | 120 |
121 | 122 | 123 | 124 | 125 | 126 |
127 |
128 | 129 |
130 | -------------------------------------------------------------------------------- /lib/xsl-2.0.3/xslt/base/html/section.xsl: -------------------------------------------------------------------------------- 1 | 2 | 13 | 14 | 16 |
17 | 18 | 19 | 20 |
21 |
22 | 23 | 24 |
25 | 26 | 27 | 28 |
29 |
30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | sect5 38 | sect4 39 | sect3 40 | sect2 41 | 42 | 43 | sect5 44 | 45 | sect 46 | 47 | 48 | 49 | 50 | sect1 51 | 52 | 53 | 54 | 55 | 56 | 57 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 |
67 | -------------------------------------------------------------------------------- /lib/xsl-2.0.3/xslt/base/html/task.xsl: -------------------------------------------------------------------------------- 1 | 2 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 |
22 |
23 |
24 |
25 | 26 |
27 | -------------------------------------------------------------------------------- /lib/xsl-2.0.3/xslt/base/html/titlepage-templates.xsl: -------------------------------------------------------------------------------- 1 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 |
34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 |
49 |
50 |
51 | 52 | 53 | 54 |
55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 |
70 |
71 |
72 |
73 | 74 | 75 | 76 |
77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 |
85 |
86 |
87 | 88 | 89 | 90 |
91 | 92 | 93 |
94 |
95 |
96 | 97 | 99 | 100 |
101 | 102 | 103 |
104 |
105 |
106 | 107 | 108 | 109 |
110 | 111 | 112 |
113 |
114 |
115 | 116 | 117 | 118 |
119 | 120 |
121 |
122 |
123 | 124 | 125 | 126 |
127 | 128 |
129 |
130 |
131 | 132 | 137 | 138 | 139 | 140 | 141 | 142 | 143 | 144 | 145 | 146 | 147 | 148 | 149 | 150 | 151 | 152 |
153 |
154 | 155 |
156 | -------------------------------------------------------------------------------- /lib/xsl-2.0.3/xslt/base/html/toc.xsl: -------------------------------------------------------------------------------- 1 | 2 | 11 | 12 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | FIXME: Manually generated TOCs are not yet supported. 30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /lib/xsl-2.0.3/xslt/base/preprocess/1-logstruct.xsl: -------------------------------------------------------------------------------- 1 | 8 | 9 | 10 | 11 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 69 | 70 | 71 | 72 | 73 | -------------------------------------------------------------------------------- /lib/xsl-2.0.3/xslt/base/preprocess/3-schemaext.xsl: -------------------------------------------------------------------------------- 1 | 9 | 10 | 11 | 12 | 13 | 14 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 39 | 40 | 41 | 42 | 47 | 48 | 49 | 52 | 55 | 56 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 105 | 106 | 107 | 108 | 109 | 110 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | -------------------------------------------------------------------------------- /lib/xsl-2.0.3/xslt/base/preprocess/profile.xsl: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | 9 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | -------------------------------------------------------------------------------- /lib/xsl-2.0.3/xslt/slides/examples/deck.xml: -------------------------------------------------------------------------------- 1 | 6 | 7 | Presentation title 8 | 9 | 10 | Wile E. 11 | Coyote 12 | 13 | 14 | Senior V.P. of Road Runner Control 15 | Acme Corporation 16 | 17 | wile.e.coyote@example.com 18 | 19 | Version 1.0 20 | 2011-09-05 21 | 22 | 2011 23 | Acme Corporation 24 | 25 | 26 | 27 | 28 | Agenda 29 | 30 | 31 | This 32 | 33 | 34 | That 35 | 36 | 37 | The Other 38 | 39 | 40 | 41 | 42 | Remember to be precise. 43 | 44 | 45 | 46 | 47 | This 48 | 49 | This slide has a progressive reveal. 50 | 51 | 52 | 53 | Point one 54 | 55 | 56 | Point two 57 | 58 | 59 | Point three 60 | 61 | 62 | 63 | 64 | 65 | 66 | Remember the reveal 67 | 68 | 69 | It has three items. 70 | 71 | 72 | 73 | 74 | 75 | 76 | That 77 | 78 | This slide has a progressive reveal. 79 | 80 | 81 | 82 | Point one 83 | 84 | 85 | Point two 86 | 87 | 88 | Point three, first attempt 89 | 90 | 91 | Point three, first attempt 92 | 93 | 94 | Point three, second attempt 95 | 96 | 97 | Point three, second attempt 98 | 99 | 100 | Point three 101 | 102 | 103 | 104 | 105 | 106 | 107 | The Other 108 | 109 | This is a transition slide. 110 | 111 | 112 | One More Slide 113 | 114 | 115 | Point one 116 | 117 | 118 | Point two 119 | 120 | 121 | Point three 122 | 123 | 124 | Point four 125 | 126 | 127 | Point five 128 | 129 | 130 | Point six 131 | 132 | 133 | Point seven 134 | 135 | 136 | Point eight 137 | 138 | 139 | Point nine 140 | 141 | 142 | Point ten 143 | 144 | 145 | Point eleven 146 | 147 | 148 | Point twelve 149 | 150 | 151 | Point thirteen 152 | 153 | 154 | Point fourteen 155 | 156 | 157 | Point fifteen 158 | 159 | 160 | Point sixteen 161 | 162 | 163 | Point seventeen 164 | 165 | 166 | Point eighteen 167 | 168 | 169 | Point ninteen 170 | 171 | 172 | Point twenty 173 | 174 | 175 | 176 | 177 | 178 | One Last Slide 179 | 180 | 181 | Point one 182 | 183 | 184 | Point two 185 | 186 | 187 | Point three 188 | 189 | 190 | 191 | 192 | 193 | 194 | Q&A 195 | 196 |
Wile E. Coyote 197 | Senior V.P. of Road Runner Control 198 | Acme Corporation 199 | wile.e.coyote@example.com
200 |
201 |
202 | -------------------------------------------------------------------------------- /lib/xsl-2.0.3/xslt/slides/html/multipage.xsl: -------------------------------------------------------------------------------- 1 | 2 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 34 | 35 | 43 | 44 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | index.xml 69 | toc.xml 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | -------------------------------------------------------------------------------- /src/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netty/netty-book/03d31bd25a582a592530a9d99f46c0bb9dfaf30c/src/.DS_Store -------------------------------------------------------------------------------- /src/dtds/xhtml-special.ent: -------------------------------------------------------------------------------- 1 | 2 | 3 | 9 | 10 | 15 | 16 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 34 | 35 | 36 | 38 | 40 | 42 | 43 | 44 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 54 | 55 | 56 | 57 | 58 | 59 | 61 | 63 | 64 | 66 | 68 | 69 | 70 | 71 | 72 | 74 | 75 | 77 | 78 | 79 | 80 | 81 | -------------------------------------------------------------------------------- /src/faq.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 19 | %Entities; 20 | ]> 21 | 23 | Frequently Asked Questions 24 | 25 | 26 | This FAQ is a summary of question and answers from 27 | StackOverflow. 28 | 29 | 30 |
31 | When can I write outbound data? 32 | 33 | As long as you have the reference to the Channel (or ChannelHandlerContext), you can call Channel.write() 34 | (or ChannelHandlerContext.write()) from anywhere, any thread. 35 | 36 | 37 | See 38 | discussion. 39 | 40 |
41 |
42 | How do I incorporate my blocking application code with the non-blocking &NioEventLoopGroup;? 43 | 44 | &NioEventLoopGroup; contains n Threads that handle the IO of all the registered &Channel;s. 45 | 46 | 47 | If your applicaiton's handler blocks such as (reading from a database) or is CPU intensive, the worker thread 48 | pool maybe exhausted and performance will degrade. 49 | 50 | 51 | We recommend that you implement your blocking application code in another thread pool. You can do this by adding 52 | your handler with an extra &EventExecutor; to the &ChannelPipeline;. 53 | 54 | public static void main(String[] args) throws Exception { 55 | final EventExecutor executor = new DefaultEventExecutor(8); 56 | 57 | ServerBootstrap bootstrap = new ServerBootstrap(); 58 | bootstrap.group(new NioEventLoopGroup(), new NioEventLoopGroup()); 59 | bootstrap.childHandler(new ChannelInitializer<Channel>() { 60 | @Override 61 | public void initChannel(Channel channel) { 62 | ChannelPipeline pipeline = channel.pipeline(); 63 | pipeline.addLast("decoder", new HttpRequestDecoder()); 64 | pipeline.addLast("aggregator", new HttpChunkAggregator(65536)); 65 | pipeline.addLast("encoder", new HttpResponseEncoder()); 66 | pipeline.addLast("chunkedWriter", new ChunkedWriteHandler()); 67 | 68 | // MyHandler contains code that blocks so add it with the 69 | // EventExecutor to the pipeline. 70 | pipeline.addLast(executor, "handler", new MyHandler()); 71 | } 72 | }); 73 | ... 74 | 75 | sb.bind(socketAddress); 76 | 77 | // Other code 78 | 79 | } 80 | 81 | 82 | public class MyHandler extends SimpleChannelUpstreamHandler { 83 | // Your blocking application code 84 | } 85 |
86 |
87 | Do I need to synchronize my handler code given that events can happen at the same time? 88 | 89 | To make it short, NO! Netty will take care to make sure all your ChannelHandlers will be executed 90 | by only one Thread at the same time. 91 | 92 |
93 | 94 |
95 | How do I pass data between handlers in the same Channel? 96 | 97 | Use Channel.attr(..).set(...) to store the reference. Please refer to the apidocs for more informations. 98 | 99 |
100 |
101 | -------------------------------------------------------------------------------- /src/images/architecture.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netty/netty-book/03d31bd25a582a592530a9d99f46c0bb9dfaf30c/src/images/architecture.png -------------------------------------------------------------------------------- /src/images/combine-slice-buffer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netty/netty-book/03d31bd25a582a592530a9d99f46c0bb9dfaf30c/src/images/combine-slice-buffer.png -------------------------------------------------------------------------------- /src/images/traditional-copy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netty/netty-book/03d31bd25a582a592530a9d99f46c0bb9dfaf30c/src/images/traditional-copy.png -------------------------------------------------------------------------------- /src/images/zero-copy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/netty/netty-book/03d31bd25a582a592530a9d99f46c0bb9dfaf30c/src/images/zero-copy.png -------------------------------------------------------------------------------- /src/index.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 19 | %Entities; 20 | ]> 21 | 23 | The Netty Project 4.x User Guide 24 | The Proven Approach to Rapid Network Application Development 25 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | -------------------------------------------------------------------------------- /src/preface.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 19 | %Entities; 20 | ]> 21 | 23 | Preface 24 | 25 |
26 | The Problem 27 | 28 | Nowadays we use general purpose applications or libraries to communicate 29 | with each other. For example, we often use an HTTP client library to 30 | retrieve information from a web server and to invoke a remote procedure 31 | call via web services. 32 | 33 | 34 | However, a general purpose protocol or its implementation sometimes 35 | does not scale very well. It is like we don't use a general purpose 36 | HTTP server to exchange huge files, e-mail messages, and near-realtime 37 | messages such as financial information and multiplayer game data. 38 | What's required is a highly optimized protocol implementation which is 39 | dedicated to a special purpose. For example, you might want to 40 | implement an HTTP server which is optimized for AJAX-based chat 41 | application, media streaming, or large file transfer. You could even 42 | want to design and implement a whole new protocol which is precisely 43 | tailored to your need. 44 | 45 | 46 | Another inevitable case is when you have to deal with a legacy 47 | proprietary protocol to ensure the interoperability with an old system. 48 | What matters in this case is how quickly we can implement that protocol 49 | while not sacrificing the stability and performance of the resulting 50 | application. 51 | 52 |
53 | 54 |
55 | The Solution 56 | 57 | The Netty project is 58 | an effort to provide an asynchronous event-driven network application 59 | framework and tooling for the rapid development of maintainable 60 | high-performance · high-scalability protocol servers and clients. 61 | 62 | 63 | In other words, Netty is a NIO client server framework which enables 64 | quick and easy development of network applications such as protocol 65 | servers and clients. It greatly simplifies and streamlines network 66 | programming such as TCP and UDP socket server development. 67 | 68 | 69 | 'Quick and easy' does not mean that a resulting application will suffer 70 | from a maintainability or a performance issue. Netty has been designed 71 | carefully with the experiences earned from the implementation of a lot 72 | of protocols such as FTP, SMTP, HTTP, and various binary and text-based 73 | legacy protocols. As a result, Netty has succeeded to find a way to 74 | achieve ease of development, performance, stability, and flexibility 75 | without a compromise. 76 | 77 | 78 | Some users might already have found other network application 79 | framework that claims to have the same advantage, and you might want 80 | to ask what makes Netty so different from them. The answer is the 81 | philosophy where it is built on. Netty is designed to give you the most 82 | comfortable experience both in terms of the API and the implementation 83 | from the day one. It is not something tangible but you will realize that 84 | this philosophy will make your life much easier as you read this guide 85 | and play with Netty. 86 | 87 |
88 |
89 | -------------------------------------------------------------------------------- /src/xslt/fo.xsl: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 100 5 | 6 | 7 | -------------------------------------------------------------------------------- /src/xslt/html.xsl: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | --------------------------------------------------------------------------------