← Prev in month ← Prev in thread
Next in thread → Next in month →

NEW ISSUE: Composite property example contradicts spec definition

From
Simon Nash <>
Date
2009-07-03T08:08:23+00:00
ID
Thread
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
← Prev in month ← Prev in thread
Next in thread → Next in month →