Subject: [siprec] Schema errors

From: "Elwell, John" <[email-masked]>
Date: Fri, 9 Sep 2011 09:15:06 +0200

The schema in -04 is not valid.  I am informed by a colleague that some corrections along the following lines are needed:

1. There is a missing </xs:schema> end tag.

2. There is a redundant </xs:simpleType> towards the end.

3. Target namespace uses a prefix (tns), but the prefix is missed in the type-definitions:
	xmlns:tns="urn:ietf:params:xml:ns:recording"
But, for example:
	<xs:element name="datamode" type="dataMode"

This could be solved by, for example:
	<xs:element name="datamode" type="tns:dataMode"

Or alternatively make the target namespace the default namespace:
	xmlns="urn:ietf:params:xml:ns:recording"

John (as individual)

John Elwell
Tel: +44 1908 817801 (office and mobile)
Email: [email-masked]
http://www.siemens-enterprise.com/uk/

Siemens Enterprise Communications Limited.
Registered office: Brickhill Street, Willen Lake, Milton Keynes, MK15 0DJ.
Registered No: 5903714, England.

Siemens Enterprise Communications Limited is a Trademark Licensee of Siemens AG.