W3C home > Mailing lists > Public > xml-dist-app@w3.org > April 2002

Re: Proposal for allowing xml:lang on faultstring

From: Jean-Jacques Moreau <moreau@crf.canon.fr>
Date: Fri, 12 Apr 2002 17:40:47 +0200
Message-ID: <3CB6FFFF.3A693AA1@crf.canon.fr>
To: Henrik Frystyk Nielsen <henrikn@microsoft.com>
CC: Martin Gudgin <marting@develop.com>, XML Protocol Discussion <xml-dist-app@w3.org>
<Comment>
    <Value>LOL</Value>
</Comment>

<JJ/>

Henrik Frystyk Nielsen wrote:

> <ProposalReview>
>   <Increment>1</Increment>
> </ProposalReview>
>
> Henrik
>
> >The proposal:
> >
> >1.  Add the following to the top of the envelope schema[1];
> >
> > <xs:import namespace='http://www.w3.org/XML/1998/namespace' />
> >
> >2.  Add a type definition as follows;
> >
> > <xs:complexType name='faultstring' >
> >    <xs:simpleContent>
> >      <xsd:extension base='xs:string' >
> >        <xs:attribute ref='xml:lang' />
> >      </xs:extension>
> >    </xs:simpleContent>
> > </xs:complexType>
> >
> >3. Amend the Fault type as follows;
> >
> > <xs:complexType name="Fault" final="extension" >
> >   <xs:annotation>
> >    <xs:documentation>
> >     Fault reporting structure
> >    </xs:documentation>
> >   </xs:annotation>
> >   <xs:sequence>
> >    <xs:element name="faultcode" type="tns:faultcode" />
> >    <xs:element name="faultstring" type="tns:faultstring" />
> >    <xs:element name="faultactor" type="xs:anyURI" minOccurs="0" />
> >    <xs:element name="faultrole" type="xs:anyURI" minOccurs="0" />
> >    <xs:element name="detail" type="tns:detail" minOccurs="0" />
> >   </xs:sequence>
> >  </xs:complexType>
> >
> >
> >4. Amend the description of faultstring as follows;
> >
> >The faultstring element information item has:
> >
> >  A [local name] of faultstring .
> >  A [namespace name] which has no value.
> >  An optional attribute information item with a local name of lang and
> >namespace name of http://www.w3.org/XML/1998/namespace ( see [ref to
> >http://www.w3.org/TR/REC-xml.html#sec-lang-tag] )
Received on Friday, 12 April 2002 11:44:45 GMT

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