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

Re: Datatypes - it's in the contract


contract geologists
Jonathan Robie scripsit:

> I am used to notations as a way of identifying an external application, but 
> you apparently want to use it in some other way. I don't think that the 
> notion of integer is specific to any particular application or programming 
> language.

One of the many ironies of XML development is that notations were left
in the language, but without a word of explanation in the Rec, so that
only the SGML weenies knew what they were for, namely datatypes.

Attributes of type NOTATION have a value declared by a NOTATION declaration
in the DTD, which specifies a system id and/or a public id.  What for?
The idea was supposed to be that the system and/or public id specified
what the datatype was, without necessarily dereferencing it (the same
thing later reinvented for namespace names).  But the reason for the
NOTATION attribute in the first place was to say that the content of this
element was of the type specified therein.

Datatype facets were represented by attributes associated with notations,
which did *not* make it into XML.  Everything was already there in
potentia, all to be lost for the want of a horseshoe-nail's worth of
explanations.

So it goes.

-- 
John Cowan   <jcowan@r...>   http://www.ccil.org/~cowan
"One time I called in to the central system and started working on a big
thick 'sed' and 'awk' heavy duty data bashing script.  One of the geologists
came by, looked over my shoulder and said 'Oh, that happens to me too.
Try hanging up and phoning in again.'"  --Beverly Erlebacher

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.