OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

sca-c-cpp message

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


Subject: Fw: [sca-c-cpp] NEW ISSUE: Restriction base types have incorrect namespace



This issue has been assigned ID CCPP-107 by the jira system.
See
http://osoa.org/jira/browse/CCPP-107

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

----- Forwarded by Bryan Aupperle/Raleigh/IBM on 05/05/2010 01:16 PM -----
From: Bryan Aupperle/Raleigh/IBM@IBMUS
To: sca-c-cpp@lists.oasis-open.org
Date: 05/05/2010 09:13 AM
Subject: [sca-c-cpp] NEW ISSUE: Restriction base types have incorrect namespace






Target: Test_Types.xsd in the C test suite


Description: Test_Types.xsd defines several types of bounded lengths.  These types are all restrictions of standard XSD types.  The target namespace for the schema is the OASIS scatest namespace to be consistent with the namespace for the comosite and componentType documents in the test suite.  But the base types in the restrictions in the schema are not namespace qualified and thus the base types are not in the correct namespace.  For example:

   
<simpleType name="boundedString50">
       
<restriction base="string">
           
<maxLength value="49"/>
       
</restriction>
   
</simpleType>

Proposal:

Define the standard schema namespace:

   
xmlns:xsd="http://www.w3.org/2001/XMLSchema"

and update the definitions to use the xsd prefix like this:

   
<simpleType name="boundedString50">
       
<restriction base="xsd:string">
           
<maxLength value="49"/>
       
</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]