[osis-core] New milestone use of elements
Troy A. Griffitts
osis-core@bibletechnologieswg.org
Wed, 28 May 2003 12:30:07 -0700
Patrick,
It was simpler than what you thought, I think....
You said that you had "...add[ed] the 'mID' attribute to all the
elements that can be listed in the milestoneSE type attribute." (see
below for quote :) )
I was just suggesting that INSTEAD of adding 'mID' to all elements that
should have it, we normalize this 'mID' attribute out into some schema
'form', I guess like whatever milestoneSE was. And then let each
element 'get' this 'thing'...
I guess I should learn schema syntax and state my suggestion appropriately.
trying one more attempt at non-schema syntax:
class Milestoneable {
// all docs here, including the fact that there must
// be exactly 2 elements containing this mID value and
// that this semantic logically has identical OSIS meaning
// as the XML container semantic.
allow attribute 'mID';
};
class <q> extends Milestoneable {...};
class <verse> extends Milestoneable {...};
...
Patrick Durusau wrote:
> Troy,
>
> Troy A. Griffitts wrote:
>
>>> What I did was to add the mID attribute to all the elements that can
>>> be listed in the milestoneSE type attribute.
>>
>>
>>
>>
>> I know this is silly nit-picking... but...
>>
>> Is there a way to have a schema 'form' (speaking Platonic, for lack of
>> my schema knowledge) that declares the attribute mID as valid. We
>> could call the form, 'milestoneable' or something-or-other, then the
>> elements that are milestoneable could 'be of|inherit|get' this form.
>> This way we could have all the docs regarding the 'milestoneable'
>> semantic at this point, including all the OSIS rules regarding such.
>> I realize they will just be pros, but at least they will be where
>> someone would expect to find them.
>
>
> Not sure what you mean by "declares the attribute mID as valid." What I
> think you want is to have the semantic of having an attribute value for
> that attribute defined. In other words, if I am using this as a
> container, then no mID attribute value should be declared. If used as a
> milestone, then declare the mID attribute.
>
> BTW, I think this container semantic with mID goes beyond most of the
> other milestone work I have seen. Maybe we should work up an article for
> xml.com or somewhere about it.
>
> Patrick
>
>
>>
>> -Troy.
>>
>>
>>
>> _______________________________________________
>> osis-core mailing list
>> osis-core@bibletechnologieswg.org
>> http://www.bibletechnologieswg.org/mailman/listinfo/osis-core
>>
>