Thanks for the good examples, Troy.<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>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">scribe@crosswire.org</a>></span><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><br>