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

Re: RELAX NG Marketing (was RE: Do Names Matt er?)


Re:  RELAX NG Marketing (was RE:  Do Names Matt er?)
1.  You asked for a use case for default values, which I provided.  I was
not intending to argue with you about what you consider their special
status, but which I suspect may be a historical accident (see #4 below).
Default values for attributes and elements are not necessary, but are
convenient for the application programmers and vendor, and for the users in
the instances I describe.
2.  As you point out, default values must be used judiciously -- when they
are safe rather than when they are merely convenient, particularly when a
DTD change is used for compatibility with a application version change.
3.  Consider a case where an application is capable of extracting
information from an already existing user database.  It is the user's
responsibility to set up some views on the existing tables to produce the
data in the right format for the application.  Then the user must add to the
configuration file a user id, a database type (say Oracle vs. SQL Server), a
port and driver name, and the names of the views that the application must
use.  A user who knows how to do this does not necessarily know what's a
good setting for the logging severity level.  Having a default value means
he doesn't have to tweak this setting in the configuration file.  Users may
never change this setting, except when instructed by vendor's customer
support.
4.  I was not attempting to argue that default element and attribute values
deserve a special place.  Presumably they are present in XML as an SGML
legacy and perhaps not all the consequences of carrying them over when there
was a choice of well-formed parsing vs. validation were thought through in
sufficient detail.  The working group members can probably elucidate.
Certainly it makes eminent sense to have default values if a document must
always be validated against a DTD or schema.

Jeff




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.