[osis-core] Extending the Schema

Patrick Durusau osis-core@bibletechnologieswg.org
Thu, 15 May 2003 15:31:39 -0400


Todd,

Todd Tillinghast wrote:

>Patrick,
>
>To use <xsd:redefine schemaLocation="OSISCore.1.1.1.xsd"> with
><xsd:restriction base="SimpleOrComplexType"> within an
><xsd:simpleType name="SimpleTypeName"> or <xs:complexType
>name="ComplexTypeName"> statement within a schema, you must have a named
>simple or complex type defined in the base schema to put in the "base"
>attribute of the <restriction> element.  Currently there are very few
>named simple and complex types in the osisCore.1.1.1.xsd schema because
>they are defined inline (not named).
>  
>
It would be more helpful if you could give me a little more detail on 
what you tried to do. How about sending me just the modification you 
wanted to make to the content model of note?

The schema already allows for annotations, they are called notes.

Hope you are having a great day!

Patrick

>I am suggesting that we create named simple an complex types where they
>are defined inline.
>
>I was trying to extend the schema to allow for annotations.  The
>behavior would be a lot like a note but a little bit different.  I also
>considered the option of a container element fairly near the top that
>could hold annotations that reference either content in the same
>document or external documents.  In the end I created a totally new
>schema that is a lot like the current schema.  I believe (am not 100%
>sure) I posted some examples and did not get any response.  (It may be
>that I didn't get around to posting anything.)
>
>Todd
>
>  
>
>>-----Original Message-----
>>From: osis-core-admin@bibletechnologieswg.org [mailto:osis-core-
>>admin@bibletechnologieswg.org] On Behalf Of Patrick Durusau
>>Sent: Thursday, May 15, 2003 12:18 PM
>>To: osis-core@bibletechnologieswg.org
>>Subject: [osis-core] Extending the Schema
>>
>>Todd,
>>
>>Several posts ago you mentioned needing to extend the OSIS schema.
>>    
>>
>What
>  
>
>>sort of extension were you trying to perform?
>>
>>We can extend the present schema by appending elements to existing
>>content models or adding attributes. Can also do union and restriction
>>of simple types but I suspect that is not what you are after. With the
>>substitution group we can replace the entire content model but that
>>would require a complete re-write of the schema, and not to mention,
>>inconsistent extension of it. Not necessarily saying no, but would
>>    
>>
>like
>  
>
>>to know what sort of extensions are needed before picing a final
>>    
>>
>route.
>  
>
>>Hope you are having a great day!
>>
>>Patrick
>>
>>--
>>Patrick Durusau
>>Director of Research and Development
>>Society of Biblical Literature
>>Patrick.Durusau@sbl-site.org
>>Co-Editor, ISO 13250, Topic Maps -- Reference Model
>>
>>
>>
>>_______________________________________________
>>osis-core mailing list
>>osis-core@bibletechnologieswg.org
>>http://www.bibletechnologieswg.org/mailman/listinfo/osis-core
>>    
>>
>
>_______________________________________________
>osis-core mailing list
>osis-core@bibletechnologieswg.org
>http://www.bibletechnologieswg.org/mailman/listinfo/osis-core
>
>  
>

-- 
Patrick Durusau
Director of Research and Development
Society of Biblical Literature
Patrick.Durusau@sbl-site.org
Co-Editor, ISO 13250, Topic Maps -- Reference Model