martindholmes / BreezeMap

BreezeMap is a project to create a simple user interface for interactive map and facsimile editing based on TEI XML and OpenLayers 4+.
MIT License
11 stars 3 forks source link

Test data not valid against tei_all #42

Closed martindholmes closed 2 years ago

martindholmes commented 3 years ago

I'm using a graphic element directly in the desc element, and that doesn't seem to be valid; and I have one case of multiple p elements inside a desc, which also seems to be invalid. I need to settle on alternative ways of doing these things.

martindholmes commented 2 years ago

Working on this in branch issue-42-validity.

martindholmes commented 2 years ago

The issue with p in desc is solved in commit 8ba7bc6 on the branch; the graphic problem remains.

martindholmes commented 2 years ago

I think the answer is to use <graphic> nested inside <objectType>, which is a reasonable fit from a semantic point of view. Testing that now.

martindholmes commented 2 years ago

Work finished and documentation updated at commit 3b00404. Merged into dev, and closing the ticket.