sca-c-cpp message
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
| [List Home]
Subject: NEW ISSUE: Restriction base types have incorrect namespace
- From: Bryan Aupperle <aupperle@us.ibm.com>
- To: sca-c-cpp@lists.oasis-open.org
- Date: Wed, 5 May 2010 09:12:54 -0400
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]