diff options
author | William Victor Mote <vmote@apache.org> | 2003-04-24 17:48:27 +0000 |
---|---|---|
committer | William Victor Mote <vmote@apache.org> | 2003-04-24 17:48:27 +0000 |
commit | e70ce1189bd3e512c49c309fd91bfa4bbab63150 (patch) | |
tree | 684c98d52a361554ac2932170915643f041f93f4 /src/documentation/content/xdocs/design/parsing.xml | |
parent | 8010cc2d230136e31cf838c4b2fc74ba712ce2c0 (diff) | |
download | xmlgraphics-fop-e70ce1189bd3e512c49c309fd91bfa4bbab63150.tar.gz xmlgraphics-fop-e70ce1189bd3e512c49c309fd91bfa4bbab63150.zip |
Normalize common contents between dev/extensions.xml and design/parsing.xml.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196340 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/documentation/content/xdocs/design/parsing.xml')
-rw-r--r-- | src/documentation/content/xdocs/design/parsing.xml | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/src/documentation/content/xdocs/design/parsing.xml b/src/documentation/content/xdocs/design/parsing.xml index 38802b463..396a1a263 100644 --- a/src/documentation/content/xdocs/design/parsing.xml +++ b/src/documentation/content/xdocs/design/parsing.xml @@ -29,17 +29,13 @@ Instead, FOP takes SAX events and builds its own tree-like structure. Why?</p> <title>Validation</title> <p>If the input XML is not well-formed, that will be reported.</p> <p>There is no DTD for XSL-FO, so no formal validation is possible at the parser level.</p> - <p>The SAX handler will report an error for unrecognized namespaces.</p> + <p>The SAX handler will report an error for unrecognized <link href="#namespaces">namespaces</link>.</p> </section> <section id="namespaces"> <title>Namespaces</title> - <p>The element mapping is a hashmap of all the elements in a particular namespace. -This makes it easy to create a different object for each element. -Element mappings are static to save on memory.</p> - <p>To add an extension a developer can put in the classpath a jar that contains the file <code>/META-INF/services/org.apache.fop.fo.ElementMapping</code>. -This must contain a line with the fully qualified name of a class that implements the <em>org.apache.fop.fo.ElementMapping</em> interface. -This will then be loaded automatically at the start. -Internal mappings are: FO, SVG and Extension (pdf bookmarks).</p> + <p>To allow for extensions to the XSL-FO language, FOP provides a mechanism for handling foreign namespaces.</p> + <p>See <link href="../extensions.html">User Extensions</link> for a discussion of standard extensions shipped with FOP, and their related namespaces.</p> + <p>See <link href="../dev/extenstions.html">Developer Extensions</link> for a discussion of the mechanisms in place to allow developers to add their own extensions, including how to tell FOP about the foreign namespace.</p> </section> <section> <title>Tree Building</title> |