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

switch to alternative method for generating IDs of new files #18

Open
bwbohl opened this issue Mar 20, 2017 · 0 comments
Open

switch to alternative method for generating IDs of new files #18

bwbohl opened this issue Mar 20, 2017 · 0 comments
Milestone

Comments

@bwbohl
Copy link
Member

bwbohl commented Mar 20, 2017

currently the the value of the form filed filename/ID will be used for:

  • FILENAME.xml
  • /mei/@xml:id
  • /mei/fileDesc/titleStmt/title/text()

At least concerning /mei/@xml:id and the FILENAME this is highly unstable and might lead to invalid filenames or XML data. There are several options, how this could be handled:

  1. use uuid generation
  2. process field value to a XML conform ID

This of course might be connected to general ID-policies in a specific project and some follow up questions:

  • Should ID and filename be identical?
  • Should the title in fileDesc be identical to the actual filename?

@nikobeer any preferences?

@bwbohl bwbohl changed the title switch to uuid for generating new files switch to alternative method for generating IDs of new files Mar 20, 2017
@bwbohl bwbohl modified the milestones: 0.2.0, 0.5.0 Jun 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant