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

Re: PSVI

  • From: Marcus Carr <mrc@a...>
  • To: xml-dev@l...
  • Date: Mon, 05 Mar 2001 09:47:47 +1100

Re: PSVI

"Thomas B. Passin" wrote:

> Marcus Carr wrote -
> >How do you maintain the currency of the declarations? What do you do if the
> >schema changes? Reprocess the instances either to include the modified
> >attribute value or by changing the declaration?
>
>  These are good questions but  they apply even if the schema is included and
> processed.  If I change a schema so as to change a defaulted attribute value,
> what should you do about those documents I've already processed?  The question
> is no different.

True - I guess it comes down to the nature of the change. If the defaulted
attribute was to be applied to all documents, I'd favour leaving the information
in the schema - if it was to be applied to documents from this point on, it would
make more sense for the documents to carry the information. Really, neither way is
going to be very satisfactory in every case.

> >I don't think it's appropriate to let the instance dictate terms to the
> >system.
>
> What, you mean it's better to leave information out of a document and require
> a processor to refer to another document to recover it?

In some cases, yes. I'd really prefer to have another layer controlling which
schema gets applied to which instance and when.

> >For one thing, it may mean that an instance could be required to be processed
> >against a schema, even though in the context of the current process, type did
> >not matter and no schema had been provided.
>
> I thought I was favoring exactly this possibility.  If you didn't think so,
> then I wasn't clear.  Sorry.

It's probably me who wasn't clear - if you think of an instance as containing
information relevant to several processes, it may be unduly restrictive to
reference any particular schema. It would be preferable to call a schema expressly
based on the purpose of the process. My understanding is a bit sketchy, but
perhaps RDDL would be useful for doing the dereferencing?


--
Regards,

Marcus Carr                      email:  mrc@a...
___________________________________________________________________
Allette Systems (Australia)      www:    http://www.allette.com.au
___________________________________________________________________
"Everything should be made as simple as possible, but not simpler."
       - Einstein



  • References:
    • Re: more grist
      • From: Ben Trafford <ben@l...>
    • PSVI
      • From: Tim Bray <tbray@t...>
    • Re: PSVI
      • From: "Thomas B. Passin" <tpassin@h...>
    • Re: PSVI
      • From: Marcus Carr <mrc@a...>
    • Re: PSVI
      • From: "Thomas B. Passin" <tpassin@h...>

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.