sca-assembly message
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
| [List Home]
Subject: NEW ISSUE: Namespace problems in C/C++ .componentType files
- From: Bryan Aupperle <aupperle@us.ibm.com>
- To: sca-assembly@lists.oasis-open.org
- Date: Fri, 19 Jun 2009 09:50:08 -0400
Target: All .componentType test artifacts
for C and C++
Description: These files contain
type identifiers for properties. These identifiers are currently
listed as "string" For C++, string is correct, but it comes
from the schema namespace, and the namespace prefix is missing, nor is
the namespace prefix defined. For C, a restricted sting is needed.
Proposal:
For the C++ componentType files, add
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
to the <componentType/> and change all occurrences of type="string"
to type="xsd:string"
For the C componentType files, add xmlns:test="http://docs.oasis-open.org/ns/opencsa/scatests/200903"
to the <componentType/>, change all occurrences of type="string"
to type="test:boundedString50"
and add a schema defining
<simpleType
name="boundedString50">
<restriction
base="string">
<length
value="50"/>
</restriction>
</simpleType>
Bryan Aupperle, Ph.D.
STSM, WebSphere Enterprise Platform Software Solution Architect
Research Triangle Park, NC
+1 919-254-7508 (T/L 444-7508)
Internet Address: aupperle@us.ibm.com
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
| [List Home]