sca-assembly message
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
| [List Home]
Subject: [NEW ISSUE] Current Schema for Properties does not support value attribute- [ASM50027]
- From: "Luciano Resende" <luciano_resende@us.ibm.com>
- To: sca-assembly@lists.oasis-open.org
- Date: Fri, 7 Aug 2009 23:27:15 -0700
After we updated to sca-core-1.1-cd04.xsd, some schema validation
errors related to properties started to happen as the one below
XMLSchema validation error occured in: TestComposite50
..... Attribute 'value' is not allowed to appear in element 'property'.
The root cause of the issue seems to be the change from
<anyAttribute namespace="##any" processContents="lax"/>
to <anyAttribute namespace="##other" processContents="lax"/>
on the property complexType definition (see below). With this change, only
attributes from another namespace is allowed and thus the validation complaints
about the value attribute which is not defined.
<complexType name="Property" mixed="true">
<complexContent mixed="true">
<extension base="sca:SCAPropertyBase">
<attribute
name="name" type="NCName" use="required"/>
<attribute
name="type" type="QName" use="optional"/>
<attribute
name="element" type="QName" use="optional"/>
<attribute
name="many" type="boolean" use="optional"
default="false"/>
<attribute
name="mustSupply" type="boolean" use="optional"
default="false"/>
<anyAttribute
namespace="##other" processContents="lax"/>
</extension>
<!-- extension defines
the place to hold default value -->
<!-- an extension point
; attribute-based only -->
</complexContent>
</complexType>
The value attribute should be defined.
- Luciano
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
| [List Home]