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

Re: Question about Architectures and Versioning

  • From: Peter Murray-Rust <peter@u...>
  • To: "XML Dev" <xml-dev@i...>
  • Date: Sat, 13 Jun 1998 10:39:30

about architectures
At 11:02 12/06/98 +0100, Michael Kay wrote:
>
>>How does one go about using Architectures to solve the
>following problem.
>>
>I don't know how to achieve this with Architectures (one of
>those concepts that is so off-putting because it has such a
>misleading name) but as a humble programmer I know how to do
>it with SAX: just write a DocumentHandler for your version 1
>document that receives the events for the version 1 document
>from the parser and generates the events for the version 2
>structure to another DocumentHandler that expects version 2
>events.

Yes. After struggling with architectures for 2-3 years I have come to the
conclusion that:
	- they are potentially extremely useful
	- we cause ourselves considerable grief if we ignore their message
	- they have not been well explained in public.
	- the syntax is not enlightening to newcomers
	- the terminology isn't easy either
	- the simple aspects of architectures are simple
	- there is no clear simple *implementation* of architectures that we can
use to 'learn by doing'
	
In practice I suspect that I use architectures by default (e.g. when I write:
<item type="float">1.23</item>
and then use a class FLOAT.class to process this

>
>Easier still if you use SAXON.

Yes. Maybe this is the implementation I am looking for.

My guess is that it would be valuable to implement some simple aspects of
architectures, particularly on top of SAX. David Megginson has a vision
here and has posted about his new tools (did it get to XML-DEV - I'm still
catching up). I think that a *communal* project to implement simple
architectures on top of SAX could be extremely useful. Perhaps we could
even contemplate using it to support Xlink - I don't know.

If it helps I would be delighted if someone wants to use JUMBO as a
platform for experimenting. JUMBO is offered as a public resource for
people to play with. Thus a SAX-SAXON-???-JUMBO composite might very well
give us a lot more insight into them.

I'd welcome a*simple* proposals along these lines. As several people have
already posted you don't have to have HyTime PIs and you don't have to have
meta-DTDs explicitly. As with all XML-DEV proposals it needs a champion. It
follows logically from SAX - since IMO any architecture is going to have to
be able to build on SAX - and I suspect it is orthogonal to much of what
else is going on. It may well help us with *implementing* namespaces.

So from my point of view, architectures are about defining an
implementation for common processing problems. If this is a fair statement,
then the sooner we address it the better :-)

	P.

Peter Murray-Rust, Director Virtual School of Molecular Sciences, domestic
net connection
VSMS http://www.nottingham.ac.uk/vsms, Virtual Hyperglossary
http://www.venus.co.uk/vhg

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i...
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@i... the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)


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.