0 голосов
369 просмотров

We ran a schema check over one of our projects and see that there are 50 items marked as being wrong.
Some of them are
Unfinished content model 'verse"
unexpected characters
unfinished content model "char"
bad attribute name: “closed”

How do we go about cleaning these up?

Старое сообщение — показано на исходном языке
Paratext от (478 очков) | 369 просмотров

3 Ответов

+1 голос
Лучший ответ

Some very innocuous looking markers can cause a schema error, that in turn causes another schema error, and so on.

All the books in our project start with a \id\ and an \ide marker. Then, before the \h marker, I have a number of \rem makers followed by info/metadata about the ongoing project, and also one \sts status marker, thus:

\sts Сиёҳнависи 6-ум 

(The text after the marker means “Draft 6” – which is not really a draft, but the final version.) The schema check trips up totally on this marker, and produces 50 errors in chapter 1, verse 1 of each book.

I’m writing this in case anyone else is using the \sts marker, but also because, to me, this seems to be a bug, and one that the DBL folks have a responsibility to fix. I’m using a USFM marker in a place where it’s allowed, and I have to do half an hour of detective work to work out that the schema for XML export doesn’t understand my allowed marker! Even if it took a few hours of a programmer’s time to fix it, surely it would save more time by eliminating the need for so many of us to wrestle with it.

Старое сообщение — показано на исходном языке
от (1,4тыс. очков)
снова показан
0 голосов

Unfortunately there is no easy answer as to how to correct errors listed in the schema check. Usually it requires detective work to try and figure out what might be causing the issue. Someone who has worked with the schema checks a lot might have more experience with a particular error.

The first assumption is that all other checks run clean (particularly the character and marker checks). One of the first things I’d look for is unusual formatting in footnotes or extra text. Are character styles nested when they are inside other character styles? Are there any unusual characters?

Старое сообщение — показано на исходном языке
от (9,9тыс. очков)

Thank you anon848905. On this project there was an issue where the reference check was failing. We found out why it was failing and the team will work on getting it cleaned up. Once we have that fixed, we’ll re-run the schema check and see where we are.

Старое сообщение — показано на исходном языке
0 голосов

Hi MSEAIT/LT

If you have not yet figured it out, send me a backup via file, backup.
If you can place it on a drop box ot google drive and give me access to
it I can take a look at it. Those msgs are very cryptic and geared
toward the programmer, not the user.

We can’t receive zip files thru email, even if the it is renamed to
something other than a zip file, whicjh is why I requested access via
dropbox or google drive.

No promises, but I will take a look at it.

D anon467281

Global Publishing Services
Scripture Typesetting trainer & Regular Expression "specialist"
Dallas, TX

Старое сообщение — показано на исходном языке
от (571 очков)
снова показан

Похожие вопросы

0 голосов
3 ответов 791 просмотров
Следующий стих: \v 3 Ti oom pícimpaŋ pakan keemeeŋe kéekuuñe nkahinto: kéefuume, kéehute niŋ payenka nkanow niŋ efank.\ ... есть какая-то скрытая проблема, которую нужно решить???
anon095293 129 задал вопрос фев 8, 2023
0 голосов
1 ответ 246 просмотров
Не могли бы вы подсказать, есть ли хороший способ извлечь заголовки разделов из эталонного проекта. Я пробовал копировать ... спасибо, я очень ценю вашу помощь. C. anon342075
Thiyagarajan 112 задал вопрос сен 12, 2022
0 голосов
1 ответ 198 просмотров
We have a user that makes use of a custom project location, but is now seeing a message saying that it "can't ... registry setting for this, but cannot find any information on it.
MSEAIT_LT 478 задал вопрос июл 25, 2018
0 голосов
1 ответ 328 просмотров
I have a user who unknowingly setup their Interlinearizer with the SAME language (the language of the translation project ... New Guinea [Email Removed].pgmailto:[Email Removed].pg
SIL LSS PNG 411 задал вопрос сен 15, 2017
0 голосов
1 ответ 50 просмотров
В одном из проектов перевода, над которым я работаю, пришлось объединить два стиха в один из-за структуры языка. ... стихи как действительную ссылку на стих. Как мне это сделать?
Rɔnelh 199 задал вопрос мар 18
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
There is neither Jew nor Gentile, neither slave nor free, nor is there male and female, for you are all one in Christ Jesus.
Galatians 3:28
3,049 вопросов
6,007 ответов
5,672 комментариев
2,029 пользователей