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: 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: aupperle@us.ibm.com


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