Murata-san may be too polite to mention it, but his paper with Murali Mani on XML schema languages is a pretty good documentation of the differences in power.
http://www.cobase.cs.ucla.edu/tech-docs/dongwon/mura0619.pdf It is a CS theory paper, but is quite clearly written. I have taught it to undergraduates at Brown, with some advice on the formalism. The issue of ambiguity is a significant one if one wants to guarantee that one has selected a standard tool which will guarantee that new schemas are unambiguous. I still prefer RelaxNG because I can understand it, and the implementations inter-operate, but I don't think that the advice to use WXS for data bindings is completely wrong, even if it is the conventional wisdom. It's a tool that helps the inexperience grammar writer avoid data binding problems, at the cost of expressivity that's useful for document applications. -- David On 10/9/05, MURATA Makoto <[EMAIL PROTECTED]> wrote: > > > However I would not suggest RELAX NG for all projects. If data-binding > > is your main interest than unambiguity of WXS is good. Otherwise RNG is > > better. If I will made it oversimplicated then WXS is for data folks and > > RNG for document folks. But you know that boundary between data and > > documents is quite fuzzy :-) > > Is it true that RELAX NG allows ambiguous grammars and such grammers > are problematic for data-binding. Thus, data binding tools for RELAX NG > (e.g., JAXB, Relaxer, and RelaxNGCC) actually supports unambiguous RELAX > NG grammars. You only have to write unambiguous grammars in RELAX NG > for handling data. > > Since RELAX NG is much simpler than W3C XML Schema, develop data binding > tools for RELAX NG should be easier to develop. > > Cheers, > > Makoto > > > > > > Yahoo! Groups Links > > > > > > > > > -- -- David ------------------------ Yahoo! Groups Sponsor --------------------~--> Most low income households are not online. Help bridge the digital divide today! http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/2U_rlB/TM --------------------------------------------------------------------~-> Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/rng-users/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
