[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: Re: [relax-ng] New article on RELAX NG vs W3C XML Schema
This is very nice. One minor comment. This example
<element name="p">
<zeroOrMore>
<text/>
<element name="br"><empty/></element> <!-- typo in article -->
</zeroOrMore>
<optional>
<text/>
</optional>
</element>
doesn't quite illustrate the point it's intended to. Since <text/> matches
*zero* or more text nodes, the above is equivalent to:
<element name="p">
<mixed>
<zeroOrMore>
<element name="br"><empty/></element>
</zeroOrMore>
</mixed>
</element>
A better example would be something like <object> in XHTML, which has zero
or more <param> children followed by mixed content.
----- Original Message -----
From: "Eric van der Vlist" <vdv@dyomedea.com>
To: <relax-ng@lists.oasis-open.org>
Sent: Friday, January 25, 2002 1:08 AM
Subject: [relax-ng] New article on RELAX NG vs W3C XML Schema
> I hope you'll enjoy reading it as much as I have enjoyed writing it!
>
> RELAX NG is like a breath of fresh air...
>
> http://www.xml.com/pub/a/2002/01/23/relaxng.html
>
> Eric
> --
> Rendez-vous a Paris pour les Electronic Business Days 2002.
> http://www.edifrance.org/ebd/index.htm
> ------------------------------------------------------------------------
> Eric van der Vlist http://xmlfr.org http://dyomedea.com
> http://xsltunit.org http://4xt.org http://examplotron.org
> ------------------------------------------------------------------------
>
>
> ----------------------------------------------------------------
> To subscribe or unsubscribe from this elist use the subscription
> manager: <http://lists.oasis-open.org/ob/adm.pl>
>
>
>
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC