OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

sca-assembly message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: NEW ISSUE: Composite property example contradicts spec definition


TARGET: Assembly Model Specification

DESCRIPTION: Composite property example contradicts spec definition

The section on Composite Properties includes an example of a
composite property with a type of xsd:string and a default value
MyValue supplied as the content of the <property> element
(see lines 1706-1708 of CD03).

The definition of the default value for a composite property says
that the <property> element can contain a default value, and the
format of this default value is as described in the section on
Component Property (see lines 1596-1598 of CD03).

The definition in the section on Component Property gives five
alternative ways to specify a value.  One of these alternatives
is to supply a value as the content of the property element.
However, this is only allowed if the type of the property is an
XML Schema global element (see ASM50029 on lines 996-998 of CD03).

In the example on lines 1706-1708, the type of the property is
not an XML Schema global element.  It is therefore incorrect
(according to ASM50029) to supply the property value as the
content of the <property> element.

PROPOSAL:

Replace line 1707 of CD03 by the following:

  <value>MyValue</value>


   Simon




[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]