Invalid book metadata because title introduce in copyright statement
cc @douglassue
Expected behaviour
BCMS writes valid chapter-procesed book metadata
Current behaviour
Loading error because of invalid chapter-processed book metadata because title is introduced in copyright statement
Steps to reproduce
- Go to: https://ncbi.cloud68.co/organizations/97635691-11c5-482c-adcb-d16e69b49e79/bookmanager/799879f1-884f-4c61-927b-bfd882230e44/b5cd01df-45e3-429b-82ac-beebb49896a0
- Go to Errors
- See error:
toc.xml: Invalid XML.
-:97: element copyright-statement: validity error :
Element title is not declared in copyright-statement list of possible children
so encouraged and may be created without seeking permission</copyright-statement
^
-:99: element license-p: validity error :
Element title is not declared in license-p list of possible children
he Attribution-NonCommercial-NoDerivs 3.0 Unported (CC BY-NC-ND 3.0).</license-p
^
Environment
[Provide browser name and version and if you're working from a PC or Mac]
Possible solution
[Not required. Suggest a fix for the bug]
NCBI's priority feedback
Y, for deployment for processing and accurate metadata display
QA Steps
- Create a WORD complete book (the case is the same for other types of books as well)
- Upload the converted file as in example link above
- Fill the metadata modal section about
Permissions
by adding a copyright and license statement. Save the changes - Reload the preview.
- After reload has finished, on the errors, there shouldn't be errors as above.