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

Re: SGML default attributes.

  • From: Rick Jelliffe <rjelliffe@allette.com.au>
  • To: "Liam R. E. Quin" <liam@w3.org>
  • Date: Mon, 9 May 2016 12:46:02 +1000

Re:  SGML default attributes.

But they don't.  Neither XSD nor DTDs have anything in their specifications that say 'This element (or whatever) expresses the intent or core of the constraint (e.g. in technical English or whatever.).'

The requirement/use case/intent/summary/purpose is not a first-class object. In fact, it is not an object at all in those systems. (A comment in XSD or DTD could contain a list of the developer's favorite Laotian restaurants; an assertion in Schematron could not, without being incorrect.)

DTDs and XSD are based on 1970s ideas of software engineering, where you make homemade little languages, and exchange is by private point-to-point treaty, and there is no mapping between what the user/editor uses and the document markup. They are languages  good for unit testing not for pipelines/ETL where 'what was it?' is just as important as 'What is it?'; and not even for the common case where editing uses a COTS office tool that gets converted to XML and validated: there diagnostics couched in terms of the markup talk past what the user sees or knows.

So, if 'underspecified' is a euphemism for 'imaginary', then we agree :-)

Cheers
Rick


On 07/05/2016 4:42 PM, "Liam R. E. Quin" <liam@w3.org> wrote:
On Fri, 2016-05-06 at 12:47 +1000, Rick Jelliffe wrote:
>
[...]
> Also on Eliots point that dtds etc have limitations in their power:

All formal systems, of course, are limited, whether by the Arch of
Compassion or by the mathematical inevitability of completeness :-)

> one
> limitation is how to capture (without resorting to ad hoc comments)
> some constraints that are beyond the expressive power of the grammar
> or are contingent in some way.  I believe Schematron is still the
> only system to take this seriously.
To some extent XSD does too, by allowing embedded Schematron rules :-)
or other extension mechanisms. DTDs do too, using processing
instructions, although it's terribly underspecified.

Best,

Liam


--
Liam R. E. Quin <liam@w3.org>
The World Wide Web Consortium (W3C)


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