test: integration tests for bib.sync against real Zotero schema #249

Closed
opened 2026-03-25 18:23:32 +00:00 by kert · 0 comments
Owner

Root cause of regressions

  • Key charset: 0, 1, O, lowercase invalid in Zotero
  • Creators: must use creators/itemCreators tables, not extra
  • Item types: journalArticle for PubMed, not document
  • Timestamps: YYYY-MM-DD HH:MM:SS, not ISO T/Z
  • XML: itertext() for mixed-content ArticleTitle

Tasks

  • Fixture: minimal Zotero schema SQLite
  • Test: valid keys (allowedKeyChars)
  • Test: creators for journal articles
  • Test: DOI/PMID/publicationTitle fields
  • Test: timestamp normalization
  • Test: mixed-content XML parsing
## Root cause of regressions - Key charset: 0, 1, O, lowercase invalid in Zotero - Creators: must use creators/itemCreators tables, not extra - Item types: journalArticle for PubMed, not document - Timestamps: YYYY-MM-DD HH:MM:SS, not ISO T/Z - XML: itertext() for mixed-content ArticleTitle ## Tasks - [ ] Fixture: minimal Zotero schema SQLite - [ ] Test: valid keys (allowedKeyChars) - [ ] Test: creators for journal articles - [ ] Test: DOI/PMID/publicationTitle fields - [ ] Test: timestamp normalization - [ ] Test: mixed-content XML parsing
kert closed this issue 2026-04-10 01:49:03 +00:00
Sign in to join this conversation.