Changeset 4831 for ndgCommon/trunk


Ignore:
Timestamp:
19/01/09 10:12:57 (11 years ago)
Author:
cbyrom
Message:

Add xml schema to eXist and adjust the atom schemata to allow use of
this and to allow specification of xhtml elements in the content elements.

Location:
ndgCommon/trunk/ndg/common/xmldb/schema
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • ndgCommon/trunk/ndg/common/xmldb/schema/atom1.0.xsd

    r4793 r4831  
    11<?xml version="1.0" encoding="utf-8" ?> 
    22<xs:schema targetNamespace="http://www.w3.org/2005/Atom" elementFormDefault="qualified"  
    3         attributeFormDefault="unqualified" 
     3        attributeFormDefault="unqualified"  
    44        xmlns:atom="http://www.w3.org/2005/Atom" xmlns:xs="http://www.w3.org/2001/XMLSchema"> 
    55        <xs:annotation> 
     
    99                        </xs:documentation> 
    1010        </xs:annotation> 
    11         <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="http://www.w3.org/2001/03/xml.xsd" /> 
     11        <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="xml.xsd" /> 
    1212        <xs:annotation> 
    1313                <xs:documentation> 
     
    123123                </xs:annotation> 
    124124                <xs:sequence> 
    125                         <xs:any namespace="##other" minOccurs="0" maxOccurs="unbounded" processContents="lax"/> 
     125                        <xs:any namespace="http://www.w3.org/1999/xhtml ##targetNamespace" minOccurs="0" maxOccurs="unbounded" processContents="skip"/> 
    126126                </xs:sequence> 
    127127                <xs:attribute name="type" type="xs:string"/> 
  • ndgCommon/trunk/ndg/common/xmldb/schema/molesAtom1.0.xsd

    r4810 r4831  
    1414        - if you are running in an exist client, it is needed, tho' - NB, could not get things working with 
    1515        this schema stored locally --> 
    16     <!-- xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="xml.xsd" /--> 
     16    <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="xml.xsd" /> 
    1717    <xs:import namespace="http://www.georss.org/georss/10" schemaLocation="georss.xsd" /> 
    1818    <xs:import namespace="http://ndg.nerc.ac.uk/schema/moles2beta" schemaLocation="moles2.0.xsd" /> 
Note: See TracChangeset for help on using the changeset viewer.