[ 
https://issues.apache.org/jira/browse/TIKA-4814?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18105381#comment-18105381
 ] 

ASF GitHub Bot commented on TIKA-4814:
--------------------------------------

henry-lindeman-glean commented on PR #3018:
URL: https://github.com/apache/tika/pull/3018#issuecomment-5321274624

   @tballison I think I addressed all the agent review concerns (also ran 
several rounds of ai review myself). Can I get another look? lmk if you want me 
to break it up / re-squash. I also have some code for handling lists and tables 
that I've left out for another PR since this one was getting big.




> Onenote parsing only takes last item on each page
> -------------------------------------------------
>
>                 Key: TIKA-4814
>                 URL: https://issues.apache.org/jira/browse/TIKA-4814
>             Project: Tika
>          Issue Type: Bug
>          Components: parser
>    Affects Versions: 3.3.2
>         Environment:  
> {code:java}
> ❯ java --version
> openjdk 26.0.2 2026-07-21 OpenJDK Runtime Environment Homebrew (build 26.0.2) 
> OpenJDK 64-Bit Server VM Homebrew (build 26.0.2, mixed mode, sharing)
> ❯ uname -a
> Darwin Henrys-MBP.localdomain 25.6.0 Darwin Kernel Version 25.6.0: Sat Jul 11 
> 15:25:34 PDT 2026; root:xnu-12377.161.13~4/RELEASE_ARM64_T6020 arm64{code}
>            Reporter: Henry Lindeman
>            Priority: Major
>         Attachments: Downloadme.onepkg
>
>
> I made a test onenote file and tried to parse it with the cli as described in 
> the tika readme, and it only showed the last element on each page
> {code:java}
> ❯ java -jar tika-app/target/tika-app-4.0.0-SNAPSHOT.jar --text 
> ../datasets/onenote/ToDownload/Downloadme.onepkg
> INFO [main] 12:56:37,927 org.apache.tika.cli.TikaCLI As a convenience, 
> TikaCLI has turned on several non-default features
> as specified in 
> tika-app/src/main/resources/tika-config-default-single-file.json.
> See: TIKA-2374, TIKA-4017, TIKA-4354 and TIKA-4472).
> This is not the default behavior in Tika generally or in tika-server.
> Downloadme/Open Notebook.onetoc2
> Downloadme/Untitled Section.one
> Highlighted Text
> Comic sans
> Downloadme/Section 2.one 
> {code}
> onedrive sharing link: 
> [Downloadme|https://1drv.ms/o/c/98705a8ca0add89e/IgBEW7OVk9slSKq8sJeJUTkbAQ6K3mNiiRNLGRNh5sniyq0?e=g3aSgg]
>  
> I also vibe-coded a fix for this. lmk if you want it. 
> [https://github.com/henry-lindeman-glean/tika/pull/1] 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to