{"id":16178916,"url":"https://github.com/julian-eggers/xpath-helper","last_synced_at":"2026-01-21T16:35:14.279Z","repository":{"id":30584907,"uuid":"34139993","full_name":"julian-eggers/xpath-helper","owner":"julian-eggers","description":"XPath helpers based on Xom","archived":false,"fork":false,"pushed_at":"2021-08-02T04:15:24.000Z","size":126,"stargazers_count":1,"open_issues_count":11,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-22T01:57:06.282Z","etag":null,"topics":["java","xml","xml-parser","xom","xpath"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/julian-eggers.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-04-17T21:02:57.000Z","updated_at":"2020-04-26T18:42:39.000Z","dependencies_parsed_at":"2022-09-11T20:30:40.031Z","dependency_job_id":null,"html_url":"https://github.com/julian-eggers/xpath-helper","commit_stats":null,"previous_names":[],"tags_count":22,"template":false,"template_full_name":null,"purl":"pkg:github/julian-eggers/xpath-helper","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/julian-eggers%2Fxpath-helper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/julian-eggers%2Fxpath-helper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/julian-eggers%2Fxpath-helper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/julian-eggers%2Fxpath-helper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/julian-eggers","download_url":"https://codeload.github.com/julian-eggers/xpath-helper/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/julian-eggers%2Fxpath-helper/sbom","scorecard":{"id":541356,"data":{"date":"2025-08-11","repo":{"name":"github.com/julian-eggers/xpath-helper","commit":"c5cf0bfa0e359eaff2333003765dfdfe1f069012"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.1,"checks":[{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":0,"reason":"Found 1/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/nightly.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/julian-eggers/xpath-helper/nightly.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/nightly.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/julian-eggers/xpath-helper/nightly.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/nightly.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/julian-eggers/xpath-helper/nightly.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/julian-eggers/xpath-helper/release.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:32: update your workflow using https://app.stepsecurity.io/secureworkflow/julian-eggers/xpath-helper/release.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:35: update your workflow using https://app.stepsecurity.io/secureworkflow/julian-eggers/xpath-helper/release.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/review.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/julian-eggers/xpath-helper/review.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/review.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/julian-eggers/xpath-helper/review.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/review.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/julian-eggers/xpath-helper/review.yml/master?enable=pin","Info:   0 out of   9 GitHub-owned GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/nightly.yml:1","Warn: no topLevel permission defined: .github/workflows/release.yml:1","Warn: no topLevel permission defined: .github/workflows/review.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact 0.6.0 not signed: https://api.github.com/repos/julian-eggers/xpath-helper/releases/25898770","Warn: release artifact 0.6.0-RC1 not signed: https://api.github.com/repos/julian-eggers/xpath-helper/releases/24613743","Warn: release artifact 0.5.3-RELEASE not signed: https://api.github.com/repos/julian-eggers/xpath-helper/releases/13933607","Warn: release artifact 0.5.2-RELEASE not signed: https://api.github.com/repos/julian-eggers/xpath-helper/releases/13588414","Warn: release artifact 0.5.1-RELEASE not signed: https://api.github.com/repos/julian-eggers/xpath-helper/releases/13490105","Warn: release artifact 0.6.0 does not have provenance: https://api.github.com/repos/julian-eggers/xpath-helper/releases/25898770","Warn: release artifact 0.6.0-RC1 does not have provenance: https://api.github.com/repos/julian-eggers/xpath-helper/releases/24613743","Warn: release artifact 0.5.3-RELEASE does not have provenance: https://api.github.com/repos/julian-eggers/xpath-helper/releases/13933607","Warn: release artifact 0.5.2-RELEASE does not have provenance: https://api.github.com/repos/julian-eggers/xpath-helper/releases/13588414","Warn: release artifact 0.5.1-RELEASE does not have provenance: https://api.github.com/repos/julian-eggers/xpath-helper/releases/13490105"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":9,"reason":"1 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-j288-q9x7-2f5v"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 6 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-20T08:16:50.407Z","repository_id":30584907,"created_at":"2025-08-20T08:16:50.407Z","updated_at":"2025-08-20T08:16:50.407Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28635929,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-21T15:01:31.228Z","status":"ssl_error","status_checked_at":"2026-01-21T14:42:58.942Z","response_time":86,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["java","xml","xml-parser","xom","xpath"],"created_at":"2024-10-10T05:24:52.850Z","updated_at":"2026-01-21T16:35:14.259Z","avatar_url":"https://github.com/julian-eggers.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"xpath-helper\n============\n\n[![Maven Central](https://img.shields.io/maven-metadata/v/http/central.maven.org/maven2/com/itelg/xpath-helper/maven-metadata.xml.svg)](https://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22com.itelg%22%20AND%20a%3A%22xpath-helper%22)\n[![Codacy Badge](https://api.codacy.com/project/badge/grade/d69f266924be4b68ba7fb24cb3d49c15)](https://www.codacy.com/app/eggers-julian/xpath-helper)\n[![Coverage Status](https://coveralls.io/repos/julian-eggers/xpath-helper/badge.svg)](https://coveralls.io/r/julian-eggers/xpath-helper)\n[![Build Status](https://travis-ci.org/julian-eggers/xpath-helper.svg?branch=master)](https://travis-ci.org/julian-eggers/xpath-helper)\n\nXPath helpers based on [XOM](http://www.xom.nu/ \"XOM\")\n\n#### Maven\n```xml\n\u003cdependency\u003e\n\t\u003cgroupId\u003ecom.itelg\u003c/groupId\u003e\n\t\u003cartifactId\u003expath-helper\u003c/artifactId\u003e\n\t\u003cversion\u003e0.6.0\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\n#### Supported methods\n```java\ngetNodes() : Nodes\ngetNodeList() : List\u003cNode\u003e\nhasNodes() : boolean\nhasNode() : boolean\ngetFirstNode() : Node\ngetFirstElement() : Element\ngetLastNode() : Node\ngetLastElement() : Element\ngetString() : String\ngetNullableString() : String\ngetDouble() : Double\ngetPDouble() : double\ngetInteger() : Integer\ngetInt() : int\ngetLong() : Long\ngetPLong() : long\ngetBoolean() : Boolean\ngetBool() : boolean\ngetZonedDateTime() : ZonedDateTime\ngetLocalDateTime() : LocalDateTime\ngetLocalDate() : LocalDate\ngetEnum() : Enum\u003cE\u003e\n```\n\n#### AbstractParser-Example\n```java\npublic static void main(String[] args) throws Exception\n{\n\tString xml = \"\u003cdata\u003e\u003cstringValue\u003eTest\u003c/stringValue\u003e\"\n\t\t\t+ \"\u003cdoubleValue\u003e1.12\u003c/doubleValue\u003e\"\n\t\t\t+ \"\u003ctestEnum\u003eVALUE\u003c/testEnum\u003e\u003c/data\u003e\";\n\tTestClass testClass = new TestParser().parse(xml);\n\tSystem.out.println(testClass);\n}\n\npublic static class TestParser extends AbstractParser\u003cTestClass\u003e\n{\n\t@Override\n\tprotected TestClass doParse(Element rootElement) throws Exception\n\t{\n\t\tTestClass test = new TestClass();\n\t\ttest.stringValue = XPathHelper.getString(\"stringValue\", rootElement);\n\t\ttest.doubleValue = XPathHelper.getDouble(\"doubleValue\", rootElement);\n\t\ttest.testEnum = XPathHelper.getEnum(\"testEnum\", TestClass.TestEnum.class, rootElement);\n\t\treturn test;\n\t}\n}\n\npublic static class TestClass\n{\n\tprivate String stringValue;\n\tprivate Double doubleValue;\n\tprivate TestEnum testEnum;\n\t\n\t@Override\n\tpublic String toString()\n\t{\n\t\treturn \"TestClass [stringValue=\" + stringValue + \", doubleValue=\" + doubleValue + \", testEnum=\" + testEnum + \"]\";\n\t}\n\n\tprivate enum TestEnum\n\t{\n\t\tVALUE;\n\t}\n}\n```\n\n#### Plain-Example\n```java\npublic static void main(String[] args) throws Exception\n{\n\tString xml = \"\u003cdata\u003e\u003cstringValue\u003eTest\u003c/stringValue\u003e\"\n\t\t\t+ \"\u003cdoubleValue\u003e1.12\u003c/doubleValue\u003e\u003c/data\u003e\";\n\tElement rootElement = DocumentHelper.getRootElement(xml);\n\tSystem.out.println(XPathHelper.getString(\"stringValue\", rootElement));\n\tSystem.out.println(XPathHelper.getDouble(\"doubleValue\", rootElement));\n}\n```\n\n\n\n## Build \u0026 Release\n\n### Build\n```\nmvn clean package\n```\n\n### Release\n```\nmvn clean deploy\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjulian-eggers%2Fxpath-helper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjulian-eggers%2Fxpath-helper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjulian-eggers%2Fxpath-helper/lists"}