[sword-devel] OSIS Tags

Troy A. Griffitts sword-devel@crosswire.org
Wed, 24 Dec 2003 14:46:41 -0700


David,
	There are 2 problems that I see at first glance, and maybe someone can 
correct me if I'm wrong:

1) Multiple attributes with the same name are not allowed in XML, i.e. 
you can't have 2 lemma attributes in your markup.  The correct way to 
encode this is to place both lemma codes in the value of a single lemma 
attribute, separated by a space:  lemma="code1 code2"

2) I think the numbers in the WH text above the standard strongs range 
were Online Bible Morphology tags.  So I think the 5631 number is above 
the standard range and means something in regard to the parsing of the 
word.  It isn't a Robinson code, so x-Robinson:5631 would not be 
appropriate.  I'm not sure we have a name for them, but maybe something 
like x-Thayer:5631 might work.  I'm sure someone (Chris) has a better 
suggestion on how to handle these.  It might be suggested to just remove 
them since There is also robinson's codes for each, and they are much 
more informative.

So in summary, my suggestion would be:

...<w lemma="x-Strongs:G1452" morph="x-Robinson:V-2AAP-NSM 
x-Thayer:5631">...



RDN12345@aol.com wrote:
> This is from the new W.H. text (utf8 encoded) the first word has 2 Strong's 
> numbers, can anyone tell me where I have made the mistake in the OSIS markup?
> 
> David
> 
> Matt 5:1 <w lemma="x-Strongs:G1492" lemma="x-Strongs:G5631" 
> morph="x-Robinson:V-2AAP-NSM">ἰδὼν</w> <w lemma="x-Strongs:G1161" 
> morph="x-Robinson:CONJ">δὲ</w> <w lemma="x-Strongs:G3588" morph="x-Robinson:T-APM">τοὺς</w> 
> <w lemma="x-Strongs:G3793" morph="x-Robinson:N-APM">ὄχλους</w> <w 
> lemma="x-Strongs:G305" lemma="x-Strongs:G5627" 
> morph="x-Robinson:V-2AAI-3S">ἀνέβη</w> <w lemma="x-Strongs:G1519" morph="x-Robinson:PREP">εἰς</w> <w 
> lemma="x-Strongs:G3588" morph="x-Robinson:T-ASN">τὸ</w> <w 
> lemma="x-Strongs:G3735" morph="x-Robinson:N-ASN">ὄρος</w>, <w lemma="x-Strongs:G2532" 
> morph="x-Robinson:CONJ">καὶ</w> <w lemma="x-Strongs:G2523" 
> lemma="x-Strongs:G5660" morph="x-Robinson:V-AAP-GSM">καθίσαντος</w> <w 
> lemma="x-Strongs:G846" morph="x-Robinson:P-GSM">αὐτοῦ</w> <w 
> lemma="x-Strongs:G4334" lemma="x-Strongs:G5627" 
> morph="x-Robinson:V-2AAI-3P">προσῆλθαν</w> [<w lemma="x-Strongs:G846" morph="x-Robinson:P-DSM">αὐτῷ</w>] <w 
> lemma="x-Strongs:G3588" morph="x-Robinson:T-NPM">οἱ</w> <w 
> lemma="x-Strongs:G3101" morph="x-Robinson:N-NPM">μαθηταὶ</w> <w lemma="x-Strongs:G846" 
> morph="x-Robinson:P-GSM">αὐτοῦ·</w>
> _______________________________________________
> sword-devel mailing list
> sword-devel@crosswire.org
> http://www.crosswire.org/mailman/listinfo/sword-devel