{"id":38967621,"url":"https://github.com/exquery/xpath2-parser","last_synced_at":"2026-01-17T16:32:35.927Z","repository":{"id":49572369,"uuid":"50735626","full_name":"exquery/xpath2-parser","owner":"exquery","description":"A libre parser for XPath 2.0 in Java","archived":false,"fork":false,"pushed_at":"2024-03-12T02:50:21.000Z","size":212,"stargazers_count":14,"open_issues_count":2,"forks_count":3,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-07-26T12:08:22.920Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/exquery.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,"governance":null}},"created_at":"2016-01-30T17:23:31.000Z","updated_at":"2024-06-30T20:28:46.000Z","dependencies_parsed_at":"2023-12-04T08:46:14.901Z","dependency_job_id":null,"html_url":"https://github.com/exquery/xpath2-parser","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/exquery/xpath2-parser","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exquery%2Fxpath2-parser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exquery%2Fxpath2-parser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exquery%2Fxpath2-parser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exquery%2Fxpath2-parser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/exquery","download_url":"https://codeload.github.com/exquery/xpath2-parser/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exquery%2Fxpath2-parser/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28511868,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T13:38:16.342Z","status":"ssl_error","status_checked_at":"2026-01-17T13:37:44.060Z","response_time":85,"last_error":"SSL_read: 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":[],"created_at":"2026-01-17T16:32:35.769Z","updated_at":"2026-01-17T16:32:35.885Z","avatar_url":"https://github.com/exquery.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"XPath Parser\n============\n[![Build Status](https://github.com/exquery/xpath2-parser/actions/workflows/ci.yml/badge.svg)](https://github.com/exquery/xpath2-parser/actions/workflows/ci.yml)\n[![Java 11+](https://img.shields.io/badge/java-11+-blue.svg)](http://java.oracle.com)\n[![License](https://img.shields.io/badge/license-GPL%202-blue.svg)](https://www.gnu.org/licenses/gpl-2.0.html)\n\nThis library implements a complete XPath 2 Parser in Java 11, using [Parboiled](https://github.com/sirthias/parboiled).\n\nThe parser generates an AST (Abstract Syntax Tree) which you can then use in your own application for whatever you wish. The class [XPathUtil](https://github.com/exquery/xpath2-parser/blob/master/src/main/java/com/evolvedbinary/xpath/parser/XPathUtil.java) shows how the parser can be used. You can also execute `XPathUtil` as an application if you want to understand the node-tree produced by the parser.\n\n\nObtaining\n---------\nThe [compiled artifact](http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22com.evolvedbinary.xpath%22%20AND%20a%3A%22xpath2-parser%22) can be obtained from Maven Central by adding the following to the `\u003cdependencies\u003e` section of your `pom.xml`:\n```xml\n\u003cdependency\u003e\n    \u003cgroupId\u003ecom.evolvedbinary.xpath\u003c/groupId\u003e\n    \u003cartifactId\u003expath2-parser\u003c/artifactId\u003e\n    \u003cversion\u003e1.0\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\nIf you are a Scala, Groovy or Clojure person then you can still use the artifact from Maven Central with your favourite build tool, however I will assume you know what your doing ;-)\n\n\nFuture Work\n-----------\n* Provide some tutorials or better documentation\n* Update this to XPath 3.1...\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexquery%2Fxpath2-parser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fexquery%2Fxpath2-parser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexquery%2Fxpath2-parser/lists"}