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

NEW ISSUE: Namespace problems in C/C++ .componentType files

From
Bryan Aupperle <>
Date
2009-06-19T13:50:19+00:00
ID
Thread
NEW ISSUE: Namespace problems in C/C++ .componentType files
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: 
← Prev in month ← Prev in thread
Next in thread → Next in month →