Proposal for consistency in namespace qualification of additonal elements/attributes in Representation header spec

At our telcon last week I took an action to make a proposal for
consistency in namespace qualification of additonal elements/attributes
in Representation header spec.

Here is that proposal.

Cheers

Gudge

The schema should be:

<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" 
           xmlns:tns="http://www.w3.org/2004/02/representation" 
           targetNamespace="http://www.w3.org/2004/02/representation" 
           elementFormDefault="qualified" >
 <xs:element name="Representation" type="tns:Representation" /> 
 <xs:complexType name="Representation">
  <xs:sequence>
   <xs:element name="Data" type="tns:Data" /> 
   <xs:any namespace="##other" minOccurs="0" maxOccurs="unbounded" /> 
  </xs:sequence>
  <xs:attribute name="resource" type="xs:anyURI" use="required" /> 
  <xs:anyAttribute namespace="##other" /> 
 </xs:complexType>

 <xs:complexType name="Data" >
  <xs:simpleContent>
   <xs:extension base='xs:base64Binary' >
    <xs:anyAttribute namespace="##other" /> 
   </xs:extension>
  </xs:simpleContent>
 </xs:complexType
</xs:schema>

Section 2.2.1 should read:

2.2.1 rep:Representation element

The Representation element information item has: 

	A [local name] of Representation. 

	A [namespace name] of
"http://www.w3.org/2004/02/representation". 

	One or more attribute information items amongst its [attributes]
property as follows: 

		A mandatory resource attribute information item (see
2.2.2 resource attribute). 

		An optional reinsert attribute information item (see
2.2.3 reinsert attribute). 

		Zero or more namespace qualified attribute information
items whose [namespace name] is not
"http://www.w3.org/2004/02/representation"

One or more element information items in its [children] property in
order as follows: 

	A mandatory Data element information item (see 2.2.4 rep:Data
element). 

	Zero or ore element information items whose [namespace name] is
not "http://www.w3.org/2004/02/representation". 


Section 2.2.4 should read:

2.2.4 rep:Data element

The Data element information item has: 

	A [local name] of Data. 

	A [namespace name] of
"http://www.w3.org/2004/02/representation". 

	Zero or more namespace qualified attribute information items
whose [namespace name] is not "http://www.w3.org/2004/02/representation"

	Any number of character information item in its [children]
property. No other type of information item in its [children] property. 

The type of a rep:Data element information item is based on
xs:base64Binary. The value of this element information item is a
base64-encoded representation of the Web resource carried in the
rep:Representation element information item parent of the resource
attribute information item. 

Received on Wednesday, 30 June 2004 11:33:11 UTC