Schema building
Posted by mholmes on 03 Jul 2007 in Activity log
Started working on the schema for teiJournal, with Roma and a sample document, which I'm also marking up, bit by bit. I hit two problems today:
- The
<affiliation>element was not available as a sibling of<name>. I want to use it as part of the<biblStruct>which will appear in the<sourceDesc>, from which all other title/author info in the document is derived, and so I need to put the affiliation into the author tag, but<affiliation>is not part ofmodel.addressLike. I confirmed that with the TEI list, and then customized my ODD file and generated a new schema which allows me to use it where I need it. - My plan to use XInclude to reduce duplication and redundancy in the TEI file has been somewhat undermined by the fact that oXygen cannot validate a file which contains XIncludes pointing at other locations in the same document. There seems to be no workaround. I've posted a message to the oXygen forums (which were down for most of the day). If this doesn't work, I need to make sure at the very least that eXist can handle the expansion of such XIncludes, otherwise the whole plan will be scuppered, and we'll have to go back to having three copies of the title and authors in the TEI file. That's really bad from the point of view of making life bearable for folks doing markup.