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

Re: Namespaces, W3C XML Schema (was Re: ANN: SAX FiltersforNamespaceProc

  • From: Edd Dumbill <edd@u...>
  • To: "David E. Cleary" <davec@p...>
  • Date: Tue, 31 Jul 2001 21:50:34 +0100

xml schema recursion
On Tue, Jul 31, 2001 at 03:59:41PM -0400, David E. Cleary wrote:
> Don't take this as arguing people should use unqualified
> elements. I'm just arguing that Schema isn't to blame for this.
> 
> There are two reasons why someone would do this:
> 
> 1. They have a reason to.
> 2. They do not know what they are doing.

3. They are actively encouraged to write documents this way because that
   is the way it's taught in XML training courses and books.

4. They copied an example from the SOAP specification.

The reason Simon wrote his filter in the first place was in reaction to
something taught by a very respected XML trainer.  If I remember
correctly (and I'm sure there are several here who will help me out if
that isn't the case) conversation with Henry Thompson and others earlier
in the year yielded the interesting observation that those who teach W3C
XML Schemas teach use of either unqualified child elements or qualified
ones -- but neither camp teach a mix.  Clearly there's a "best practice"
issue at stake.

Your assertion that "[W3C XML] Schema isn't to blame" is wrong -- if the
new model of document processing brought about by W3C XML Schema didn't
exist, ie. the ability to imply the semantic relationship between the
child and parent elements, then there wouldn't be a confusion.
Personally speaking, I can't say I saw this pattern of XML usage much
before 'Schema.

I'm unsure why at this point anybody wants to take such a rigid
position w.r.t. W3C XML Schema.  They exist, are important whether we
like them or not, and the best thing to do is agree on unambiguous
practice to maximise document portability.

Seems to me that it would be better if all the respected trainers and
writers would land firmly on one side of this argument, rather than
differing.

-- Edd

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.