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

Re: Notations

  • From: Charles Reitzel <creitzel@m...>
  • To: xml-dev@i...
  • Date: Wed, 9 Dec 1998 13:07:45 -0500 (EST)

solve notations
Rick Jelliffe wrote:
| Joel Bender wrote:
|>There are really two problems: (1) what pattern of character strings 
|>are acceptable for content (attribute value or element content) and 
|>(2) how should those patterns be mapped to atomic types?
|>...Both the 'type' of value and the 'encoding' of the value must be
|Which assumes that there are "atomic types" independent of domains.

I think of data types as domains, too.  E.g. non-negative integers vs.
positive integers, temperature in degrees Farenheit, etc., etc.  It seems
that everyone has different notions of what constitute the "atomic" types.
I also agree with the many folks who have said that the XML spec should not
be burdened with the large set of atomic types that would be required to
make everybody happy.  Which may be why NOTATIONS were invented in the first
place.  It is probably one of those compromises that makes no one truly
happy but let's everyone get their (wildy divergent) work done with the same
spec.  No small feat indeed.  Although "attribute Notations" will solve some
real problems (XPointers to compound keys!), I can do useful work with
element values today.

Like Joel says, it seems the only physical issue for XML is how to translate
the logical structure to and from a character stream.  The physical
structure any given application uses at run-time is application, system and
programming language dependent.  Thus the NOTATION need only denote the
logical structure, allowing the application to direct the character data to
its preferred translation code, e.g. a regexp engine.  XML is off the hook!

I'd guess this is why the PUBLIC id is required while the SYSTEM id is
optional for NOTATIONs.  The path to the handler probably belongs in a
system dependent application config file, not the DTD.  Much like how web
servers use config files to look up MIME handlers.  

Charles Reitzel

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...)


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.
First Name
Last Name
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.