Welcome!

Industrial IoT Authors: William Schmarzo, Elizabeth White, Stackify Blog, Yeshim Deniz, SmartBear Blog

RSS Feed Item

"vocabulary constraints" and other constraints (was: Re: RE: D

On 26 Feb 2009, at 11:19 , G. Ken Holman wrote:

...

 > I thought I was explicit when I said "all of the constraints for
 > XSLT as an XML vocabulary".  I wasn't saying "all of the constraints
 > for XSLT as an XSLT stylesheet".  And I added "as an XML vocabulary"
 > expressly to indicate I was not talking about stylesheet
 > constraints, only vocabulary constraints: the presence and absence
 > of elements and attributes.  I even gave an example of the kinds of
 > constraints I was speaking of.

 > Never would I expect any generic schema language to express the
 > constraints on the semantic interpretation of values found within
 > its elements and attributes.  That is the purview of the
 > applications interpreting the semantics of the instances. ...

 > Those are not the purview of generic applications tasked with simple
 > requirements (such as for editing XML documents) where the author is
 > guided in avoiding the improper creation of instances based on
 > explicit rules for the presence and absence of attributes.  Seems to
 > me to be a good role for schema constraints.

Hmm.  An interesting distinction here that you're attempting to
draw between the job of the editor and the job of the application.
I don't buy it, though.

Do you mean that if you had an emacs mode that could detect syntax
errors in your match patterns, or type errors in your XPath
expressions, without slowing you down and without getting in your way,
that you would turn it off, because it's not really within the purview
of an editor to know that much about constraints on specific values?
Do you turn off ID/IDREF checking in your editors, too?

Not me.  Every error the editor detects for me, before I try to
compile and run the stylesheet, is an error caught earlier in the
cycle and (usually) more easily fixed.  I don't believe in the
existence of the distinction you make between a vocabulary "as an XML
vocabulary" and as an application vocabulary (or whatever one might
call the other thing), except as a rough and ready distinction like
the one we conventionally make in programming languages between syntax
and semantics.  As Michael Kay has already pointed out, the key to
that distinction is: if we know how to specify it formally --
especially if we can specify it in a way that doesn't require a Turing
machine -- and check it automatically and conveniently, we tend to
call it (whatever it is) syntax.  If we don't know how, then it's
semantics.

One of the great themes of computer science over the last sixty years
has been the long-running campaign to move more and more things out of
the "must be checked by eyeball" / semantics area, and into the "can
readily be checked by machine" / syntax area.

It was not so long ago, for example, that many experts in markup would
have said that if a vocabulary wanted to impose a rule that either
attribute A or attribute B must be present, but not both, then that
was an application convention or semantic matter, and was not part of
the syntax properly understood, since "the syntax" was what a DTD
checked, and DTDs didn't handle co-constraints.

If you believe that the boundary between what a schema language should
do and what it should not do is always clear, then it's no wonder you
confused people.  Particularly since pretty much every schema language
ever used with XML does more than constraining the presence or absence
of particular elements and attributes, so none of them sticks with
what you now seem to be saying is their only real business.

As I said when I was firing flak at you offline, we can't help having
our tools influence the way we think.  But it's dangerous not to be
aware of it and to confuse a distinction rooted in the contingent
properties of our current or recent toolset with a distinction rooted
in essentials.  Hence my friendly warning shot.


-- 
****************************************************************
* C. M. Sperberg-McQueen, Black Mesa Technologies LLC
* http://www.blackmesatech.com
* http://cmsmcq.com/mib
* http://balisage.net
****************************************************************

-- 
  C. M. Sperberg-McQueen
  http://www.blackmesatech.com
  http://cmsmcq.com/mib



Read the original blog entry...

IoT & Smart Cities Stories
Dynatrace is an application performance management software company with products for the information technology departments and digital business owners of medium and large businesses. Building the Future of Monitoring with Artificial Intelligence. Today we can collect lots and lots of performance data. We build beautiful dashboards and even have fancy query languages to access and transform the data. Still performance data is a secret language only a couple of people understand. The more busine...
If a machine can invent, does this mean the end of the patent system as we know it? The patent system, both in the US and Europe, allows companies to protect their inventions and helps foster innovation. However, Artificial Intelligence (AI) could be set to disrupt the patent system as we know it. This talk will examine how AI may change the patent landscape in the years to come. Furthermore, ways in which companies can best protect their AI related inventions will be examined from both a US and...
Enterprises have taken advantage of IoT to achieve important revenue and cost advantages. What is less apparent is how incumbent enterprises operating at scale have, following success with IoT, built analytic, operations management and software development capabilities - ranging from autonomous vehicles to manageable robotics installations. They have embraced these capabilities as if they were Silicon Valley startups.
Chris Matthieu is the President & CEO of Computes, inc. He brings 30 years of experience in development and launches of disruptive technologies to create new market opportunities as well as enhance enterprise product portfolios with emerging technologies. His most recent venture was Octoblu, a cross-protocol Internet of Things (IoT) mesh network platform, acquired by Citrix. Prior to co-founding Octoblu, Chris was founder of Nodester, an open-source Node.JS PaaS which was acquired by AppFog and ...
The deluge of IoT sensor data collected from connected devices and the powerful AI required to make that data actionable are giving rise to a hybrid ecosystem in which cloud, on-prem and edge processes become interweaved. Attendees will learn how emerging composable infrastructure solutions deliver the adaptive architecture needed to manage this new data reality. Machine learning algorithms can better anticipate data storms and automate resources to support surges, including fully scalable GPU-c...
Cloud-enabled transformation has evolved from cost saving measure to business innovation strategy -- one that combines the cloud with cognitive capabilities to drive market disruption. Learn how you can achieve the insight and agility you need to gain a competitive advantage. Industry-acclaimed CTO and cloud expert, Shankar Kalyana presents. Only the most exceptional IBMers are appointed with the rare distinction of IBM Fellow, the highest technical honor in the company. Shankar has also receive...
Bill Schmarzo, author of "Big Data: Understanding How Data Powers Big Business" and "Big Data MBA: Driving Business Strategies with Data Science," is responsible for setting the strategy and defining the Big Data service offerings and capabilities for EMC Global Services Big Data Practice. As the CTO for the Big Data Practice, he is responsible for working with organizations to help them identify where and how to start their big data journeys. He's written several white papers, is an avid blogge...
The standardization of container runtimes and images has sparked the creation of an almost overwhelming number of new open source projects that build on and otherwise work with these specifications. Of course, there's Kubernetes, which orchestrates and manages collections of containers. It was one of the first and best-known examples of projects that make containers truly useful for production use. However, more recently, the container ecosystem has truly exploded. A service mesh like Istio addr...
Business professionals no longer wonder if they'll migrate to the cloud; it's now a matter of when. The cloud environment has proved to be a major force in transitioning to an agile business model that enables quick decisions and fast implementation that solidify customer relationships. And when the cloud is combined with the power of cognitive computing, it drives innovation and transformation that achieves astounding competitive advantage.
Whenever a new technology hits the high points of hype, everyone starts talking about it like it will solve all their business problems. Blockchain is one of those technologies. According to Gartner's latest report on the hype cycle of emerging technologies, blockchain has just passed the peak of their hype cycle curve. If you read the news articles about it, one would think it has taken over the technology world. No disruptive technology is without its challenges and potential impediments t...