[osis-core] XMLSpy Question
Harry Plantinga
osis-core@bibletechnologieswg.org
Wed, 5 Feb 2003 15:45:22 -0500
This is a multi-part message in MIME format.
------=_NextPart_000_001E_01C2CD2D.97F2A840
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit
What todd means is that you can create a document such as
<?xml version="1.0"?>
<note>Hello world!</note>
and it will be valid according to the OSIS schema.
-harry
-----Original Message-----
From: osis-core-admin@bibletechnologieswg.org
[mailto:osis-core-admin@bibletechnologieswg.org] On Behalf Of Patrick
Durusau
Sent: Wednesday, February 05, 2003 3:44 PM
To: osis-core@bibletechnologieswg.org
Subject: Re: [osis-core] XMLSpy Question
Todd,
Todd Tillinghast wrote:
Patrick,
About the roots, naturally a document can have only one root element,
BUT you can make a valid document relative to our schema with a large
number of elements as the document root (example <note> can be the
document root).
Not sure how you are using "root" to say that a note "can be the
document root." Root in XML/SGML terminology means the outermost
container element. For the OSIS schema, that means osis.
About osisCorpus and osisText, XMLSpy will add in <osisCorpus> and some
sub-elements of <osisCorpus> when you create an <osis> root element. If
you then add in <osisText> the document is invalid unless you remove the
<osisCorpus>. Is that you how got to the position you were in? (I have
yet to get strange/invalid behavior from XMLSpy in the way you seem to
be describing, but then I use the text editor almost exclusively.)
Yes. When you create a document in the text editor does it add
osisCorpus? Rather odd behavior for an editor.
Patrick
Todd
-----Original Message-----
From: osis-core-admin@bibletechnologieswg.org
[mailto:osis-core-admin@bibletechnologieswg.org] On Behalf Of Patrick
Durusau
Sent: Wednesday, February 05, 2003 11:05 AM
To: osis-core@bibletechnologieswg.org
Subject: Re: [osis-core] XMLSpy Question
Todd,
Todd Tillinghast wrote:
<!--[if !supportLineBreakNewLine]-->
<!--[endif]-->
Patrick,
Todd,
I don't know if anyone else is using XMLSpy but thought I would post
this to the list.
I am working on the OSIS Users Manual and decided to try to use XMLSpy
for something other than documentation.
OK, so I choose osis as my root (does not default to the root element
in
a schema?)
There are several possible root elements based on our schema since most
elements are defined so they can be used by reference.
Eh? That does not sound like XML. You can treat elements as "roots" by
XPath and the like but a valid XML document still only has one container
element. In our case, it should by <osis>. If XMLSpy is reading it some
other way, it is defnitely a bug. Otherwise you could have an ambiguous
content model. Bad joss in XML circles. ;-)
<!--[if !supportLineBreakNewLine]-->
<!--[endif]-->
then choose osisText, which then keeps displaying osisCorpus
as a possible sibling of osisText? That is not how I intrepret choice.
In other words,
Which view are you using to create/edit your document, the "text" view
or the "enhanced grid" view?
Enhance view I am sure, has the elements displayed in an indented tree
sort of fashion.
<!--[if !supportLineBreakNewLine]-->
<!--[endif]-->
Where are you seeing "osisCorpus as a possible sibling of osisText"?
Below the element I am inserting. When I went to save, it did say having
osisCorpus was an error. ;-) So, it inserts it, then claims it is an
error. Great stuff!
<!--[if !supportLineBreakNewLine]-->
<!--[endif]-->
If you are looking at the "schema design" view of the actual schema then
they can be shown as siblings within the choice branch under "osis".
<osis>
<osisText>
</osisText>
</osis>
OK.
<osis>
<osisCorpus>
<osisText>
</osisText>
<osisText>
</osisText>
</osisCorpus>
</osis>
OK
But,
<osis>
<osisText>
</osisText>
<osisCorpus>
<osisText>
</osisText>
<osisText>
</osisText>
</osisCorpus>
</osis>
NOT OK.
When you "validate" the documents you have above (using the green check
button) the results with XMLSpy are consistent with the schema. (The
first two are valid if you add in the required <header> and <work>
elements. The third is not valid because you have both an osisText and
an osisCorpus under osis.)
Yes, I was just being lazy. :-)
<!--[if !supportLineBreakNewLine]-->
<!--[endif]-->
I checked the schema and it is quite clearly a choice, either osisText
or osisCorpus and the children of osisText are header and div in that
order (sequence).
Am I missing something here?
Patrick
Does that help any or just fog things up?
Thanks! One reason for using XMLSpy is that I doubt very many OSIS
encoders will use Emacs. Guess we need to start keeping notes on
disfunctional editing software as well!
Hope you are having a great day!
Patrick
<!--[if !supportLineBreakNewLine]-->
<!--[endif]-->
Todd
_______________________________________________
osis-core mailing list
osis-core@bibletechnologieswg.org
http://www.bibletechnologieswg.org/mailman/listinfo/osis-core
<!--[if !supportLineBreakNewLine]-->
<!--[endif]-->
--
Patrick Durusau
Director of Research and Development
Society of Biblical Literature
pdurusau@emory.edu
Co-Editor, ISO Reference Model for Topic Maps
--
Patrick Durusau
Director of Research and Development
Society of Biblical Literature
pdurusau@emory.edu
Co-Editor, ISO Reference Model for Topic Maps
------=_NextPart_000_001E_01C2CD2D.97F2A840
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<TITLE>Message</TITLE>
<META content=3D"MSHTML 6.00.2800.1106" name=3DGENERATOR></HEAD>
<BODY>
<DIV><SPAN class=3D753194420-05022003><FONT face=3DArial color=3D#0000ff =
size=3D2>What=20
todd means is that you can create a document such as =
</FONT></SPAN></DIV>
<DIV><SPAN class=3D753194420-05022003><FONT face=3DArial color=3D#0000ff =
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D753194420-05022003><FONT face=3DArial color=3D#0000ff =
size=3D2><?xml version=3D"1.0"?></FONT></SPAN></DIV>
<DIV><SPAN class=3D753194420-05022003><FONT face=3DArial color=3D#0000ff =
size=3D2><note>Hello world!</note></FONT></SPAN></DIV>
<DIV><SPAN class=3D753194420-05022003><FONT face=3DArial color=3D#0000ff =
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D753194420-05022003><FONT face=3DArial color=3D#0000ff =
size=3D2>and it=20
will be valid according to the OSIS schema.</FONT></SPAN></DIV>
<DIV><SPAN class=3D753194420-05022003><FONT face=3DArial color=3D#0000ff =
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D753194420-05022003><FONT face=3DArial color=3D#0000ff =
size=3D2>-harry</FONT></SPAN></DIV>
<BLOCKQUOTE=20
style=3D"PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px =
solid; MARGIN-RIGHT: 0px">
<DIV></DIV>
<DIV class=3DOutlookMessageHeader lang=3Den-us dir=3Dltr =
align=3Dleft><FONT=20
face=3DTahoma size=3D2>-----Original Message-----<BR><B>From:</B>=20
osis-core-admin@bibletechnologieswg.org=20
[mailto:osis-core-admin@bibletechnologieswg.org] <B>On Behalf Of =
</B>Patrick=20
Durusau<BR><B>Sent:</B> Wednesday, February 05, 2003 3:44 =
PM<BR><B>To:</B>=20
osis-core@bibletechnologieswg.org<BR><B>Subject:</B> Re: [osis-core] =
XMLSpy=20
Question<BR><BR></FONT></DIV>Todd,<BR><BR>Todd Tillinghast wrote:<BR>
<BLOCKQUOTE cite=3Dmid000001c2cd55$1345f020$8100a8c0@halogenlight =
type=3D"cite">
<META content=3DWord.Document name=3DProgId>
<META content=3D"Microsoft Word 10" name=3DGenerator>
<META content=3D"Microsoft Word 10" name=3DOriginator><LINK=20
href=3D"cid:filelist.xml@01C2CD1A.4B1CAF10" =
rel=3DFile-List><O:SMARTTAGTYPE=20
name=3D"time"=20
=
namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags"><O:SMARTTAGTY=
PE=20
name=3D"date" =
namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags"><!--[if gte =
mso 9]><xml>
<o:OfficeDocumentSettings>
<o:DoNotRelyOnCSS/>
</o:OfficeDocumentSettings>
</xml><![endif]--><!--[if gte mso 9]><xml>
<w:WordDocument>
<w:SpellingState>Clean</w:SpellingState>
<w:GrammarState>Clean</w:GrammarState>
<w:DocumentKind>DocumentEmail</w:DocumentKind>
<w:EnvelopeVis/>
<w:Compatibility>
<w:ForgetLastTabAlignment/>
<w:DoNotUseHTMLParagraphAutoSpacing/>
</w:Compatibility>
<w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
</w:WordDocument>
</xml><![endif]--><!--[if !mso]>
<STYLE>st1\:* {
BEHAVIOR: url(#default#ieooui)
}
</STYLE>
<![endif]-->
<STYLE>@font-face {
font-family: Tahoma;
}
@page Section1 {size: 8.5in 11.0in; margin: 1.0in 1.25in 1.0in 1.25in; =
mso-header-margin: .5in; mso-footer-margin: .5in; mso-paper-source: 0; }
P.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"; =
mso-style-parent: ""; mso-pagination: widow-orphan; =
mso-fareast-font-family: "Times New Roman"
}
LI.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"; =
mso-style-parent: ""; mso-pagination: widow-orphan; =
mso-fareast-font-family: "Times New Roman"
}
DIV.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"; =
mso-style-parent: ""; mso-pagination: widow-orphan; =
mso-fareast-font-family: "Times New Roman"
}
A:link {
COLOR: blue; TEXT-DECORATION: underline; text-underline: single
}
SPAN.MsoHyperlink {
COLOR: blue; TEXT-DECORATION: underline; text-underline: single
}
A:visited {
COLOR: blue; TEXT-DECORATION: underline; text-underline: single
}
SPAN.MsoHyperlinkFollowed {
COLOR: blue; TEXT-DECORATION: underline; text-underline: single
}
PRE {
FONT-SIZE: 10pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Courier New"; =
mso-pagination: widow-orphan; mso-fareast-font-family: "Times New Roman"
}
SPAN.EmailStyle18 {
COLOR: navy; FONT-FAMILY: Arial; mso-style-type: personal-reply; =
mso-style-noshow: yes; mso-ansi-font-size: 10.0pt; mso-bidi-font-size: =
10.0pt; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial; =
mso-bidi-font-family: Arial
}
SPAN.SpellE {
mso-style-name: ""; mso-spl-e: yes
}
DIV.Section1 {
page: Section1
}
</STYLE>
<!--[if gte mso 10]>
<style>
/* Style Definitions */=20
table.MsoNormalTable
{mso-style-name:"Table Normal";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-parent:"";
mso-padding-alt:0in 5.4pt 0in 5.4pt;
mso-para-margin:0in;
mso-para-margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:10.0pt;
font-family:"Times New Roman";}
</style>
<![endif]--></O:SMARTTAGTYPE></O:SMARTTAGTYPE>
<DIV class=3DSection1>
<P class=3DMsoNormal><FONT face=3DArial color=3Dnavy size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: =
Arial">Patrick,<O:P></O:P></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial color=3Dnavy size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: =
Arial"><O:P></O:P></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial color=3Dnavy size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">About the =
roots,=20
naturally a document can have only one root element, BUT you can =
make a=20
valid document relative to our schema with a large number of =
elements as the=20
document root (example <note> can be the document=20
root).<O:P></O:P></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial color=3Dnavy size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: =
Arial"><SPAN></SPAN></SPAN></FONT> </P></DIV></BLOCKQUOTE>Not=20
sure how you are using "root" to say that a note "can be the document =
root."=20
Root in XML/SGML terminology means the outermost container element. =
For the=20
OSIS schema, that means osis. <BR><BR>
<BLOCKQUOTE cite=3Dmid000001c2cd55$1345f020$8100a8c0@halogenlight =
type=3D"cite">
<DIV class=3DSection1>
<P class=3DMsoNormal><FONT face=3DArial color=3Dnavy size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: =
Arial"><O:P></O:P></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial color=3Dnavy size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">About =
<SPAN=20
class=3DSpellE>osisCorpus</SPAN> and osisText, <SPAN=20
class=3DSpellE>XMLSpy</SPAN> will add in <<SPAN=20
class=3DSpellE>osisCorpus</SPAN>> and some sub-elements of =
<<SPAN=20
class=3DSpellE>osisCorpus</SPAN>> when you create an <<SPAN=20
class=3DSpellE>osis</SPAN>> root element.<SPAN> </SPAN>If =
you then=20
add in <osisText> the document is invalid unless you remove =
the=20
<<SPAN class=3DSpellE>osisCorpus</SPAN>>.<SPAN> =
</SPAN>Is that you=20
how got to the position you were in?<SPAN> </SPAN>(I have yet =
to get=20
strange/invalid behavior from <SPAN class=3DSpellE>XMLSpy</SPAN> in =
the way=20
you seem to be describing, but then I use the text editor almost=20
exclusively.)<O:P></O:P></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial color=3Dnavy size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: =
Arial"><O:P></O:P></SPAN></FONT></P></DIV></BLOCKQUOTE>Yes.=20
When you create a document in the text editor does it add osisCorpus? =
Rather=20
odd behavior for an editor.<BR><BR>Patrick<BR><BR>
<BLOCKQUOTE cite=3Dmid000001c2cd55$1345f020$8100a8c0@halogenlight =
type=3D"cite">
<DIV class=3DSection1>
<P class=3DMsoNormal><FONT face=3DArial color=3Dnavy size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: =
Arial">Todd<O:P></O:P></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial color=3Dnavy size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: =
Arial"><O:P></O:P></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial color=3Dnavy size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: =
Arial"><O:P></O:P></SPAN></FONT></P>
<DIV=20
style=3D"BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: =
medium none; PADDING-LEFT: 4pt; PADDING-BOTTOM: 0in; BORDER-LEFT: blue =
1.5pt solid; PADDING-TOP: 0in; BORDER-BOTTOM: medium none">
<P class=3DMsoNormal><FONT face=3DTahoma size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">-----Original=20
Message-----<BR><B><SPAN style=3D"FONT-WEIGHT: =
bold">From:</SPAN></B> <A=20
class=3Dmoz-txt-link-abbreviated=20
=
href=3D"mailto:osis-core-admin@bibletechnologieswg.org">osis-core-admin@b=
ibletechnologieswg.org</A>=20
[<A class=3Dmoz-txt-link-freetext=20
=
href=3D"mailto:osis-core-admin@bibletechnologieswg.org">mailto:osis-core-=
admin@bibletechnologieswg.org</A>]=20
<B><SPAN style=3D"FONT-WEIGHT: bold">On Behalf Of </SPAN></B>Patrick =
Durusau<BR><B><SPAN style=3D"FONT-WEIGHT: bold">Sent:</SPAN></B>=20
</SPAN></FONT><ST1:DATE year=3D"2003" day=3D"5" month=3D"2"><FONT =
face=3DTahoma=20
size=3D2><SPAN style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Tahoma">Wednesday,=20
February 05, 2003</SPAN></FONT></ST1:DATE><FONT face=3DTahoma =
size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"> =
</SPAN></FONT><ST1:TIME=20
minute=3D"5" hour=3D"11"><FONT face=3DTahoma size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">11:05=20
AM</SPAN></FONT></ST1:TIME><FONT face=3DTahoma size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"><BR><B><SPAN=20
style=3D"FONT-WEIGHT: bold">To:</SPAN></B> <A =
class=3Dmoz-txt-link-abbreviated=20
=
href=3D"mailto:osis-core@bibletechnologieswg.org">osis-core@bibletechnolo=
gieswg.org</A><BR><B><SPAN=20
style=3D"FONT-WEIGHT: bold">Subject:</SPAN></B> Re: [osis-core] =
XMLSpy=20
Question</SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3D"Times New Roman" size=3D3><SPAN=20
style=3D"FONT-SIZE: 12pt"><O:P></O:P></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3D"Times New Roman" size=3D3><SPAN=20
style=3D"FONT-SIZE: 12pt">Todd,<BR><BR>Todd Tillinghast =
wrote:<BR><!--[if=20
=
!supportLineBreakNewLine]--><BR><!--[endif]--><O:P></O:P></SPAN>=
</FONT></P><PRE wrap=3D""><FONT face=3D"Courier New" size=3D2><SPAN =
style=3D"FONT-SIZE: =
10pt">Patrick,<O:P></O:P></SPAN></FONT></PRE><PRE><FONT face=3D"Courier =
New" size=3D2><SPAN style=3D"FONT-SIZE: =
10pt"><O:P> </O:P></SPAN></FONT></PRE><PRE><FONT face=3D"Courier =
New" size=3D2><SPAN style=3D"FONT-SIZE: 10pt"><SPAN> =
</SPAN><O:P></O:P></SPAN></FONT></PRE>
<BLOCKQUOTE style=3D"MARGIN-TOP: 5pt; MARGIN-BOTTOM: 5pt" =
type=3D"cite"><PRE wrap=3D""><FONT face=3D"Courier New" size=3D2><SPAN =
style=3D"FONT-SIZE: 10pt">Todd,<O:P></O:P></SPAN></FONT></PRE><PRE><FONT =
face=3D"Courier New" size=3D2><SPAN style=3D"FONT-SIZE: =
10pt"><O:P> </O:P></SPAN></FONT></PRE><PRE><FONT face=3D"Courier =
New" size=3D2><SPAN style=3D"FONT-SIZE: 10pt">I don't know if anyone =
else is using XMLSpy but thought I would =
post<O:P></O:P></SPAN></FONT></PRE><PRE><FONT face=3D"Courier New" =
size=3D2><SPAN style=3D"FONT-SIZE: 10pt">this to the =
list.<O:P></O:P></SPAN></FONT></PRE><PRE><FONT face=3D"Courier New" =
size=3D2><SPAN style=3D"FONT-SIZE: =
10pt"><O:P> </O:P></SPAN></FONT></PRE><PRE><FONT face=3D"Courier =
New" size=3D2><SPAN style=3D"FONT-SIZE: 10pt">I am working on the OSIS =
Users Manual and decided to try to use =
XMLSpy<O:P></O:P></SPAN></FONT></PRE><PRE><FONT face=3D"Courier New" =
size=3D2><SPAN style=3D"FONT-SIZE: 10pt">for something other than =
documentation.<O:P></O:P></SPAN></FONT></PRE><PRE><FONT face=3D"Courier =
New" size=3D2><SPAN style=3D"FONT-SIZE: =
10pt"><O:P> </O:P></SPAN></FONT></PRE><PRE><FONT face=3D"Courier =
New" size=3D2><SPAN style=3D"FONT-SIZE: 10pt">OK, so I choose osis as my =
root (does not default to the root =
element<O:P></O:P></SPAN></FONT></PRE><PRE><FONT face=3D"Courier New" =
size=3D2><SPAN style=3D"FONT-SIZE: 10pt"><SPAN> =
</SPAN><O:P></O:P></SPAN></FONT></PRE></BLOCKQUOTE><PRE wrap=3D""><FONT =
face=3D"Courier New" size=3D2><SPAN style=3D"FONT-SIZE: =
10pt">in<O:P></O:P></SPAN></FONT></PRE><PRE><FONT face=3D"Courier New" =
size=3D2><SPAN style=3D"FONT-SIZE: 10pt"><SPAN> =
</SPAN><O:P></O:P></SPAN></FONT></PRE>
<BLOCKQUOTE style=3D"MARGIN-TOP: 5pt; MARGIN-BOTTOM: 5pt" =
type=3D"cite"><PRE wrap=3D""><FONT face=3D"Courier New" size=3D2><SPAN =
style=3D"FONT-SIZE: 10pt">a schema?) =
<O:P></O:P></SPAN></FONT></PRE><PRE><FONT face=3D"Courier New" =
size=3D2><SPAN style=3D"FONT-SIZE: =
10pt"><SPAN> </SPAN><O:P></O:P></SPAN></FONT></PRE=
></BLOCKQUOTE><PRE wrap=3D""><FONT face=3D"Courier New" size=3D2><SPAN =
style=3D"FONT-SIZE: =
10pt"><O:P> </O:P></SPAN></FONT></PRE><PRE><FONT face=3D"Courier =
New" size=3D2><SPAN style=3D"FONT-SIZE: 10pt">There are several possible =
root elements based on our schema since =
most<O:P></O:P></SPAN></FONT></PRE><PRE><FONT face=3D"Courier New" =
size=3D2><SPAN style=3D"FONT-SIZE: 10pt">elements are defined so they =
can be used by reference. <O:P></O:P></SPAN></FONT></PRE><PRE><FONT =
face=3D"Courier New" size=3D2><SPAN style=3D"FONT-SIZE: =
10pt"><SPAN> </SPAN><O:P></O:P></SPAN></FONT></PRE>
<P class=3DMsoNormal><FONT face=3D"Times New Roman" size=3D3><SPAN=20
style=3D"FONT-SIZE: 12pt">Eh? That does not sound like XML. You can =
treat=20
elements as "roots" by XPath and the like but a valid XML document =
still=20
only has one container element. In our case, it should by =
<osis>. If=20
XMLSpy is reading it some other way, it is defnitely a bug. =
Otherwise you=20
could have an ambiguous content model. Bad joss in XML circles.=20
;-)<BR><BR><!--[if=20
=
!supportLineBreakNewLine]--><BR><!--[endif]--><O:P></O:P></SPAN>=
</FONT></P><PRE wrap=3D""><FONT face=3D"Courier New" size=3D2><SPAN =
style=3D"FONT-SIZE: =
10pt"><O:P> </O:P></SPAN></FONT></PRE><PRE><FONT face=3D"Courier =
New" size=3D2><SPAN style=3D"FONT-SIZE: 10pt"><SPAN> =
</SPAN><O:P></O:P></SPAN></FONT></PRE>
<BLOCKQUOTE style=3D"MARGIN-TOP: 5pt; MARGIN-BOTTOM: 5pt" =
type=3D"cite"><PRE wrap=3D""><FONT face=3D"Courier New" size=3D2><SPAN =
style=3D"FONT-SIZE: 10pt">then choose osisText, which then keeps =
displaying osisCorpus<O:P></O:P></SPAN></FONT></PRE><PRE><FONT =
face=3D"Courier New" size=3D2><SPAN style=3D"FONT-SIZE: 10pt">as a =
possible sibling of osisText? That is not how I intrepret =
choice.<O:P></O:P></SPAN></FONT></PRE><PRE><FONT face=3D"Courier New" =
size=3D2><SPAN style=3D"FONT-SIZE: 10pt">In other =
words,<O:P></O:P></SPAN></FONT></PRE><PRE><FONT face=3D"Courier New" =
size=3D2><SPAN style=3D"FONT-SIZE: 10pt"><SPAN> =
</SPAN><O:P></O:P></SPAN></FONT></PRE></BLOCKQUOTE><PRE wrap=3D""><FONT =
face=3D"Courier New" size=3D2><SPAN style=3D"FONT-SIZE: =
10pt"><O:P> </O:P></SPAN></FONT></PRE><PRE><FONT face=3D"Courier =
New" size=3D2><SPAN style=3D"FONT-SIZE: 10pt">Which view are you using =
to create/edit your document, the "text" =
view<O:P></O:P></SPAN></FONT></PRE><PRE><FONT face=3D"Courier New" =
size=3D2><SPAN style=3D"FONT-SIZE: 10pt">or the "enhanced grid" =
view?<O:P></O:P></SPAN></FONT></PRE><PRE><FONT face=3D"Courier New" =
size=3D2><SPAN style=3D"FONT-SIZE: 10pt"><SPAN> =
</SPAN><O:P></O:P></SPAN></FONT></PRE>
<P class=3DMsoNormal><FONT face=3D"Times New Roman" size=3D3><SPAN=20
style=3D"FONT-SIZE: 12pt">Enhance view I am sure, has the elements =
displayed=20
in an indented tree sort of fashion.<BR><BR><!--[if=20
=
!supportLineBreakNewLine]--><BR><!--[endif]--><O:P></O:P></SPAN>=
</FONT></P><PRE wrap=3D""><FONT face=3D"Courier New" size=3D2><SPAN =
style=3D"FONT-SIZE: =
10pt"><O:P> </O:P></SPAN></FONT></PRE><PRE><FONT face=3D"Courier =
New" size=3D2><SPAN style=3D"FONT-SIZE: 10pt">Where are you seeing =
"osisCorpus as a possible sibling of =
osisText"?<O:P></O:P></SPAN></FONT></PRE><PRE><FONT face=3D"Courier New" =
size=3D2><SPAN style=3D"FONT-SIZE: 10pt"><SPAN> =
</SPAN><O:P></O:P></SPAN></FONT></PRE>
<P class=3DMsoNormal><FONT face=3D"Times New Roman" size=3D3><SPAN=20
style=3D"FONT-SIZE: 12pt">Below the element I am inserting. When I =
went to=20
save, it did say having osisCorpus was an error. ;-) So, it inserts =
it, then=20
claims it is an error. Great stuff!<BR><BR><!--[if=20
=
!supportLineBreakNewLine]--><BR><!--[endif]--><O:P></O:P></SPAN>=
</FONT></P><PRE wrap=3D""><FONT face=3D"Courier New" size=3D2><SPAN =
style=3D"FONT-SIZE: =
10pt"><O:P> </O:P></SPAN></FONT></PRE><PRE><FONT face=3D"Courier =
New" size=3D2><SPAN style=3D"FONT-SIZE: 10pt">If you are looking at the =
"schema design" view of the actual schema =
then<O:P></O:P></SPAN></FONT></PRE><PRE><FONT face=3D"Courier New" =
size=3D2><SPAN style=3D"FONT-SIZE: 10pt">they can be shown as siblings =
within the choice branch under =
"osis".<O:P></O:P></SPAN></FONT></PRE><PRE><FONT face=3D"Courier New" =
size=3D2><SPAN style=3D"FONT-SIZE: =
10pt"><O:P> </O:P></SPAN></FONT></PRE><PRE><FONT face=3D"Courier =
New" size=3D2><SPAN style=3D"FONT-SIZE: =
10pt"><O:P> </O:P></SPAN></FONT></PRE><PRE><FONT face=3D"Courier =
New" size=3D2><SPAN style=3D"FONT-SIZE: 10pt"><SPAN> =
</SPAN><O:P></O:P></SPAN></FONT></PRE>
<BLOCKQUOTE style=3D"MARGIN-TOP: 5pt; MARGIN-BOTTOM: 5pt" =
type=3D"cite"><PRE wrap=3D""><FONT face=3D"Courier New" size=3D2><SPAN =
style=3D"FONT-SIZE: =
10pt"><osis><O:P></O:P></SPAN></FONT></PRE><PRE><FONT =
face=3D"Courier New" size=3D2><SPAN style=3D"FONT-SIZE: =
10pt"><osisText><O:P></O:P></SPAN></FONT></PRE><PRE><FONT =
face=3D"Courier New" size=3D2><SPAN style=3D"FONT-SIZE: =
10pt"></osisText><O:P></O:P></SPAN></FONT></PRE><PRE><FONT =
face=3D"Courier New" size=3D2><SPAN style=3D"FONT-SIZE: =
10pt"></osis><O:P></O:P></SPAN></FONT></PRE><PRE><FONT =
face=3D"Courier New" size=3D2><SPAN style=3D"FONT-SIZE: =
10pt"><O:P> </O:P></SPAN></FONT></PRE><PRE><FONT face=3D"Courier =
New" size=3D2><SPAN style=3D"FONT-SIZE: =
10pt">OK.<O:P></O:P></SPAN></FONT></PRE><PRE><FONT face=3D"Courier New" =
size=3D2><SPAN style=3D"FONT-SIZE: =
10pt"><O:P> </O:P></SPAN></FONT></PRE><PRE><FONT face=3D"Courier =
New" size=3D2><SPAN style=3D"FONT-SIZE: =
10pt"><osis><O:P></O:P></SPAN></FONT></PRE><PRE><FONT =
face=3D"Courier New" size=3D2><SPAN style=3D"FONT-SIZE: =
10pt"><osisCorpus><O:P></O:P></SPAN></FONT></PRE><PRE><FONT =
face=3D"Courier New" size=3D2><SPAN style=3D"FONT-SIZE: =
10pt"><osisText><O:P></O:P></SPAN></FONT></PRE><PRE><FONT =
face=3D"Courier New" size=3D2><SPAN style=3D"FONT-SIZE: =
10pt"></osisText><O:P></O:P></SPAN></FONT></PRE><PRE><FONT =
face=3D"Courier New" size=3D2><SPAN style=3D"FONT-SIZE: =
10pt"><osisText><O:P></O:P></SPAN></FONT></PRE><PRE><FONT =
face=3D"Courier New" size=3D2><SPAN style=3D"FONT-SIZE: =
10pt"></osisText><O:P></O:P></SPAN></FONT></PRE><PRE><FONT =
face=3D"Courier New" size=3D2><SPAN style=3D"FONT-SIZE: =
10pt"></osisCorpus><O:P></O:P></SPAN></FONT></PRE><PRE><FONT =
face=3D"Courier New" size=3D2><SPAN style=3D"FONT-SIZE: =
10pt"></osis><O:P></O:P></SPAN></FONT></PRE><PRE><FONT =
face=3D"Courier New" size=3D2><SPAN style=3D"FONT-SIZE: =
10pt"><O:P> </O:P></SPAN></FONT></PRE><PRE><FONT face=3D"Courier =
New" size=3D2><SPAN style=3D"FONT-SIZE: =
10pt">OK<O:P></O:P></SPAN></FONT></PRE><PRE><FONT face=3D"Courier New" =
size=3D2><SPAN style=3D"FONT-SIZE: =
10pt"><O:P> </O:P></SPAN></FONT></PRE><PRE><FONT face=3D"Courier =
New" size=3D2><SPAN style=3D"FONT-SIZE: =
10pt">But,<O:P></O:P></SPAN></FONT></PRE><PRE><FONT face=3D"Courier New" =
size=3D2><SPAN style=3D"FONT-SIZE: =
10pt"><O:P> </O:P></SPAN></FONT></PRE><PRE><FONT face=3D"Courier =
New" size=3D2><SPAN style=3D"FONT-SIZE: =
10pt"><osis><O:P></O:P></SPAN></FONT></PRE><PRE><FONT =
face=3D"Courier New" size=3D2><SPAN style=3D"FONT-SIZE: =
10pt"><osisText><O:P></O:P></SPAN></FONT></PRE><PRE><FONT =
face=3D"Courier New" size=3D2><SPAN style=3D"FONT-SIZE: =
10pt"></osisText><O:P></O:P></SPAN></FONT></PRE><PRE><FONT =
face=3D"Courier New" size=3D2><SPAN style=3D"FONT-SIZE: =
10pt"><osisCorpus><O:P></O:P></SPAN></FONT></PRE><PRE><FONT =
face=3D"Courier New" size=3D2><SPAN style=3D"FONT-SIZE: =
10pt"><osisText><O:P></O:P></SPAN></FONT></PRE><PRE><FONT =
face=3D"Courier New" size=3D2><SPAN style=3D"FONT-SIZE: =
10pt"></osisText><O:P></O:P></SPAN></FONT></PRE><PRE><FONT =
face=3D"Courier New" size=3D2><SPAN style=3D"FONT-SIZE: =
10pt"><osisText><O:P></O:P></SPAN></FONT></PRE><PRE><FONT =
face=3D"Courier New" size=3D2><SPAN style=3D"FONT-SIZE: =
10pt"></osisText><O:P></O:P></SPAN></FONT></PRE><PRE><FONT =
face=3D"Courier New" size=3D2><SPAN style=3D"FONT-SIZE: =
10pt"></osisCorpus><O:P></O:P></SPAN></FONT></PRE><PRE><FONT =
face=3D"Courier New" size=3D2><SPAN style=3D"FONT-SIZE: =
10pt"></osis><O:P></O:P></SPAN></FONT></PRE><PRE><FONT =
face=3D"Courier New" size=3D2><SPAN style=3D"FONT-SIZE: =
10pt"><O:P> </O:P></SPAN></FONT></PRE><PRE><FONT face=3D"Courier =
New" size=3D2><SPAN style=3D"FONT-SIZE: 10pt">NOT =
OK.<O:P></O:P></SPAN></FONT></PRE><PRE><FONT face=3D"Courier New" =
size=3D2><SPAN style=3D"FONT-SIZE: 10pt"><SPAN> =
</SPAN><O:P></O:P></SPAN></FONT></PRE></BLOCKQUOTE><PRE wrap=3D""><FONT =
face=3D"Courier New" size=3D2><SPAN style=3D"FONT-SIZE: =
10pt"><O:P> </O:P></SPAN></FONT></PRE><PRE><FONT face=3D"Courier =
New" size=3D2><SPAN style=3D"FONT-SIZE: 10pt">When you "validate" the =
documents you have above (using the green =
check<O:P></O:P></SPAN></FONT></PRE><PRE><FONT face=3D"Courier New" =
size=3D2><SPAN style=3D"FONT-SIZE: 10pt">button) the results with XMLSpy =
are consistent with the schema.<SPAN> =
</SPAN>(The<O:P></O:P></SPAN></FONT></PRE><PRE><FONT face=3D"Courier =
New" size=3D2><SPAN style=3D"FONT-SIZE: 10pt">first two are valid if you =
add in the required <header> and =
<work><O:P></O:P></SPAN></FONT></PRE><PRE><FONT face=3D"Courier =
New" size=3D2><SPAN style=3D"FONT-SIZE: 10pt">elements.<SPAN> =
</SPAN>The third is not valid because you have both an osisText =
and<O:P></O:P></SPAN></FONT></PRE><PRE><FONT face=3D"Courier New" =
size=3D2><SPAN style=3D"FONT-SIZE: 10pt">an osisCorpus under =
osis.)<O:P></O:P></SPAN></FONT></PRE><PRE><FONT face=3D"Courier New" =
size=3D2><SPAN style=3D"FONT-SIZE: =
10pt"><O:P> </O:P></SPAN></FONT></PRE><PRE><FONT face=3D"Courier =
New" size=3D2><SPAN style=3D"FONT-SIZE: 10pt"><SPAN> =
</SPAN><O:P></O:P></SPAN></FONT></PRE>
<P class=3DMsoNormal><FONT face=3D"Times New Roman" size=3D3><SPAN=20
style=3D"FONT-SIZE: 12pt">Yes, I was just being lazy. =
:-)<BR><BR><!--[if=20
=
!supportLineBreakNewLine]--><BR><!--[endif]--><O:P></O:P></SPAN>=
</FONT></P><PRE wrap=3D""><FONT face=3D"Courier New" size=3D2><SPAN =
style=3D"FONT-SIZE: =
10pt"><O:P> </O:P></SPAN></FONT></PRE><PRE><FONT face=3D"Courier =
New" size=3D2><SPAN style=3D"FONT-SIZE: 10pt"><SPAN> =
</SPAN><O:P></O:P></SPAN></FONT></PRE>
<BLOCKQUOTE style=3D"MARGIN-TOP: 5pt; MARGIN-BOTTOM: 5pt" =
type=3D"cite"><PRE wrap=3D""><FONT face=3D"Courier New" size=3D2><SPAN =
style=3D"FONT-SIZE: 10pt">I checked the schema and it is quite clearly a =
choice, either osisText<O:P></O:P></SPAN></FONT></PRE><PRE><FONT =
face=3D"Courier New" size=3D2><SPAN style=3D"FONT-SIZE: 10pt">or =
osisCorpus and the children of osisText are header and div in =
that<O:P></O:P></SPAN></FONT></PRE><PRE><FONT face=3D"Courier New" =
size=3D2><SPAN style=3D"FONT-SIZE: 10pt">order =
(sequence).<O:P></O:P></SPAN></FONT></PRE><PRE><FONT face=3D"Courier =
New" size=3D2><SPAN style=3D"FONT-SIZE: =
10pt"><O:P> </O:P></SPAN></FONT></PRE><PRE><FONT face=3D"Courier =
New" size=3D2><SPAN style=3D"FONT-SIZE: 10pt">Am I missing something =
here?<O:P></O:P></SPAN></FONT></PRE><PRE><FONT face=3D"Courier New" =
size=3D2><SPAN style=3D"FONT-SIZE: =
10pt"><O:P> </O:P></SPAN></FONT></PRE><PRE><FONT face=3D"Courier =
New" size=3D2><SPAN style=3D"FONT-SIZE: =
10pt">Patrick<O:P></O:P></SPAN></FONT></PRE><PRE><FONT face=3D"Courier =
New" size=3D2><SPAN style=3D"FONT-SIZE: =
10pt"><O:P> </O:P></SPAN></FONT></PRE><PRE><FONT face=3D"Courier =
New" size=3D2><SPAN style=3D"FONT-SIZE: 10pt"><SPAN> =
</SPAN><O:P></O:P></SPAN></FONT></PRE></BLOCKQUOTE><PRE wrap=3D""><FONT =
face=3D"Courier New" size=3D2><SPAN style=3D"FONT-SIZE: =
10pt"><O:P> </O:P></SPAN></FONT></PRE><PRE><FONT face=3D"Courier =
New" size=3D2><SPAN style=3D"FONT-SIZE: 10pt">Does that help any or just =
fog things up?<O:P></O:P></SPAN></FONT></PRE><PRE><FONT face=3D"Courier =
New" size=3D2><SPAN style=3D"FONT-SIZE: 10pt"><SPAN> =
</SPAN><O:P></O:P></SPAN></FONT></PRE>
<P class=3DMsoNormal><FONT face=3D"Times New Roman" size=3D3><SPAN=20
style=3D"FONT-SIZE: 12pt">Thanks! One reason for using XMLSpy is =
that I doubt=20
very many OSIS encoders will use Emacs. Guess we need to start =
keeping notes=20
on disfunctional editing software as well!<BR><BR>Hope you are =
having a=20
great day!<BR><BR>Patrick<BR><BR><!--[if=20
=
!supportLineBreakNewLine]--><BR><!--[endif]--><O:P></O:P></SPAN>=
</FONT></P><PRE wrap=3D""><FONT face=3D"Courier New" size=3D2><SPAN =
style=3D"FONT-SIZE: =
10pt"><O:P> </O:P></SPAN></FONT></PRE><PRE><FONT face=3D"Courier =
New" size=3D2><SPAN style=3D"FONT-SIZE: =
10pt">Todd<O:P></O:P></SPAN></FONT></PRE><PRE><FONT face=3D"Courier New" =
size=3D2><SPAN style=3D"FONT-SIZE: =
10pt"><O:P> </O:P></SPAN></FONT></PRE><PRE><FONT face=3D"Courier =
New" size=3D2><SPAN style=3D"FONT-SIZE: =
10pt">_______________________________________________<O:P></O:P></SPAN></=
FONT></PRE><PRE><FONT face=3D"Courier New" size=3D2><SPAN =
style=3D"FONT-SIZE: 10pt">osis-core mailing =
list<O:P></O:P></SPAN></FONT></PRE><PRE><FONT face=3D"Courier New" =
size=3D2><SPAN style=3D"FONT-SIZE: 10pt"><A =
href=3D"mailto:osis-core@bibletechnologieswg.org">osis-core@bibletechnolo=
gieswg.org</A><O:P></O:P></SPAN></FONT></PRE><PRE><FONT face=3D"Courier =
New" size=3D2><SPAN style=3D"FONT-SIZE: 10pt"><A =
href=3D"http://www.bibletechnologieswg.org/mailman/listinfo/osis-core">ht=
tp://www.bibletechnologieswg.org/mailman/listinfo/osis-core</A><O:P></O:P=
></SPAN></FONT></PRE><PRE><FONT face=3D"Courier New" size=3D2><SPAN =
style=3D"FONT-SIZE: 10pt"><SPAN> =
</SPAN><O:P></O:P></SPAN></FONT></PRE>
<P class=3DMsoNormal><FONT face=3D"Times New Roman" size=3D3><SPAN=20
style=3D"FONT-SIZE: 12pt"><BR><!--[if=20
=
!supportLineBreakNewLine]--><BR><!--[endif]--><O:P></O:P></SPAN>=
</FONT></P><PRE><FONT face=3D"Courier New" size=3D2><SPAN =
style=3D"FONT-SIZE: 10pt">-- <O:P></O:P></SPAN></FONT></PRE><PRE><FONT =
face=3D"Courier New" size=3D2><SPAN style=3D"FONT-SIZE: 10pt">Patrick =
Durusau<O:P></O:P></SPAN></FONT></PRE><PRE><FONT face=3D"Courier New" =
size=3D2><SPAN style=3D"FONT-SIZE: 10pt">Director of Research and =
Development<O:P></O:P></SPAN></FONT></PRE><PRE><FONT face=3D"Courier =
New" size=3D2><SPAN style=3D"FONT-SIZE: 10pt">Society of Biblical =
Literature<O:P></O:P></SPAN></FONT></PRE><PRE><FONT face=3D"Courier New" =
size=3D2><SPAN style=3D"FONT-SIZE: 10pt"><A =
href=3D"mailto:pdurusau@emory.edu">pdurusau@emory.edu</A><O:P></O:P></SPA=
N></FONT></PRE><PRE><FONT face=3D"Courier New" size=3D2><SPAN =
style=3D"FONT-SIZE: 10pt">Co-Editor, ISO Reference Model for Topic =
Maps<O:P></O:P></SPAN></FONT></PRE>
<P class=3DMsoNormal><FONT face=3D"Times New Roman" size=3D3><SPAN=20
style=3D"FONT-SIZE: =
12pt"><O:P></O:P></SPAN></FONT></P></DIV></DIV></BLOCKQUOTE><BR><PRE =
class=3Dmoz-signature cols=3D"$mailwrapcol">--=20
Patrick Durusau
Director of Research and Development
Society of Biblical Literature
<A class=3Dmoz-txt-link-abbreviated =
href=3D"mailto:pdurusau@emory.edu">pdurusau@emory.edu</A>
Co-Editor, ISO Reference Model for Topic Maps
</PRE><BR></BLOCKQUOTE></BODY></HTML>
------=_NextPart_000_001E_01C2CD2D.97F2A840--