XML/PDF Access API for Java

Version 1.0

Readme File

July 2004

Copyright 2004 Adobe Corporation. All rights reserved.

This file contains important information that was not available when the product documentation was written.


Contents

Known Issues


Known Issues

XML/PDF Access API for Java throws a PDFIOException when doing an annotation import followed by an XFA data import

In situations where annotations and XML Forms Architecture (XFA) data are represented in an XDP packet and annotations are imported followed by XFA data, XML\PDF Access API for Java throws a PDFIOException: Bad file descriptor exception.

The pdfDocument.importAnnotations(xmlInputStream) method reads xmlInputStream to its end. Then the pdfDocument.importFormData(xmlInputStream) method attempts to read the same InputStream object, which is at its end. As a result, an exception is thrown because the method cannot read from an InputStream object that is at its end. An application that wants to import different data from the same InputStream object needs to reset it to its beginning before calling additional import methods.

Back to Contents


XML/PDF Access API for Java fails to read XDP files that are created in Adobe Designer 6, 0, 040428, 1

XML/PDF Access API for Java fails to read an XDP file that is created in Adobe Designer 6, 0, 040428, 1. If XML/PDF Access API for Java methods use an XDP file that is created in Designer, an exception is thrown that states: 

[errorMessage : Caught exception: Stream does not represent a PDF document.]

Back to Contents