[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Logical relationships between documents and schemata: was Re:using

  • From: Jonathan Borden <jborden@m...>
  • To: Tony Coates <Tony.Coates@r...>, xml-dev@l...
  • Date: Fri, 04 May 2001 16:18:27 -0400

Re: Logical  relationships between documents and schemata: was Re:using
Tony Coates wrote:

>
> Unfortunately, the application requirement I was alluding to is
> Restriction(Snew,Sapp), which is equivalent to Extension(Sapp,Snew)
> (from what I understand of your algebra at "
> http://www.rddl.org/SchemaAlgebra.html").  So, the problem remains, but
> hopefully more clearly expressed now.

ok. so when Extension(Snew,Sold) it is 'safe' to substitute the new schema
Snew as the primary scheme (e.g. purpose=
http://www.rddl.org/purposes#schema-validation) in the namespace.

on the other hand when Restriction(Snew,Sold) doing this will 'invalidate'
previously happy documents. Two options are:

1) use a new namespace

2) use something like xsi:schemaLocation to reference the proper schema for
this particular instance document

of course (2) is specific to XML Schema, and supposing the same facility is
needed for other schemata e.g. Schematron, TREX we might invent a similar
instance attribute:

rddl:schemaPurpose="..." which generally defaults to
http://www.rddl.org/purposes#schema-validation but could allow selection of
a set of schemata all sharing the same purpose (and this purpose URI is then
used to perform versioning).

btw: thanks for your useful comments and corrections on the schema algebra

>
>      Cheers,
>           Tony.

- Jonathan




PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.