{"id":15580618,"url":"https://github.com/sammyjava/bsharp-pubmed","last_synced_at":"2025-07-05T19:36:18.943Z","repository":{"id":158292229,"uuid":"633964463","full_name":"sammyjava/bsharp-pubmed","owner":"sammyjava","description":"Java package for fetching content from PubMed","archived":false,"fork":false,"pushed_at":"2023-05-13T03:30:33.000Z","size":9273,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-09T08:53:46.357Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sammyjava.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-04-28T17:30:57.000Z","updated_at":"2023-04-28T17:33:56.000Z","dependencies_parsed_at":null,"dependency_job_id":"eb44049b-a8a4-4ca8-93a2-3be1f6c4d2b9","html_url":"https://github.com/sammyjava/bsharp-pubmed","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sammyjava%2Fbsharp-pubmed","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sammyjava%2Fbsharp-pubmed/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sammyjava%2Fbsharp-pubmed/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sammyjava%2Fbsharp-pubmed/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sammyjava","download_url":"https://codeload.github.com/sammyjava/bsharp-pubmed/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240889263,"owners_count":19873801,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-02T19:32:00.685Z","updated_at":"2025-02-26T16:23:57.142Z","avatar_url":"https://github.com/sammyjava.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# org.bsharp.pubmed\nJava library for searching and reading PubMed XML data.\n\n## xmlbeans\nThis package uses org.apache.xmlbeans to generate the XML schema from the `eutils.xsd` file.\nJAXB has a problem in that it doesn't handle HTML within tags (which is common in PubMed abstracts and even titles).\n\nThe xmlbeans tool that is used to parse an XSD is `scomp` as follows:\n```\nscomp -d bin -src src/main/java -out libs/eutils.jar -dl eutils.xsd \n```\nUnfortunately, `scomp` does not handle DTD files, which is what NCBI provides. I was able to obtain `eutils.xsd` from\na Github repo.\n\n## JAXB\nConversion of the DTD to XSD has been problematic. So I generated XML schema from other DTDs using the JAXB tool xjc,\nand use JAXB methods to parse those cases.\n\nUsing both xmlbeans and JAXB is clearly not optimal, but the lack of XSD for the PubMed schema is a real annoyance. But I've\nspent a lot of time trying to generate XSD from the DTDs and there always seem to be problems.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsammyjava%2Fbsharp-pubmed","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsammyjava%2Fbsharp-pubmed","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsammyjava%2Fbsharp-pubmed/lists"}