[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: "David E. Cleary" <davec@p...>
  • To: xml-dev <xml-dev@l...>
  • Date: Wed, 01 Aug 2001 11:58:09 -0400

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

Are they?

> 4. They copied an example from the SOAP specification.

As someone mentioned, this is an open issue in XMLP.

> The reason Simon wrote his filter in the first place was in reaction to
> something taught by a very respected XML trainer.

That is not what I got out of his original message. Correct me if I'm wrong
Simon.

> 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.

I can't comment on specific teachings, but I have no doubt I would have
differences of opinion on what is a best practice. And a best practice in
one domain is not nescessarily a best practice in another domain.

> 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.

There has always been an implied semantic relationship between parent and
child in XML. Otherwise, why create hierarchical documents in the first
place?

> Personally speaking, I can't say I saw this pattern of XML usage much
> before 'Schema.

I don't see it being used much after Schema, except in contrived examples.

> 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.

I can't speak to this as I do not know who they are or where they stand.
Myself, I do not see a need to use unqualified elements in my uses of XML,
but I'm also big enough to realize the XML world doesn't revolve around me
and others may have good reasons for using them.

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.