On 10/10/05, Robin Berjon <[EMAIL PROTECTED]> wrote:

> That's a fine list already, but I have found that lemmings respond
> better to concrete examples than to a check-list
Fair comment Robin :-)


>
> For instance, making the attributes part of the content model (which is
> often placed under co-occurence constraints, though I'm not convinced
> that's a useful way of seeing it) is a feature that often comes in handy
> in cases like the following (since we're talking XHTML):
>
>    <element name='script'>
>      <choice>
>        <attribute name='src'/>
>        <text/>
>      </choice>
>    </element>
>
> This is simple and obvious a thing to want to do right? Well, you can't
> do it in WXS.

! Sheesh.



>
> I'm sorry I don't have time to write or dig up further examples for your
> list above, but there are some out there. There's probably a long list
> of posts from Eric on a bunch of lists explaining variants of what RNG
> can do that WXS can't.

Hence my question. Eric may have collated them, I don't know till
he reads the list!
  I guess I just wanted somewhere to point to on the web.




>
> Regarding modularity, I do find that the ability to join <define>s using
> the combine attribute allows for if not better at least much simpler
> modularity than WXS does. You can probably reproduce most of its power
> in WXS, but at the cost of tighter coupling between your modules (which
> is what you're trying to avoid in the first place by being modular) and
> more work.

Is the combine functionality totally missing in XSD/WXS?

(has it been allocated a regular acronym yet?)




> And hey, if they really want to be lemmings it's time to join the
> bandwagon: at least XHTML 2.0 and SVG 1.2 are using RNG as their primary
> schema language (precisely because it has more of the constraints they
> need), not WXS. I'm sure that a few other WGs will be following those
> examples, if they aren't already.

I'm trying with SSML lexicon.


>
> > Is the datatype library extensibility a feature of XSD too?

> > Schematron extensions are (IMHO) one of the most useful
> > features, but I guess that's not a part of RNG.
>
> Right, you can add them to WXS as well.

OK, although for rng, that is an extension rather than a part of the spec,
so I guess shouldn't be included.

>
> > Whilst I realise RNG is not for all projects,  I certainly find it easier 
> > than
> > DTD's.
>
> It's more expressive, and it supports namespaces and data types... Who
> needs DTDs? :)

My bet is they'll be around a long time yet!

Thanks Robin.


regards

--
Dave Pawson
XSLT XSL-FO FAQ.
http://www.dpawson.co.uk


------------------------ Yahoo! Groups Sponsor --------------------~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/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/
 




Reply via email to