[ https://issues.apache.org/jira/browse/PDFBOX-2640?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14296888#comment-14296888 ]
ASF subversion and git services commented on PDFBOX-2640: --------------------------------------------------------- Commit 1655672 from [~msahyoun] in branch 'pdfbox/trunk' [ https://svn.apache.org/r1655672 ] PDFBOX-2640 correct resolving /Kids entries > Fields within a fields kids entry are not correctly recognized > --------------------------------------------------------------- > > Key: PDFBOX-2640 > URL: https://issues.apache.org/jira/browse/PDFBOX-2640 > Project: PDFBox > Issue Type: Bug > Components: AcroForm > Affects Versions: 2.0.0 > Reporter: Maruan Sahyoun > Assignee: Maruan Sahyoun > Fix For: 2.0.0 > > > From the users mailing list: > I'm using latest PDFBox 2.0.0 snaphots for filling out a form. Processing was > working fine both for AcroForm fields and for XFA, but latest changes > (probably sometimes between Jan 22 - Jan 25) caused that fields in a form are > not discovered. > The file I'm using is available here: http://www.msmt.cz/file/34489_1_1/ > When I run PrintFields from examples - > http://svn.apache.org/viewvc/pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/fdf/PrintFields.java?view=markup > - on the file, the output I get is: > 1 top-level fields were found on the form > |--topmostSubform[0] > But when I use older version of 2.0.0 branch, all fields are printed: > 1 top-level fields were found on the form > |--topmostSubform[0] > | |--topmostSubform[0].Page1[0] > | | |--topmostSubform[0].Page1[0]._01_Subtitul[0], > type=org.apache.pdfbox.pdmodel.interactive.form.PDComboBox > | | |--topmostSubform[0].Page1[0]._02_Registrovany_Nazev[0], > type=org.apache.pdfbox.pdmodel.interactive.form.PDTextField > | | |--topmostSubform[0].Page1[0]._03_Ulice[0], > type=org.apache.pdfbox.pdmodel.interactive.form.PDTextField > | | |--topmostSubform[0].Page1[0]._04_Mesto[0], > type=org.apache.pdfbox.pdmodel.interactive.form.PDTextField > | | |--topmostSubform[0].Page1[0]._05_PSC[0], > type=org.apache.pdfbox.pdmodel.interactive.form.PDTextField > ... > The problem seems to be at the line: > List<COSObjectable> kids = field.getKids(); > The list is empty for the top-level field. Anyone has a clue what could be > wrong? -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org