OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

relax-ng message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Subject: RE: [relax-ng] converting relax ng schema to w3c schema?


On Thu, 2002-06-20 at 02:12, Michael Fitzgerald wrote:
> Granted, there will be limitations. Just warn them with (e.g.)
> 
> WARNING: XML Schema does not support <rng:interleave>, using <xs:all>
> instead which includes a zero or one restriction.

But there are just so many of them.

How would you translate:

<grammar xmlns="http://relaxng.org/ns/structure/1.0";>

<start>
 <element name="foo">
  <ref name="bar"/>
 </element>
</start>

<define name="bar">
 <element name="bar">
  <zeroOrMore>
   <ref name="bar"/>
  </zeroOrMore>
 </element>
</define>

</grammar>

(it's just another example to show that the list will be so long that
the approach will be hardly practical)

> 
> and call it marketing!

Not only marketing.

You've been too kind in your article to compare WXS to a limousine. IMO
it's rather a big broken truck. And if you need to design a road for
sport cars and big broken trucks you'd better start making sure it will
support the big broken trucks, otherwise they will be blocked in the
first tunnel.

And yes, you can validate the road driving your Ferrari and pretending
that you're driving something 30 times heavier and 4 times higher but I
am not sure that your validation will be very sugnificant.

Eric (needing to make sure that there will be some readers left for his
WXS book!)

> 
> Mike
> 
> 
-- 
See you in San Diego.
                               http://conferences.oreillynet.com/os2002/
------------------------------------------------------------------------
Eric van der Vlist       http://xmlfr.org            http://dyomedea.com
(W3C) XML Schema ISBN:0-596-00252-1 http://oreilly.com/catalog/xmlschema
------------------------------------------------------------------------



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Powered by eList eXpress LLC