0
367 次浏览

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 分) 发布 | 367 次浏览

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.4k 分) 发布
已重新显示
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.9k 分) 发布

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.\f + \fr 5:3 \ft An ámiit man Saŋ ... 那么,我们是否应该直接忽略这些错误,还是存在需要解决的潜在问题???
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 次浏览
我参与的一个翻译项目由于语言结构的原因,不得不将两节经文合并为一节 因此,我将经文编号设为 "\v 25-26",但这导致 Paratext 在基本检查(Basic Checks)中将其标记为 无效的经文引用 (invalid verse ... 圣经术语工具等其他区域的问题 我希望 Paratext 能识别合并后的经文为有效的经文引用 我该怎么做?
Rɔnelh 199 发布 提问于 三月 18
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
I urge you, brothers and sisters, to watch out for those who cause divisions and put obstacles in your way that are contrary to the teaching you have learned. Keep away from them.
Romans 16:17
3,049 个问题
6,007 个回答
5,672 条评论
2,029 位用户