From: Jeremias Maerki Date: Sat, 6 May 2006 08:39:26 +0000 (+0000) Subject: Fix compliance info on "vertical-align". X-Git-Tag: fop-0_93~239 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=d772a6103849f27f91a96e83a73473b343bebbbc;p=xmlgraphics-fop.git Fix compliance info on "vertical-align". Added an FAQ entry concerning the "The attribute "width" of the element is required" problem. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@400266 13f79535-47bb-0310-9956-ffa450edef68 --- 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 @@ partial - - yes + + partial 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?

See SVG Scaling.

+ + FOP fails with something like "The attribute "width" of the element <rect> is required". What's wrong? + +

+ 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. +

+

+ Bug description: In a namespace-enabled Level 3 DOM, an attribute in the default namespace must be set with + "null" 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 org.w3c.dom.Element.setAttributeNS(). +

+

+ 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 + Endorsed Standards Override Mechanism, i.e. + you must place Xalan-J in the "lib/endorsed" directory of your JRE. +

+
+
PDF specific (includes Acrobat peculiarities)