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

RE: Relax NG annoyances

  • To: 'James Clark' <jjc@j...>
  • Subject: RE: Relax NG annoyances
  • From: "Bullard, Claude L (Len)" <clbullar@i...>
  • Date: Thu, 3 Jul 2003 08:35:34 -0500
  • Cc: xml-dev@l...

parameterized elements relax ng
Yes, but we do get the cases such as the X3D MFString 
mappings that become ugly for authors and error prone. 
It should have been done with elements, but applying 
that as a general rule to the language for consistency 
would have resulted in a very verbose language.  Today, 
the normative definition for the XML encoding is an 
ugly and heavily parameterized DTD which when contrasted 
to the lighter cleaner curly syntax which is almost the 
same as VRML97, gives the X3D encoding something of a 
black eye.  There is an XML Schema, but I don't think 
anyone has put their mind to doing a RELAX NG version. 
It could improve the situation but not being a RELAX 
designer, I can't say.  Having just been elected to 
the BoD, it is something I will suggest.

len

-----Original Message-----
From: James Clark [mailto:jjc@j...]

As regards list, RELAX NG is already providing more than W3C XML Schema. 
For example, in RELAX NG you can have a list of an NCName followed by a 
URI.  As for why we didn't go further than this and support 
non-whitespace separated lists, I think there was doubt as to whether 
this was pushing the envelope in the right direction.  Isn't it better 
to mark up complex structure explicitly with elements and attributes? 
The general policy for version 1.0 was only to put in features that we 
were sure about it.  Non-whitespace separated lists are something that 
could easily be added in version 2 if experience with version 1.0 shows 
it to be desirable.

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.