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

RE: Debating "civil disobedience" against overlycomplicatedspe

  • From: "Champion, Mike" <Mike.Champion@S...>
  • To: xml-dev@l...
  • Date: Mon, 24 Sep 2001 16:24:19 -0400

civil disobedience debate


> -----Original Message-----
> From: Evan Lenz [mailto:elenz@x...]
> Sent: Monday, September 24, 2001 3:36 PM
> To: Sean McGrath; xml-dev@l...
> Subject: Re:  Debating "civil disobedience" against
> overlycomplicatedspecs
> 
> 
> I was referring to precedents of specification rather than precedents of
> implementations' conformance levels. SOAP is the first 
> specification I've heard of that treats DOCTYPE declarations as errors.
Are 
> there any other specifications that do this?

I don't know of any. But that's why I used the term "civil disobedience" to
describe  what Electric XML does in its non-standard API, and various
implementations of other specs seems to be doing quietly: ignoring the stuff
in the specs that makes life complicated for ordinary users who don't
generally care about notations, unparsed entities, attribute types,
namespace complexities, and such.  In other words, they're not fighting the
"laws" (complex specs) in "Congress" (the W3C), they're simply ignoring the
details they don't like.

There seem to be two rational ways that the XML community (e.g., the folks
on this list) could address this.  The obvious one would be to try to shame
the implementers into doing the right thing, for example by volunteering to
write and perform conformance tests and publicize the results.  A corollary
would probably be that you should lobby the SOAP WG into allowing PIs and
DOCTYPE declarations (and the whole tangled mass of stuff that DTDs bring to
the party) in SOAP messages.

The other approach would be to lobby the W3C for a clean way to define XML
feature profiles that applications could use to specify the contract between
producers and consumers of data -- not just the elements, attributes, and
values, but the other stuff such as acceptability of DTD internal subsets,
CDATA sections, PIs, and various namespace declaration configurations. This
would make the SOAP debate easy to resolve:  just use whatever magic profile
string is required to tell the XML parser to treat DOCTYPE declarations and
PIs as errors, then we have interoperability across SOAP implementations and
between SOAP and generic XML implementations.

Simon St. Laurent, my usual partner in crime, seemed to by arguing against
the latter "SGML-ish" approach in an earlier message.  He's right that this
is out of synch with the XML philosophy of defining one basic syntax that
all applications should understand.  But actual practice hasn't been kind to
this philosophical notion; for whatever reasons -- good or bad, I don't want
to re-open the "SML" debate! -- implementers of specialized processors have
NOT been quick to support all the features that XML 1.0 defines. The DOM
defines various optional modules, and SVG has a requirement to define
full/basic/tiny conformance levels in the next version; why not address the
specialized simplicity vs generalized interoperability issue once and for
all by defining multiple conformance levels in XML itself and letting
applications choose the conformance level (or profile) that meets their
needs?

If it turns out that some conformance level/profile that matches what
"developers think the XML specification says" is chosen by most application
developers, then the minimalists will be vindicated; if it turns out that
real-world application developers want the full power of all the stuff you
can define in DTDs, all the "interesting" things you can do with namespaces,
all the wonderful stuff that the PSVI lets the people (ahem, all 5 of them
<grin>) who understand it do ... then that's fine too. 




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.