We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I set a personal datamodel to define a mandatory field. Below a mwe:
\begin{filecontents}[overwrite]{\jobname.bib} @customa{a, author = {Author}, %title = {Title}, % mandatory field } \end{filecontents} \begin{filecontents}[overwrite]{\jobname.dbx} \DeclareDatamodelEntrytypes{customa} \DeclareDatamodelEntryfields[customa]{author, title} \DeclareDatamodelConstraints[customa]{ \constraint[type=mandatory]{ \constraintfield{title} } } \end{filecontents} \documentclass{article} \usepackage[datamodel=\jobname]{biblatex} \addbibresource{\jobname.bib} \DeclareBibliographyDriver{customa}{% \usebibmacro{author}% \newunit\newblock \usebibmacro{title}% \usebibmacro{finentry}} \begin{document} \cite{a} \printbibliography \end{document}
Note that I commented the mandatory field title. Running biber --validate-datamodel the same warning message appears twice in the .blg file:
title
biber --validate-datamodel
WARN - Datamodel: customa entry 'a' (test.bib): Missing mandatory field 'title' WARN - Datamodel: customa entry 'a' (test.bib): Missing mandatory field 'title' INFO - WARNINGS: 2
Why does biber recognize two warnings (instead of one)?
The text was updated successfully, but these errors were encountered:
Fixing #486
c77ae67
Please try the development of biber from Sourceforge.
biber
Sorry, something went wrong.
The fix works correctly. Thanks.
No branches or pull requests
I set a personal datamodel to define a mandatory field. Below a mwe:
Note that I commented the mandatory field
title
.Running
biber --validate-datamodel
the same warning message appears twice in the .blg file:Why does biber recognize two warnings (instead of one)?
The text was updated successfully, but these errors were encountered: