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

Re: Seduced by Markup

  • From: John Cowan <johnwcowan@gmail.com>
  • To: Len Bullard <cbullard@hiwaay.net>
  • Date: Mon, 18 Nov 2013 11:39:16 -0500

Re: Seduced by Markup



On Mon, Nov 18, 2013 at 11:06 AM, <cbullard@hiwaay.net> wrote:

"So the advantage of DTDs is that they are gibberish to all?"

No.  The advantage is almost everything a human needs to read to interpret
them is in one place.   XSD may be richer in types and a parser writer's wet
dream, but as a simple human lookup, it [expletive deleted].

Sure, but I wasn't comparing DTDs to XSD at all, but to RNG compact syntax.  It's true that the pieces can be pretty scattered because you can create arbitrary named patterns, but that's actually *less* arbitrary than parameter entities.  The advantage of spreading things out in RNG compact syntax is *so that* you can create better, clearer names, a facility that can obviously be abused.
 
MODERATO (quit bitching about the key signature and just play it).

(grin)

When my daughter was taking piano lessons, she wanted to learn some pop piece of the day or other, I've forgotten just what.  So I went across the street to Schirmer's (eheu fugaces!) and bought the sheet music of a piano reduction.  It was *way* beyond her ability to even read the notation, because the timing of modern performance is so ill-matched to the way piano scores are still written.  It's no accident kids are still learning on pre-20th-century stuff: at least you can learn to read it easily.

On the literary side, the reason Milton's syntax in _Paradise Lost_ is so opaque, apparently ("Of man's first disobedience, and the fruit of that forbidden tree whose mortal taste brought death into the world and all our woe with loss of Eden, till one greater man restore us, and regain the blissful seat — sing, heavenly Muse, that on the secret top of Horeb or of Sinai didst inspire that shepherd who first taught the chosen seed in the beginning how the heavens and earth rose out of chaos" is the first sentence!), is that he needs to reconcile three things:

1) Getting the sentences to be correct and grammatical English (the verb is "sing", and it's a command to the Muse).

2) Fitting the meter

3) Getting the sequence of images (disobedience, fruit, tree, death, world, woe, Eden, Jesus, heaven, muse, Mt. Horeb, Mt. Sinai, shepherd, the Jews, Creation, heaven, earth, chaos) in the right order.

Getting all of that right means simplicity and clarity are dropped overboard early.

--
GMail doesn't have rotating .sigs, but you can see mine at http://www.ccil.org/~cowan/signatures


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


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.