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

Re: Restrictions on existence of attributes?


Re:  Restrictions on existence of attributes?
Michael Champion wrote:

> RELAX NG is probably a "better" language for document-like XML 
> structures, but it is insufficient for data-intensive applications. 

What are these insufficiencies?

> Trouble is, a lot of people have flexible documents full of data that 
> came from objects or databases.  They'll have a hard time with the 
> "flexible document" limitations of XSD, but a hard time with the "object 
> serialization" limitations of RELAX NG.

What limitations? Of course, you can create ambiguous content models in 
RELAX NG that are hard to map to fixed object structures. But this is 
not limitation of RELAX NG, it is rather limitation of object-oriented 
type systems. And anyway, if your primary data source is object or 
relational store and you are using XML as a serialization format you do 
not have to use such advanced RELAX NG features.

> Again, the bottom line here is that it would be good to have a lot more 
> hard evidence that RELAX NG is really a more pragmatic solution than XSD 
> to problems such as this one before recommending it, irrespective of its 
> many excellent technical properties.

Everyone who works with RELAX NG (at least in my experience) will tell 
you that he/she didn't have any problems with it. The only problem is 
that big vendors for some reason doesn't want to add support for another 
schema language into their toolkits. This means that RELAX NG is now 
used mainly only by informed experts, but not by masses of developers.

-- 
------------------------------------------------------------------
   Jirka Kosek     e-mail: jirka@k...     http://www.kosek.cz
------------------------------------------------------------------
   Profesionální školení a poradenství v oblasti technologií XML.
      Podívejte se na náš nově spuštěný web http://DocBook.cz
        Podrobný přehled školení http://xmlguru.cz/skoleni/
------------------------------------------------------------------
                    Nejbližší termíny školení:
     ** XSLT 23.-26.10.2006 ** XML schémata 13.-15.11.2006 **
      ** DocBook 11.-13.12.2006 ** XSL-FO 11.-12.12.2006 **
------------------------------------------------------------------
   http://xmlguru.cz    Blog mostly about XML for English readers
------------------------------------------------------------------

S/MIME Cryptographic Signature


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.