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

RE: XUL Compact Syntax Study Now Online - Is XML too hard for

  • To: 'Mike Fitzgerald' <mikefz@w...>, "K. Ari Krupnikov" <ari@c...>, xml-dev <xml-dev@l...>
  • Subject: RE: XUL Compact Syntax Study Now Online - Is XML too hard for Aunt Trudie?
  • From: Tom Gaven <Tom.Gaven@e...>
  • Date: Tue, 20 Apr 2004 13:42:11 -0400

syntax study

>Except there is one problem: At a given point you are 
>addicted. Strangely, though, all the RNC detox centers are empty.

Problem?  No, that's called 'shear joy'. 
.. and I think those centers are going to start filling up....

BTW, here is a (complete?) list of RNC symbols, for those of you who wish to
check in:

()   general purpose pattern grouping
{}   only used on element and attribute patterns, 
to enclose the entire content model of that element or attribute.
|    choice 
&    interleave
,    sequence 
=    only placed to the right hand side of a <define> name.



-----Original Message-----
From: Mike Fitzgerald [mailto:mikefz@w...] 
Sent: Tuesday, April 20, 2004 11:08 AM
To: K. Ari Krupnikov; xml-dev
Subject: Re:  XUL Compact Syntax Study Now Online - Is XML too hard
for Aunt Trudie?


K. Ari Krupnikov wrote:
> Elliotte Rusty Harold <elharo@m...> writes:
>>At 4:25 AM -0400 4/16/04, Gerald Bauer wrote:
>>>I wrote up the compact syntax study after reading
>>>up on the compact (non-XML) syntax for Relax NG - a
>>>schema language for XML. See http://www.relaxng.org
>>>for details.  In case of Relax NG the compact non-XML
>>>syntax clearly beats the XML syntax.
>>
>>A lot of people feel that way. I don't though. I personally find the 
>>XML syntax to be significantly easier to read and understand than the 
>>RELAX NG compact syntax.
> 
> I can second that. It's good that James gave us two alternatives, but 
> every time I have to read RNC, I have to go back and check what the 
> symbols mean. Admittedly, I don't read a lot of RNC, or I would have 
> learned the syntax. But as a causal user, I find the XML syntax a 
> better trade-off between "self-describing markup" and ease of 
> authoring. I doubt Aunt Trudie is a less causal user than I am :=)

In my experience, once you're familiar with RELAX NG, the compact syntax
becomes natural 
-- to the point that you don't want to live without it. In fact, I suspect
that any RNG 
aficionados would much prefer RNC and can't go back to the XML syntax for
one reason: It's 
much quicker to develop schemas by hand, once you have RNG in you back
pocket. And 
twice-blessed by Trang, which can translate RNC to DTD, RNG, or XML Schema,
you don't get 
yourself painted in a corner. Except there is one problem: At a given point
you are 
addicted. Strangely, though, all the RNC detox centers are empty. %^}

Mike


-----------------------------------------------------------------
The xml-dev list is sponsored by XML.org <http://www.xml.org>, an initiative
of OASIS <http://www.oasis-open.org>

The list archives are at http://lists.xml.org/archives/xml-dev/

To subscribe or unsubscribe from this list use the subscription
manager: <http://www.oasis-open.org/mlmanage/index.php>

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.