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

Schema Processing (was Re: Fw: Namespaces)

  • From: "Simon St.Laurent" <simonstl@s...>
  • To: XML List <xml-dev@i...>
  • Date: Thu, 04 Feb 1999 10:14:11 -0500

schema processing
At 06:42 PM 2/4/99 +0700, James Clark wrote:
>> One would of course have
>> to pass the DTDs (or other schema files) through the same transformation.
>
>Why? DTDs are used only at the pre-transformation stage. I would expect
>a future XML Schema language to operate purely on the
>post-transformation tree.

This opens up a new can of worms, one we discussed during the creation of
XSchema (now DDML), but potentially an ugly one long term.

This paragraph suggests a process like:

1. Process document against DTD.
2. Resolve namespaces.
3. Process document against schema.

Which is fine, in some ways - I'd prefer to see schemas just define
structures, not content substitution (i.e., entities) - but opens up
potentially potent new layers of complexity that make the current mire of
well-formed and valid documents seem quite friendly.

Is the W3C ever going to take a look at making its specs into neat layers
instead of octopuses that sprawl across multiple levels of processing?
Namespaces wraps its tentacles around several parts of XML 1.0, and
duplication between schemas and DTDs may leave another generation of
would-be XML-ers scratching their heads at the odd ways of those
sophisticated folks writing the specs.

Linking and styling present similar delightful conundrums, and there's a
fairly large group of voices (mine included) on the XSL list calling for
that spec to be cleanly split into two pieces: transformation and formatting.

I'd rather have more small clean pieces that fit together neatly than large
chunks that need to wrap around each other to work properly.

Simon St.Laurent
XML: A Primer / Building XML Applications (March)
Sharing Bandwidth / Cookies
http://www.simonstl.com

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/ and on CD-ROM/ISBN 981-02-3594-1
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.