diff options
author | Jeremias Maerki <jeremias@apache.org> | 2006-05-06 08:39:26 +0000 |
---|---|---|
committer | Jeremias Maerki <jeremias@apache.org> | 2006-05-06 08:39:26 +0000 |
commit | d772a6103849f27f91a96e83a73473b343bebbbc (patch) | |
tree | abdb55dccded5a70fc74ef168cc8bace77024c09 /src | |
parent | 7a7fab5f84b85b25a6732d757ca4cd6b6fff8b72 (diff) | |
download | xmlgraphics-fop-d772a6103849f27f91a96e83a73473b343bebbbc.tar.gz xmlgraphics-fop-d772a6103849f27f91a96e83a73473b343bebbbc.zip |
Fix compliance info on "vertical-align".
Added an FAQ entry concerning the "The attribute "width" of the element <rect> is required" problem.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@400266 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src')
-rw-r--r-- | src/documentation/content/xdocs/compliance.ihtml | 7 | ||||
-rw-r--r-- | src/documentation/content/xdocs/faq.xml | 23 |
2 files changed, 28 insertions, 2 deletions
diff --git a/src/documentation/content/xdocs/compliance.ihtml b/src/documentation/content/xdocs/compliance.ihtml index bf034b19d..9a5567b51 100644 --- a/src/documentation/content/xdocs/compliance.ihtml +++ b/src/documentation/content/xdocs/compliance.ihtml @@ -6833,14 +6833,17 @@ <td class="partial"> partial </td> - <td class="yes"> - yes + <td class="partial"> + partial </td> <td align="left"> <ul> <li> [0.20.5] Only works as a shorthand for baseline-shift property. </li> + <li> + [0.92 beta] Percentages are not supported, yet. + </li> </ul> </td> </tr> diff --git a/src/documentation/content/xdocs/faq.xml b/src/documentation/content/xdocs/faq.xml index d5abcefb4..aae992ac0 100644 --- a/src/documentation/content/xdocs/faq.xml +++ b/src/documentation/content/xdocs/faq.xml @@ -770,6 +770,29 @@ Can I control this?</question> <p>See <link href="0.20.5/graphics.html#svg-scaling">SVG Scaling</link>.</p> </answer> </faq> + <faq id="svg-attribute-required"> + <question>FOP fails with something like "The attribute "width" of the element <rect> is required". What's wrong?</question> + <answer> + <p> + This phenomenon occurs since FOP 0.92 beta. It surfaced due to a change in the handling of non-FO namespaces. It's not a + bug in FOP, but rather in the dependent packages: Apache Batik, Apache Xalan-J and SAXON. The bug in Apache Batik will be + fixed in the next release. In the latest release of Apache Xalan-J, the bug is already fixed. It only occurs in the Xalan + version bundled with Sun's JVM, because Sun uses a rather old version. + </p> + <p> + Bug description: In a namespace-enabled Level 3 DOM, an attribute in the default namespace must be set with + <code>"null"</code> as the value for the namespace URI. SAX, on the other side, uses an empty string ("") to designate + the default namespace. Many packages appear to not properly handle this difference in which case they still use the empty + string as the namespace URI parameter for <code>org.w3c.dom.Element.setAttributeNS()</code>. + </p> + <p> + Work-around: Use the latest version of Apache Xalan-J. Note that starting with JDK 1.4 it's not enough to replace Xalan-J + on the normal application classpath and you need to override the Xalan-J version bundled with the Sun JVM using the + <link href="http://java.sun.com/j2se/1.4.2/docs/guide/standards/">Endorsed Standards Override Mechanism</link>, i.e. + you must place Xalan-J in the <code>"lib/endorsed"</code> directory of your JRE. + </p> + </answer> + </faq> </part> <part id="part-pdf"> <title>PDF specific (includes Acrobat peculiarities)</title> |