W3C home > Mailing lists > Public > www-ws-desc@w3.org > November 2002

Re: Using alternative schema languages

From: Jacek Kopecky <jacek@systinet.com>
Date: 21 Nov 2002 15:07:10 +0100
To: "Amelia A. Lewis" <alewis@tibco.com>
Cc: WS Description List <www-ws-desc@w3.org>
Message-Id: <1037887630.15527.13.camel@krava>

Amy, 

I like the text (I've only skimmed through though) but I don't like the
fact that you use the 'element' and 'type' AIIs to refer to DTD and
RelaxNG definitions (see the quotes below). 

I'd rather see something like

<part name="DTDDefinedPart" dtdns:element="ExampleElement"/>
<part name="RelaxNGDefinedPart" rng:definition="foo:ExampleRNGDefn"/>

The fact that the 'element' and 'type' attribute information items are
not namespace-qualified is only an optimization because XML Schema must
be supported by a WSDL processor and it is assumed that XML Schema will
be used the most.

Best regards,

                   Jacek Kopecky

                   Senior Architect, Systinet Corporation
                   http://www.systinet.com/



On Thu, 2002-11-07 at 16:23, Amelia A. Lewis wrote:
> References to Element Definitions
> 
> In referring to an element definition (<!ELEMENT>) from a message part, the
> type attribute information item may not be used.  The element attribute
> information item must be used.  Its value must correspond to the content of
> the namespace attribute information item of the dtd:import element
> information item.  The local name part must correspond to an element defined
> in the DTD.
> 
> References to Type and Element Definitions
> 
> Whether embedded or imported, the type and element definitions present in a
> schema may be referenced from a message part.
> 
> A named rng:define definition may be referenced from the part element
> information item using the type attribute information item.  The QName is
> constructed from the namespace (ns attribute information item) of the schema
> and the content of the name attribute of the define element information
> item.  A type attribute information item may not be used to refer to an
> rng:element element information item.
> 
> A named rng:element definition may be referenced from the part element
> information item using the element attribute information item.  The QName is
> constructed from the namespace (ns attribute information item) of the schema
> and the content of the name attribute of the element element information
> item.  An element attribute information item may not be used to refer to an
> rng:define element information item.
Received on Thursday, 21 November 2002 09:07:14 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:58:22 GMT