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

Re: When do tags stop being a good idea?


how to do tags
From: "Bob Hutchison" <hutch@x...>
 
> Is it because of some kind of notion of 'atomic'? Markup has to stop
> somewhere, doesn't it? But where?

Some kinds complex values are only ever dissected as whole:
for example URIs are complex but there is no point in marking
up the parts because the libraries that use them take care of
parsing them.

The purpose of validation is to catch errors as close to source as
possible, rather than leaving it to processes to fail, or for errors
to slip through and contaminate database.  The worst kind of
contamination is probably when strings in different encodings
end up in the same database, in byte-based storage. These
can be pretty much impossible to repair. 

So markup of documents is based in part on some theory by
the document-type designer on expected, typical and pragmatic
use-cases for the document.  

So there is no fixed dividing line. Some people trust analytical
methods, some trust expertise, some trust guidelines, some
trust conservatism (fitting in with the user's expectations.)

But often the dividing line is determined by the capabilities
of a given technology: no current schema language provides
any way of declaring that an attribute value should be inherited
by its children if not specified on them, for example.  This is
a common thing to want to do (xml:lang, xml:space, xmlns,
etc), but if language designers want to declare this they
are in the cold (DOM and XPath do not support such
a thing directly, for example.)

So there are still quite big chunks of possibilities for
XML systems that the current schema languages
and associated technology do not support.  By
having more chairs, there is more chance that
we can find somewhere comfortable to sit. 

Cheers
Rick Jelliffe

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.