W3C home > Mailing lists > Public > public-xsd-databinding@w3.org > February 2007

ACTION-101 Bare Arrays Issue

From: <jon.calladine@bt.com>
Date: Tue, 6 Feb 2007 15:01:20 -0000
Message-ID: <69745757A6DB3C4897CAC70999C477BDF502DB@E03MVW3-UKDY.domain1.systemhost.net>
To: <public-xsd-databinding@w3.org>
I took an action
(http://www.w3.org/2005/06/tracker/databinding/actions/101) to
investigate the issue raised by Microsoft (Item 7) in their last call
comments. This was because of a request that BT had seen internally that
we add 'wrapper' elements to repeated elements in schema's generated
from our UML models to address 'implementation problem'. This sounded
like the same issue at first but...

A bit of digging to find the driver for this request has shown that
Siebels own 'Integration Objects' that are created  from the wsdl, and
mapped to Siebel data types, can not have a cardinality of >1 assigned
to basic datatypes, only 'components' (i.e. complex types.) 

Example it cannot process a schema to create an instance doc as follows:

<m1:debtScheduleAction>
	<m1:type>Skip</m1:type>
	<m1:name>Partially Restricted</m1:name>
	<m1:name>Complete Restricted</m1:name>
	
<m1:debtScheduleRestartDate>1967-08-13</m1:debtScheduleRestartDate>
</m1:debtScheduleAction>
but it can create:
<m1:debtScheduleAction>
	<m1:type>Skip</m1:type>
	<m1:name>
		<nameValue>Partially Restricted</nameValue>
	</m1:name>
	<m1:name>
		<nameValue>Complete Restricted</nameValue>
	</m1:name>
	
<m1:debtScheduleRestartDate>1967-08-13</m1:debtScheduleRestartDate>
</m1:debtScheduleAction>


I don't know how we ought to view such a bizarre tool limitation wrt
basic patterns. For discussion on the call?

Further to that we have seen requests for wrapped arrays from another
source as well. In an integration layer that sits in front of BES/COTS
we implement XSLT to convert between the SOA interafces and the bespoke
XML of the BES. Their issue with bare arrays is that it is a far less
efficient way of processing the document.

Jon Calladine
Matrix Engineering
OneIT Platform Design and Build
BT Exact


This electronic message contains information from British
Telecommunications plc which may be privileged or confidential. The
information is intended to be for the use of the individual(s) or entity
named above. If you are not the intended recipient be aware that any
disclosure, copying, distribution or use of the contents of this
information is prohibited. If you have received this electronic message
in error, please notify us by telephone or email (to the numbers or
address above) immediately.
Activity and use of the British Telecommunications plc E-mail system is
monitored to secure its effective operation and for other lawful
business purposes. Communications using this system will also be
monitored and may be recorded to secure effective operation and for
other lawful business purposes.
Received on Tuesday, 6 February 2007 15:11:28 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 18 December 2010 18:20:37 GMT