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

Re: Re: I can XInclude where I bloody want to

  • To: xml-dev@l...
  • Subject: Re: Re: I can XInclude where I bloody want to
  • From: Mike Brown <mike@s...>
  • Date: Thu, 2 May 2002 13:34:49 -0600 (MDT)
  • In-reply-to: <200205021101.MAA18000@p...> "from David Carlisle atMay 2, 2002 12:01:03 pm"

dom xslt xinclude
> If the solution to posting documents on the web involves using script
> code to load up specific implementations of DOM and specifc
> implementations of XSL then that _is_ fatal to the web as an open medium
> for exchanging documents.

Netscape's gratuitous flaunting of standards, its tolerance for horribly
broken HTML, its endless extensions to HTML to turn it into a user agent
control language rather than declarative document structure markup, and its
inability to properly render tables (one of its own HTML extensions, if I
recall), certainly were not fatal to the web. The W3C even embraced their
ideas and incorporated them into HTML 3 and 3.2.

> If XML was designed specifically for the purpose of distributing
> documents over the web in an open manner, why should I have to front
> _every_ XML document by an HTML page with some script that tries to
> second guess every conceivable DOM/XSLT implementation with which the
> document might be used?

Because the standards leave too much room for different DOM/XSLT
implementations to interact in unforeseen ways? I'm not saying we have to like
it, just that the hassle of dealing with it isn't necessarily spelling doom 
for the web or for XML. If it's a serious roadblock, let's address it.

A couple years ago we were looking at the same issue on xsl-list: many vendors
had slightly different implementations of roughly the same functionality in
their perfectly legal XSLT extensions. If you wanted to portably convert a
result tree fragment to a node-set, you had to introduce spaghetti code to
check for the availability of node-set() in various namespaces. EXSLT came
about as the solution, and now, a couple years later, the major XSLT
processors are all supporting it (even Xalan, in CVS). Granted, you still
might need a little bit of spaghetti, but chances are, you've said "this code
does what it's supposed to as long as your processor supports EXSLT" ...and
you didn't feel terribly guilty about saying it.

I realize this doesn't change anything, but if-MSXML-do-This-otherwise-do-That 
spaghetti isn't going to kill the web, and we can probably sort out something
better for the future.

   - Mike
____________________________________________________________________________
  mike j. brown                   |  xml/xslt: http://skew.org/xml/
  denver/boulder, colorado, usa   |  resume: http://skew.org/~mike/resume/

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.