[osis-core] Extending the Schema
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: email@example.com [mailto:osis-core-
> firstname.lastname@example.org] On Behalf Of Patrick Durusau
> Sent: Thursday, May 15, 2003 12:18 PM
> To: email@example.com
> Subject: [osis-core] Extending the Schema
> 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 Durusau
> Director of Research and Development
> Society of Biblical Literature
> Co-Editor, ISO 13250, Topic Maps -- Reference Model
> osis-core mailing list