The Problem is solved. Thank Jeremias.  

My old enviroment: 
Microsoft Windows XP [Version 5.1.2600]
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_12-b03)

With no modifications it didn't work with a sun 1.4.2 JVM. With the JVM
JDK1.5.0_08-b03 it works fine. The namespace declarations will print in the
XMP metadata. 

If i modify startscript of fop it will also work with the 1.4.2 JVM. 

(Windows) 
-Xbootclasspath/p:"%LIBDIR%\serializer-2.7.0.jar;%LIBDIR%\xalan-2.7.0.jar"

(Unix)
-Xbootclasspath/p:\"${FOP_HOME}/lib/serializer-2.7.0.jar:${FOP_HOME}/lib/xalan-2.7.0.jar\

I didn't need the "Trunk" version. It works with the fop-0.02beta release. 

Regards Martin

Am Mon, 25 Sep 2006 07:23:47 +0200 schrieb Jeremias Maerki:
> Martin has sent me a PDF off-line and I know now what the problem is.
> The XMP metadata generated in the PDF does not contain any namespace
> declarations. That's why Acrobat complains about the metadata. Martin,
> what the environment you're using?
> - JVM brand and version
> - Operating system, version and platform
> - Content of the endorsed directory in the JRE (i.e. have you replaced
> any of the JAXP/XML JARs with different ones?)
> 
> There is something wrong with the XML libraries (most probably the XSLT
> implementation) you're using in your environment.
> 
> On 24.09.2006 21:48:21 Martin Xenakis wrote:
>> I have try the trunk Version of 0.92beta. But still the same problem. I
>> think that the Arcrobat didn't find any Metadata. 
>> 
>> With jhove i can see the metadata. But the people will often use the
>> Acrobat Preflight funktion.
>> 
>> 
>> Am Fri, 22 Sep 2006 21:16:43 +0200 schrieb Jeremias Maerki:
>> 
>>> PDF/A support in 0.92beta is somewhat incomplete. Adobe Acrobat is
>>> definitely buggy. I've filed three bugs with Adobe. Not that I got any
>>> reply on my bug reports. FOP Trunk (from Subversion) has its own problems
>>> sorted out. It even does work-arounds to keep buggy Acrobat happy.
>>> 
>>> So please retry with FOP Trunk.
>>> 
>>> On 22.09.2006 09:26:43 Martin Xenakis wrote:
>>>> Hi,
>>>> 
>>>> i have a Problem with the "preflight" funktion in Adope Acrobat. 
>>>> I create a PDF/A with Apache fop-0.02beta with the option -pdfa1b. 
>>>> 
>>>> I embedded all fonst and the creation ends without an error. 
>>>> 
>>>> But then i test the PDF file with the Preflight funktion from Acrobat 7.0.8
>>>> i receive this Message:
>>>> 
>>>> "Metadata does not conform to XMP" (no future Details)
>>>> 
>>>> I use the profile "Compiant with PDF/A-1b.  
>>>> 
>>>> So, is it a Apache FOP problem or a Acrobat problem or my problem?
> 
> 
> Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to