Sorry if I sound like a broken record on stand-off markup, but regarding:<br><br><blockquote style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;" class="gmail_quote">2) the quote shadow from Matt.5.3 was put after the verse marker for the
purposes of ideal location for handling, i.e, if I was planning to
render anything for this shadow element, this would be the place I would
want to handle it. Is this good or bad?<br></blockquote><br>If stand-off markup were employed, the beginning of the verse structure and the quotation structure would be at the exact same position, thus placement of any the milestoned start element would be irrelevant for processing or handling. For example, something like:<br>
<br><span style="font-family: courier new,monospace;"><?xml version="1.0" encoding="UTF-8" ?></span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"><osis xmlns="<a href="http://www.bibletechnologies.net/2003/OSIS/namespace">http://www.bibletechnologies.net/2003/OSIS/namespace</a>"></span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"><osisText osisIDWork="NASB" osisRefWork="defaultReferenceScheme" xml:lang="en"></span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> <header extRef="<a href="http://www.bibletechnologies.net/docRepo/headers/NASB.xml">http://www.bibletechnologies.net/docRepo/headers/NASB.xml</a>" /></span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> <concur></span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> <!-- @shadow = none | start | end | both --></span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> <div shadow="both" xpointer="range(#w1, w#20)" type="x-testament" /></span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> <div shadow="both" xpointer="range(#w1, w#20)" type="book" osisID="Matt" /></span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> <div shadow="both" xpointer="range(#w1, w#20)" type="chapter" osisID="Matt.6" /></span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> <verse shadow="none" osisID="Matt.6.9" xpointer="range(#w1, w#20)" /></span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> <q shadow="both" who="Jesus" level="1" xpointer="range(#w1, #w20)" /></span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> <q shadow="end" who="crowd" level="2" xpointer="range(#w9, #w20)" start-marker-xpointer="range(#w9)" /></span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> </concur></span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> <content></span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> <w xml:id="w1">Pray</w></span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> <w xml:id="w2">then</w><w xml:id="w3">,</w></span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> <w xml:id="w4">in</w></span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> <w xml:id="w5">this</w></span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> <w xml:id="w6">way</w><w xml:id="w7">:</w></span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> <w xml:id="w8">‘</w><w xml:id="w9">Our</w></span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> <w xml:id="w10">Father</w></span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> <w xml:id="w11">who</w></span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> <w xml:id="w12">is</w></span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> <w xml:id="w13">in</w></span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> <w xml:id="w14">heaven</w><w xml:id="w15">,</w></span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> <w xml:id="w16">Hallowed</w></span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> <w xml:id="w17">be</w></span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> <w xml:id="w18">Your</w></span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> <w xml:id="w19">name</w><w xml:id="w20">.</w></span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> </content></span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"></osisText></span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"></osis></span><br style="font-family: courier new,monospace;">
<br><br><br><br><div class="gmail_quote">On Tue, Jan 19, 2010 at 8:51 AM, Weston Ruter <span dir="ltr"><<a href="mailto:westonruter@gmail.com">westonruter@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Thanks for the good examples, Troy.<div class="im"><br><br><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">1) shadow was not used on the divs and chapter tags to provide document
context. Perhaps they should? I did not supply them because my
processing code would look for <verse osisID="Matt.6.9"> to grab
what I need from this fragment.<br></blockquote><br></div>I don't think this would be necessary. Such fragment documents could merely provide a scope attribute to indicate that the document contents are not the complete work. Per the manual:<br>
<br><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">The content of scope element(s) must be in the form of an osisRef value, and that defines what part of the titled work occurs in this electronic edition. For example, an edition may consist of only the New Testament and Psalms, or of only a single book. Contiguous ranges may be specified using the hyphen notation described later for osisRefs in general; discontiguous ranges are specified by including multiple values using osisRef syntax. These should be in canonical order, but that is not required. <br>
</blockquote><br><br><br><br><div class="gmail_quote">2010/1/14 Troy A. Griffitts <span dir="ltr"><<a href="mailto:scribe@crosswire.org" target="_blank">scribe@crosswire.org</a>></span><div><div></div><div class="h5">
<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<a href="mailto:davidtroidl@aol.com" target="_blank">davidtroidl@aol.com</a> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
a) Remote headers: One requirement for fragment markup, and effective document libraries and repositories, is the ability to link with a document containing a full header, rather than requiring the full header to appear in each valid OSIS document. This header could appear in another regular OSIS document, or a separate 'bibliographic' document, designed merely to contain various header information. This is especially useful in getting away from monumental, monolithic documents, toward a more layered approach of linking variants, notes and lexical information to an existing source document.<br>
b) Virtual elements: A second requirement for distributing valid OSIS fragments through web services is a form of virtual, or shadow, element to supply the context of the given fragment. A new global attribute for indicating this virtual status is essential to distinguish them from the actual markup of the document.<br>
</blockquote>
<br>
Adding (a) and (b) to the specification should indeed allow a brief, contextualized, and validatable OSIS fragment. I could imagine an example of such for, say Mat.6.9, to be similar to:<br>
<br>
<br>
########### Start of stuff required for validating fragment ############<br>
<?xml version="1.0" encoding="UTF-8" ?><br>
<osis xmlns="<a href="http://www.bibletechnologies.net/2003/OSIS/namespace" target="_blank">http://www.bibletechnologies.net/2003/OSIS/namespace</a>"<br>
xmlns:xsi="<a href="http://www.w3.org/2001/XMLSchema-instance" target="_blank">http://www.w3.org/2001/XMLSchema-instance</a>"<br>
xsi:schemaLocation="<a href="http://www.bibletechnologies.net/2003/OSIS/namespace" target="_blank">http://www.bibletechnologies.net/2003/OSIS/namespace</a> osisCore.2.1.xsd"><br>
<osisText osisIDWork="NASB" osisRefWork="defaultReferenceScheme" xml:lang="en"><br>
############### New header external reference, (a) above ###############<br>
<header extRef="<a href="http://www.bibletechnologies.net/docRepo/headers/NASB.xml" target="_blank">http://www.bibletechnologies.net/docRepo/headers/NASB.xml</a>" /><br>
########################## Document Context ############################<br>
<div type="x-testament"><br>
<div type="book" osisID="Matt"><br>
<chapter osisID="Matt.6"><br>
<br>
########## Start of requested data. Note shadow attribute on ###########<br>
###### elements provided to supply literary context, (b) above #########<br>
<br>
<verse osisID="Matt.6.9"><br>
<q who="Jesus" marker="“" sID="Matt.5.3.q1" shadow="true" /><br>
Pray then, in this way: <q who="crowd" level="2" marker="‘" sID="Matt.6.9.q1" />Our Father who is in heaven, Hallowed be Your name.<br>
</verse><br>
<br>
####################### End of requested data ##########################<br>
</chapter><br>
</div><br>
</div><br>
<br>
</osisText><br>
</osis><br>
<br>
<br>
A few things to note.<br>
<br>
1) shadow was not used on the divs and chapter tags to provide document context. Perhaps they should? I did not supply them because my processing code would look for <verse osisID="Matt.6.9"> to grab what I need from this fragment.<br>
<br>
2) the quote shadow from Matt.5.3 was put after the verse marker for the purposes of ideal location for handling, i.e, if I was planning to render anything for this shadow element, this would be the place I would want to handle it. Is this good or bad?<br>
<br>
3) Notice the second level quote in this verse which hasn't an end. This provides another good example for milestoneable <p>'s as they may need to start within a fragment but not end in such. Though I still think the best argument for milestoneable <p> is mss markup: often paragraph breaks are explicitly noted in the text, but their end is not explicit (implied by end of letter, not in the document due to end of mss fragment, etc.). But this is all for another thread.<br>
<br>
<br>
Would love to hear any other alternative examples for a fragment.<br>
<br>
Troy<br>
<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
osis-users mailing list<br>
<a href="mailto:osis-users@crosswire.org" target="_blank">osis-users@crosswire.org</a><br>
<a href="http://www.crosswire.org/mailman/listinfo/osis-users" target="_blank">http://www.crosswire.org/mailman/listinfo/osis-users</a><br>
</blockquote></div></div></div><br>
</blockquote></div><br>