-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Formally specify PICA Path expression syntax #109
Comments
Based on additions and different design choices by @niko2342 in pica-rs I tried to create a common subset to unify PICA Path expression syntax. The dev branch contains a new PICA Path expression syntax that should be like this:
Some features are not supported by pica-rs yet (deutsche-nationalbibliothek/pica-rs#346) and I am not sure whether occurrence in "[...]" and positions should be part of the core syntax or optional extensions, such as making the The introduction of In a path without occurrence, the occurrence is set to default value zero
This is also a breaking change. Until version 1.34 the path expression |
See http://format.gbv.de/query/picapath for current state. |
PICA::Path should include a formal grammar of PICA Path expression syntax. The current implementation is:
And some additionals checks on occurrence and position ranges.
The syntax will be extended by conditions/subspects (#108) and x-counters (#97).
The text was updated successfully, but these errors were encountered: