Skip to content
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

comments in template files #466

Open
floriangantner opened this issue Aug 26, 2024 · 0 comments
Open

comments in template files #466

floriangantner opened this issue Aug 26, 2024 · 0 comments

Comments

@floriangantner
Copy link

Is your feature request related to a problem? Please describe.
In template files for ReferCrosswwalk (e.g. cerif https://github.com/4Science/DSpace/blob/main-cris/dspace/config/crosswalks/template/project-cerif-xml.template ) there is currently no possibility to make comments. Comments might be necessary for questionable xml Elements or more information about the semantic for elements, for example in cerif xml the version of the openaire guidelines where some element was introduced.

Describe the solution you'd like
We would like some support for single line comment in template lines. This might by any line starting with # and trimmed by whitespaces.

When parsing the file in

private TemplateLine buildTemplateLine(String templateLine) {
, the lines might be first checked for the comment sign and if so skipped and not be added to the templatelines

Describe alternatives or workarounds you've considered

  • make comments in git issues or other tracking systems

Additional context

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants
@floriangantner and others