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

RE: ANN: SAX Filters for Namespace Processing

  • From: "David E. Cleary" <davec@p...>
  • To: xml-dev@l...
  • Date: Fri, 03 Aug 2001 10:41:46 -0400

ann sax
> XML Schemas didn't cause the problem, but they did introduce two
> features (local element types and unqualified child element types) which
> helped legitimize its practice. And believe me, a lot of people think
> that if a tool is available, it should be used.

Let's take this argument to an extreme. There are members of the XML
community who loudly argue that using attributes is a bad practice. XML
Schema could have taken this point of view and not created attribute
declarations. These people would be happy, but other wouldn't. But then, it
wasn't a goal of XML Schema to produce a subset of XML as some on this list
have been discussing for years. XML Schema had to be able to model as much
of well formed XML as possible. That task more correctly belongs to whoever
creates XML 2.0, and that probably will not happen any time soon.

Also, if alternative schema languages like Trex and Relax are unable to
model this XML, then not only do they have a much lower bar to jump over
than XML Schema, but I'd also be concerned about what else they don't let me
do in the name of best practices. And if they do allow modeling such as
this, then they are no more guilty than XML Schema, which IMHO means there
is no guilt at all.

> This argument is fine for users, who can choose not to use a feature.
> It's of no use to people (like me) who write schema-driven software. If
> it's in the spec, we have to support it.

If you are looking to subset XML, then you are correct that XML Schema is
not the tool to do it.

Dave


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.