Jump to: navigation, search

Difference between revisions of "Eclipse Build Available RSS Schema"

m (build.xsd)
m (atom10_build.xsd)
Line 3: Line 3:
 
== atom10_build.xsd ==
 
== atom10_build.xsd ==
  
<pre>
+
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
+
<xs:schema xmlns:atom="http://www.w3.org/2005/Atom" xmlns:bf="http://www.eclipse.org/2006/BuildFeed"  
<xs:schema xmlns:atom="http://www.w3.org/2005/Atom" xmlns:bf="http://www.eclipse.org/2006/BuildFeed"  
+
  xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"  
  xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"  
+
  targetNamespace="http://www.w3.org/2005/Atom">
  targetNamespace="http://www.w3.org/2005/Atom">
+
  <xs:import namespace="http://www.eclipse.org/2006/BuildFeed" schemaLocation="[http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/schema/?only_with_tag=releng_test '''''build.xsd''''']"/>
  <xs:import namespace="http://www.eclipse.org/2006/BuildFeed" schemaLocation="build.xsd"/>
+
    
 
+
  <xs:element name="feed">
   <xs:element name="feed">
+
    <xs:complexType>
    <xs:complexType>
+
      <xs:sequence>
      <xs:sequence>
+
        <xs:element ref="atom:title"/>
        <xs:element ref="atom:title"/>
+
        <xs:element ref="atom:link"/>
        <xs:element ref="atom:link"/>
+
        <xs:element ref="atom:updated"/>
        <xs:element ref="atom:updated"/>
+
        <xs:element ref="atom:author"/>
        <xs:element ref="atom:author"/>
+
        <xs:element ref="atom:id"/>
        <xs:element ref="atom:id"/>
+
        <xs:element maxOccurs="unbounded" ref="atom:entry"/>
        <xs:element maxOccurs="unbounded" ref="atom:entry"/>
+
      </xs:sequence>
      </xs:sequence>
+
    </xs:complexType>
    </xs:complexType>
+
  </xs:element>
  </xs:element>
+
  <xs:element name="author">
  <xs:element name="author">
+
    <xs:complexType>
    <xs:complexType>
+
      <xs:sequence>
      <xs:sequence>
+
        <xs:element ref="atom:name"/>
        <xs:element ref="atom:name"/>
+
      </xs:sequence>
      </xs:sequence>
+
    </xs:complexType>
    </xs:complexType>
+
  </xs:element>
  </xs:element>
+
  <xs:element name="name" type="xs:string"/>
  <xs:element name="name" type="xs:string"/>
+
  <xs:element name="entry">
  <xs:element name="entry">
+
    <xs:complexType>
    <xs:complexType>
+
      <xs:sequence>
      <xs:sequence>
+
        <xs:element ref="atom:title"/>
        <xs:element ref="atom:title"/>
+
        <xs:element ref="atom:link"/>
        <xs:element ref="atom:link"/>
+
        <xs:element ref="atom:id"/>
        <xs:element ref="atom:id"/>
+
        <xs:element ref="atom:updated"/>
        <xs:element ref="atom:updated"/>
+
        <xs:element ref="atom:summary"/>
        <xs:element ref="atom:summary"/>
+
      </xs:sequence>
      </xs:sequence>
+
    </xs:complexType>
    </xs:complexType>
+
  </xs:element>
  </xs:element>
+
  <xs:element name="summary">
  <xs:element name="summary">
+
    <xs:complexType>
    <xs:complexType>
+
      <xs:sequence>
      <xs:sequence>
+
        <xs:element maxOccurs="1" minOccurs="1" ref="bf:build"/>
        <xs:element maxOccurs="1" minOccurs="1" ref="bf:build"/>
+
      </xs:sequence>
      </xs:sequence>
+
    </xs:complexType>
    </xs:complexType>
+
  </xs:element>
  </xs:element>
+
    
 
+
  <xs:element name="title" type="xs:string"/>
   <xs:element name="title" type="xs:string"/>
+
  <xs:element name="link">
  <xs:element name="link">
+
    <xs:complexType>
    <xs:complexType>
+
      <xs:attribute name="href" type="xs:anyURI" use="required"/>
      <xs:attribute name="href" type="xs:anyURI" use="required"/>
+
      <xs:attribute name="rel" type="xs:NCName"/>
      <xs:attribute name="rel" type="xs:NCName"/>
+
      <xs:attribute name="type"/>
      <xs:attribute name="type"/>
+
    </xs:complexType>
    </xs:complexType>
+
  </xs:element>
  </xs:element>
+
  <xs:element name="updated" type="xs:NMTOKEN"/>
  <xs:element name="updated" type="xs:NMTOKEN"/>
+
  <xs:element name="id" type="xs:anyURI"/>
  <xs:element name="id" type="xs:anyURI"/>
+
</xs:schema>
</xs:schema>
+
</pre>
+
  
 
== build.xsd ==
 
== build.xsd ==
  
 
For the latest, see [http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/schema/?only_with_tag=releng_test /cvsroot/eclipse/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/schema]
 
For the latest, see [http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/schema/?only_with_tag=releng_test /cvsroot/eclipse/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/schema]

Revision as of 16:03, 31 May 2006

Latest XML Schema for the Eclipse.org RSS feeds for announcing available builds:

atom10_build.xsd

<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:atom="http://www.w3.org/2005/Atom" xmlns:bf="http://www.eclipse.org/2006/BuildFeed" 
  xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" 
  targetNamespace="http://www.w3.org/2005/Atom">
  <xs:import namespace="http://www.eclipse.org/2006/BuildFeed" schemaLocation="build.xsd"/>
 
  <xs:element name="feed">
    <xs:complexType>
      <xs:sequence>
        <xs:element ref="atom:title"/>
        <xs:element ref="atom:link"/>
        <xs:element ref="atom:updated"/>
        <xs:element ref="atom:author"/>
        <xs:element ref="atom:id"/>
        <xs:element maxOccurs="unbounded" ref="atom:entry"/>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="author">
    <xs:complexType>
      <xs:sequence>
        <xs:element ref="atom:name"/>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="name" type="xs:string"/>
  <xs:element name="entry">
    <xs:complexType>
      <xs:sequence>
        <xs:element ref="atom:title"/>
        <xs:element ref="atom:link"/>
        <xs:element ref="atom:id"/>
        <xs:element ref="atom:updated"/>
        <xs:element ref="atom:summary"/>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="summary">
    <xs:complexType>
      <xs:sequence>
        <xs:element maxOccurs="1" minOccurs="1" ref="bf:build"/>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
 
  <xs:element name="title" type="xs:string"/>
  <xs:element name="link">
    <xs:complexType>
      <xs:attribute name="href" type="xs:anyURI" use="required"/>
      <xs:attribute name="rel" type="xs:NCName"/>
      <xs:attribute name="type"/>
    </xs:complexType>
  </xs:element>
  <xs:element name="updated" type="xs:NMTOKEN"/>
  <xs:element name="id" type="xs:anyURI"/>
</xs:schema>

build.xsd

For the latest, see /cvsroot/eclipse/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/schema