-
Notifications
You must be signed in to change notification settings - Fork 64
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
Add functional metadata for 'docType' metadata #4906
Add functional metadata for 'docType' metadata #4906
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please also update the example rulesets in Kitodo/rulesets
directory. As I understand your comment, this is necessary. Or isn’t it?
@@ -111,17 +113,23 @@ public NodeList getMetadataNodes() { | |||
* of type "docType" and if its value equals the type of the logical root element. If not, the | |||
* logical root is set to the value of the "docType" metadata. | |||
* | |||
* This function is currently only used for the import of prestructured processes. | |||
* <p>This function is currently only used for the import of prestructured processes.</p> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please put the <p>
on a single line (or Eclipse will reformat it sooner or later).
AFAIK, </p>
should not be used in Javadoc.
Kitodo/src/main/java/org/kitodo/production/services/data/ImportService.java
Outdated
Show resolved
Hide resolved
Kitodo/src/main/java/org/kitodo/production/helper/TempProcess.java
Outdated
Show resolved
Hide resolved
Kitodo/src/main/java/org/kitodo/production/services/data/ImportService.java
Outdated
Show resolved
Hide resolved
Kitodo/src/main/java/org/kitodo/production/services/data/ImportService.java
Outdated
Show resolved
Hide resolved
@matthias-ronge thank you for the review. I implemented most of your requested changes, apart from the |
ac2db20
to
124b009
Compare
Fixes #4863
Note: if this pull request is merged, mapping files and rulesets must be updated to include a metadata with
use="docType"
in order for import to continue to work!Edit: also fixes #3389, I think