← Prev in month ← Prev in thread

NEW ISSUE: Restriction base types have incorrect namespace

From
Bryan Aupperle <>
Date
2010-05-05T13:13:17+00:00
ID
Thread
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: 
← Prev in month ← Prev in thread