[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: ISSUE 164: Sanity Checks on XSD files
<?xml version="1.0" encoding="UTF-8"?> <!-- /** * <copyright> * * Service Data Objects * Version 3.0 * Licensed Materials * * (c) Copyright BEA Systems, Inc., International Business Machines Corporation, * Oracle Corporation, Primeton Technologies Ltd., Rogue Wave Software, SAP AG., * Software AG., Sun Microsystems, Sybase Inc., Xcalia, Zend Technologies, * 2005-2008. All rights reserved. * * </copyright> * */ --> <xsd:schema targetNamespace="http://docs.oasis-open.org/ns/opencsa/sdo/xml/200812" xmlns:sdox="http://docs.oasis-open.org/ns/opencsa/sdo/xml/200812" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <!-- These attributes are used to customize the XSD mapping of SDO Types and Properties. --> <xsd:attribute name="name" type="xsd:string" /> <xsd:attribute name="propertyType" type="xsd:QName" /> <xsd:attribute name="oppositeProperty" type="xsd:string" /> <xsd:attribute name="sequence" type="xsd:boolean" /> <xsd:attribute name="string" type="xsd:boolean" /> <xsd:attribute name="dataType" type="xsd:QName" /> <xsd:attribute name="aliasName" type="xsd:string" /> <xsd:attribute name="readOnly" type="xsd:boolean" /> <xsd:attribute name="many" type="xsd:boolean" /> <xsd:attribute name="orphanHolder" type="xsd:boolean" /> <xsd:attribute name="key" type="xsd:boolean" /> <xsd:attribute name="embeddedKey" type="xsd:boolean" /> <xsd:attribute name="keyType" type="xsd:QName" /> <!-- Global properties used in open content for the XML binding of SDO Types and Properties. --> <xsd:attribute name="xmlElement" type="xsd:boolean"/> <!-- XMLInfo deprecated in 2.1.0 --> <xsd:complexType name="XMLInfo"> <xsd:attribute name="xmlElement" type="xsd:boolean"/> </xsd:complexType> </xsd:schema>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:sdo="http://docs.oasis-open.org/ns/opencsa/sdo/200812" xmlns:sdox="http://docs.oasis-open.org/ns/opencsa/sdo/xml/200812" targetNamespace="http://docs.oasis-open.org/ns/opencsa/sdo/200812"> <xsd:element name="datagraph" type="sdo:DataGraphType"/> <xsd:complexType name="DataGraphType"> <xsd:sequence> <xsd:element ref="sdo:metamodel" minOccurs="0"/> <xsd:element name="changeSummary" type="sdo:ChangeSummaryType" minOccurs="0"/> <xsd:element name="orphans" type="xsd:anyType" minOccurs="0" maxOccurs="unbounded" sdox:orphanHolder="true"/> <xsd:any minOccurs="0" maxOccurs="1" namespace="##other" processContents="lax"/> </xsd:sequence> <xsd:anyAttribute namespace="##other" processContents="lax"/> </xsd:complexType> <xsd:element name="metamodel" type="xsd:anyType" abstract="true"/> <xsd:element name="xsd" type="sdo:XSDType" substitutionGroup="sdo:metamodel"/> <xsd:complexType name="XSDType"> <xsd:annotation> <xsd:documentation> Expected type is xsd:schema. </xsd:documentation> </xsd:annotation> <xsd:sequence> <xsd:any minOccurs="0" maxOccurs="unbounded" namespace="http://www.w3.org/2001/XMLSchema" processContents="lax"/> </xsd:sequence> </xsd:complexType> <xsd:complexType name="ChangeSummaryType"> <xsd:sequence> <xsd:any minOccurs="0" maxOccurs="unbounded" namespace="##any" processContents="skip"/> </xsd:sequence> <xsd:attribute name="create" type="xsd:string"/> <xsd:attribute name="delete" type="xsd:string"/> <xsd:attribute name="logging" type="xsd:boolean"/> </xsd:complexType> <xsd:attribute name="ref" type="xsd:string"/> <xsd:attribute name="unset" type="xsd:string"/> </xsd:schema>
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]