[osis-core] Extending the Schema

Todd Tillinghast osis-core@bibletechnologieswg.org
Thu, 15 May 2003 12:54:11 -0600


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).

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.)


> -----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.
> 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
> to know what sort of extensions are needed before picing a final
> 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