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

Re: The illusion of simplicity and low cost in datadesign and

  • From: "C. M. Sperberg-McQueen" <cmsmcq@blackmesatech.com>
  • To: Rick Jelliffe <rjelliffe@allette.com.au>
  • Date: Mon, 15 Aug 2022 06:57:25 -0600

Re:  The illusion of simplicity and low cost in datadesign and
Rick Jelliffe <rjelliffe@allette.com.au> writes:

> Even in XML Schemas, the datatype type NOTATION has the caveat "For
> compatibility (see Terminology (§1.4)) NOTATION should be used only on
> attributes and should only be used in schemas with no target
> namespace." Which makes it clear that it is a sunset feature limited
> to replicating what DTDs provided.

I'm not sure what that "Even" is doing in that sentence -- are you
seeking to want to suggest that failure to understand and use NOTATION
is more surprising in the XSD working group than in any other group?

As you will doubtless remember (since you were a member of the working
group), there were a lot of people in the XML Schema WG with what we
might call a limited appreciation of anything present in DTDs.  And it
was already clear that very few people understood how to use NOTATION
declarations usefully (whether in XML or in SGML).

> In any case, even embedded NOTATIONS were supported, you need to look
> in a schema or markup declarations so it is not inline. (By embedded I
> mean the content is in an element, by inline I mean that the the
> markup to say what the notation is at the same location.)

If you have no objection to placing information of this kind inline,
instead of factoring it out to avoid duplication, then why not just
place the schema inline?  There is nothing in the XSD spec that prevents
inline schemas:  the term 'schema document' is used because most people
will want the schema out of line, not inline, but its extension is
effectively any xsd:schema element.  Spreading it out so that the
declaration of an element is repeated for every instance of that element
type may, I admit, be a bit trickier.

-- 
C. M. Sperberg-McQueen
Black Mesa Technologies LLC
http://blackmesatech.com


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


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.