Changeset 2824


Ignore:
Timestamp:
17/08/07 12:34:48 (12 years ago)
Author:
lawrence
Message:

Modified schema for NumSim to support xhtml

Location:
TI01-discovery/trunk/schema/numsim
Files:
2 added
1 edited

Legend:

Unmodified
Added
Removed
  • TI01-discovery/trunk/schema/numsim/NumSim.xsd

    r2657 r2824  
    22<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xlink="http://www.w3.org/1999/xlink" 
    33    xmlns:gco="http://www.isotc211.org/2005/gco" xmlns:gmd="http://www.isotc211.org/2005/gmd" 
    4     xmlns:moles="http://ndg.nerc.ac.uk/moles" version="009"> 
     4    xmlns:moles="http://ndg.nerc.ac.uk/moles" xmlns:xhtml="http://www.w3.org/1999/xhtml"> 
    55    <xs:annotation> 
    6         <xs:documentation>Author: Bryan Lawrence; Version Date: Jun 28, 2007</xs:documentation> 
     6        <xs:documentation> V009b BNL, August 17, 2007:  
     7           Adding xhtml support in some places.</xs:documentation> 
     8        <xs:documentation> V009 Author: Bryan Lawrence; Version Date: Jun 28, 2007</xs:documentation> 
    79        <xs:documentation> Previous Version: Bryan Lawrence, Feb 20 2007, May 10th, 2006 </xs:documentation> 
    810        <xs:documentation>The expectation is that this schema will be used initially by import into 
     
    5254        schemaLocation="../iso19139/gml3.1.1version/gmd/citation.xsd"/> 
    5355    <xs:import namespace="http://ndg.nerc.ac.uk/moles" 
    54         schemaLocation="http://ndg.nerc.ac.uk/schema/moles_1.2.5.xsd"/> 
     56        schemaLocation="http://ndg.nerc.ac.uk/schema/ndgmetadata1.3.3.xsd"/> 
    5557    <xs:attributeGroup name="NS_xlink"> 
    5658        <xs:annotation> 
     
    6466    </xs:attributeGroup> 
    6567    <xs:complexType name="NS_Link"> 
    66         <xs:all> 
    67             <xs:element name="NS_NumSimDoc" type="moles:dgMetadataIDType" minOccurs="0"/> 
    68         </xs:all> 
    6968        <xs:attributeGroup ref="NS_xlink"/> 
    7069    </xs:complexType> 
     
    7574        <xs:sequence> 
    7675            <xs:element name="NS_Relationship" minOccurs="1" maxOccurs="1" type="xs:string"/> 
    77             <xs:element name="NS_LinkTarget" type="NS_Link"/> 
    78         </xs:sequence> 
     76        </xs:sequence> 
     77        <xs:attributeGroup ref="NS_xlink"/> 
    7978    </xs:complexType> 
    8079    <xs:complexType name="NS_Description" mixed="true"> 
    8180        <xs:sequence> 
     81            <xs:any namespace="xhtml" minOccurs="0" maxOccurs="unbounded" processContents="lax"/> 
    8282            <xs:element name="NS_RelatedURI" type="NS_RelatedTo" minOccurs="0" maxOccurs="unbounded" 
    8383            /> 
     
    270270            <xs:element name="NS_Name" type="xs:string" minOccurs="1" maxOccurs="1"/> 
    271271            <xs:element name="NS_Category" type="NS_ModelCategories" minOccurs="0" 
    272                 maxOccurs="unbounded"/> 
     272            maxOccurs="unbounded"/> 
    273273            <xs:element name="NS_ComponentType" type="NS_ModelComponents" minOccurs="0" 
    274274                maxOccurs="unbounded"/> 
     
    316316    </xs:complexType> 
    317317    <xs:complexType name="NS_NumSim"> 
    318         <xs:sequence> 
     318        <xs:all> 
    319319            <xs:element name="NS_CodeBase" type="NS_CodeBase"/> 
    320320            <xs:element name="NS_Experiment" type="NS_Experiment"/> 
    321         </xs:sequence><xs:attribute name="Version"></xs:attribute> 
     321        </xs:all> 
     322        <xs:attribute name="Version"/> 
    322323    </xs:complexType> 
    323324    <xs:element name="NS_Simulated" type="NS_NumSim"/> 
Note: See TracChangeset for help on using the changeset viewer.