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

Re: SAX2 and XSLT processors

  • From: "Oren Ben-Kiki" <oren@c...>
  • To: "XSL list" <xsl-list@m...>,"XML List" <xml-dev@i...>
  • Date: Thu, 20 May 1999 10:36:54 +0200

xml.org sax properties xslt
David Megginson <david@m...> wrote:

>Oren Ben-Kiki writes:
>
> > One interesting way for doing it would be to build upon the SAX2
> > extension mechanism, providing a standard SAX2 feature called
> > http://xml.org/sax/features/xslt-transformation and a write only
> > property it uses, called
> > http://xml.org/sax/properties/xslt-stylesheet which takes an
> > InputSource value.
>
>I think that it's a great approach, but the feature and property
>probably don't belong in the core, for two reasons:


That depends on what you mean by "belonging in the core". Certainly a SAX
processor isn't required to implement the feature.

>1. XSL is not yet a recommendation; and

It will be, soon, or so we hope; let's assume for the sake of discussion its
August and a final draft is out.

>2. there are many other specs, such as RDF, XML Linking, and XML
>   Schemas, that could fairly claim equal treatment.


I perfectly agree that the same problem exists for all relevant W3C
recommendations. IMVHO, it is wrong to specify such features using
http://my.own.company/... URIs. It would be very much in the spirit of SAX
to specify them under http://xml.org/... instead. That is, I feel that _all_
features necessary for implementing XML standards (be they from the W3C or
from anywhere else) do "belong in the core".

How about the following solution: Reserve the
http://xml.org/sax/features/w3.org/ and
http://xml.org/sax/properties/w3.org/ base URIs for specifying features and
properties for implementing features and properties for implementing W3C XML
recommendations. These prefixes would be followed by the internal part of
the URI the W3C uses the recommendation - for example, "XSL/Transform/1.0" -
and then followed by a sub-feature of a property name, if necessary.

For XSL, we'd get http://xml.org/sax/features/w3.org/XSL/Transform/1.0 and
http://xml.org/sax/properties/w3.org/XSL/Transform/1.0/stylesheet. Similar
features and properties would be defined for RDF, XLink, XSchema, etc. If in
the future some other organization - "std.makers.org" - contributes relevant
standards, we'll define http://xml.org/sax/features/org.makers.std/..., etc.
This way "standard" features would have "standard" names.

>That said, there is no reason at all that someone couldn't define such
>a feature and property outside of the SAX2 core list and let the
>market decide.


I can't see "someone" other then w3.org or xml.org being able to pull this
off. For example, I'm perfectly willing to contribute the URIs
http://com.publishare/sax/features/xsl-transformation/1.0 and
http://com.publishare/sax/features/xsl-transformation/1.0/stylesheet for
specifying XSL transformations and specifying an InputSource for loading the
stylesheet.

What's the chance that implementers will wrap their XSL processor this way?
Consider that "http://publishare.com" is a URI controlled by my company, and
therefore refers to a particular product ("PubliShare", not released yet)
which happens to use XSL. We'd certainly enjoy the resulting publicity
within the XML community, but the chances that Microsoft (or IBM, or Sun, or
any other company for that matter) will provide its XSL processor using
these URIs is pretty slim.

If, on the other hand, we (XML developers) accept SAX2 and within it a way
to specify all standard XML recommendations, under a neutral name such as
"xml.org", there's a pretty good chance that implementers will bother
complying.

Share & Enjoy,

    Oren Ben-Kiki


xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i...
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:majordomo@i... the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)


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.