highsource / highsource/jaxb-tools

Parsing mixed content only provides partial data

Open
#187 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
465
Forks
105
PR merge metrics
No merged PRs in 30d

Description

I'm parsing a public dataset of scientific articles the [DTD](http://dtd.nlm.nih.gov/ncbi/pubmed/out/pubmed_190101.dtd) of which has the following definition for the title:
```

```
This is mapped to a class with several attributes and an @XmlValue annotated String field. When parsing xml data this yields only the last bit of content after the final nested tag. For example, this input:
`Sterols regulate endocytic pathways during flg22-induced defense responses in Arabidopsis.`
Results in an articletitle containing just the final dot. Do I need to setup some kind of custom handling or configuration for this field, or is this an issue with the plugin?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.