Re: [relax-ng] converting relax ng schema to w3c schema?

From
Eric van der Vlist <>
Date
2002-06-20T09:51:09+00:00
ID
1024566658.23921.209.camel@ibook
Thread
Re: [relax-ng] converting relax ng schema to w3c schema?
On Thu, 2002-06-20 at 11:34, James Clark wrote:

> I think there is a right choice here, and that is not to try to abuse the 
> global/local element distinction for something for which it was not 
> designed.

There is a "Right" choice, but there may be "pragmatic" choices too for
users who have a requirement to constraint the root element!

Furthermore, I do think that the semantic of RNG

<define name="barPattern">
 <element name="bar">
  .../...
 </element>
</define>

is closer to a WXS group than to a WXS global element...

> >> That's not how I interpret the spec.  Which schema processors disallow
> >> this?
> >
> > My interpretation is based on a discussion with Henry Thompson:
> >
> > http://lists.w3.org/Archives/Public/xmlschema-dev/2001Nov/0188.html
> >
> > And the spec seems rather clear:
> >
> > http://www.w3.org/TR/xmlschema-1/#mg-props-correct
> 
> I don't agree. See the discussion at
> 
>  http://lists.xml.org/archives/xml-dev/200202/msg00935.html

I stand corrected, then!

Eric
-- 
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
------------------------------------------------------------------------