https://github.com/phax/ph-xpath2
The attempt to create a pure Java XPath2 parser and interpreter
https://github.com/phax/ph-xpath2
Last synced: 10 months ago
JSON representation
The attempt to create a pure Java XPath2 parser and interpreter
- Host: GitHub
- URL: https://github.com/phax/ph-xpath2
- Owner: phax
- License: apache-2.0
- Created: 2015-03-20T11:06:26.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2019-12-11T19:15:46.000Z (over 6 years ago)
- Last Synced: 2025-02-24T11:18:09.529Z (about 1 year ago)
- Language: Java
- Size: 339 KB
- Stars: 3
- Watchers: 6
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# ph-xpath2
The attempt to create a pure Java XPath2 parser and interpreter.
Current status: grammar looks good. Currently working on the transition from syntax nodes to a domain model.
# Maven usage
No Maven release of this artifact was published so far, so you need to use the source version.
# Grammar
The grammar is defined for JavaCC and resides in `src/main/jjtree/ParserXP2.jjt`.
The Java code generation of the grammar happens with the [ph-javacc-maven-plugin](https://github.com/phax/ph-javacc-maven-plugin) Maven plugin.
# Building from source
Just run `mvn clean install` to get the current version build.
No external Maven repositories are needed.
# Relevant links
* https://www.w3.org/TR/xpath20/ XML Path Language (XPath) 2.0 (Second Edition)
* https://www.w3.org/TR/xmlschema-2/ XML Schema Part 2: Datatypes Second Edition
* https://www.w3.org/TR/xpath-functions/ XQuery 1.0 and XPath 2.0 Functions and Operators (Second Edition)
---
My personal [Coding Styleguide](https://github.com/phax/meta/blob/master/CodingStyleguide.md) |
On Twitter: @philiphelger