It looks like, that in case of PDF XMP is compulsory to be streamed. AFAIK according to
http://partners.adobe.com/public/developer/en/xmp/sdk/XMPspecification.pdf on page 100. Anyway thank You for making changes in iText. I already forwarded Your and Paulo's finding to the FOP users mailing list. Stepan > ------------ Původní zpráva ------------ > Od: 1T3XT info <[EMAIL PROTECTED]> > Předmět: Re: [iText-questions] iText 2.1.3: Invalid byte 1 of 1-byte UTF-8 > sequence Exception while processing PDF from Apache FOP 0.95 > Datum: 05.11.2008 15:09:09 > ---------------------------------------- > Stepan RYBAR wrote: > > Hello, > > > > thank You answer. But after some tests I guess, that this is not caused by > missing metadata. > > Think again. > > > Even if there are no metadata in "source.fo" > > Look at your PDF document. > In the root dictionary, there's a reference to XMP data. > /Metadata 7 0 R > If we have a look at object 5, we see: > 7 0 obj > << > /Type /Metadata > /Subtype /XML > /Length 12 0 R > /Filter /FlateDecode > >> > stream > xoe?QN~jÂ0}ü++?×?I?3¤.a){q÷\"?oem#"?ÚöIu^...?? > W+OE=îÍ9'ç"#?u.Ë=X´...]Ä?óý#büÍé1/4šÁNß7VÍA~Z6{9Qxšô{ýž¨y}¨`s? > ?žu`2ÍÂ~ÂQ]Y]¨Ýómy^(2)1?-^^(1)}'f0G'l8¤sX?T' > &^(1)swEUR^(2)Ço`D++"E`ëË(c)HÇü/yÜ/[EMAIL > PROTECTED]'^(1)?ôvA`?EURFk6âa~ÎFW"qJé0y"é§$W^?B+xa~?3/4äîÁO~ëE`U`s??!gÍ?.}...kU^?Z? > > Oops... What's this? > This is a compressed XMP stream. > That's not allowed in PDF! > -- > This answer is provided by 1T3XT BVBA > http://www.1t3xt.com/ - http://www.1t3xt.info > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > iText-questions mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/itext-questions > > Buy the iText book: http://www.1t3xt.com/docs/book.php > > > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php
