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

Re: Namespaces, schemas, Simon's filters.

  • From: Peter Piatko <piatko@r...>
  • To: Tim Bray <tbray@t...>, xml-dev@l...
  • Date: Fri, 24 Aug 2001 17:02:23 -0400

simon filter

----- Original Message -----
From: "Tim Bray" <tbray@t...>
To: <xml-dev@l...>
Sent: Thursday, August 23, 2001 4:45 PM
Subject: RE: Namespaces, schemas, Simon's filters.

<snip/>

> Q1: Why would you use XML?
> A1: One of the important reasons is so that you can re-use data for
> purposes other than those envisioned by its creator.

<snip/>

> PS: And since the title line mentions Simon's filters, they look
> to me like well-done software, but I continue to believe that
> they should never be used, since they (a) fly in the face of
> the author's intent as regards namespaces, and (b) they break
> schema validation.

I'm not sure why I'm defending Simon's filter so much, since to be honest I
don't have a use for it, but here goes ....

To me, the above two paragraphs contradict each other.  Sometimes data reuse
requires transformation/filters/etc.  Maybe the receiver of the XML instance
doesn't care or understand about schema validation.  What does point (b)
matter to him?

I concede that point (a) is more problematic, especially if you truly
consider namespace+element as a kind of UUID.  Then pushing an element into
a namespace starts to look fishy.  I tend to think that the world is a bit
more relative and if a deluded receiver needs to think that a local element
is a namespace, well, then Simon's filter has its place in the world.

Peter


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.