File: y.xsd

package info (click to toggle)
eclipse-emf 2.5.0-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 50,964 kB
  • sloc: java: 407,889; xml: 7,165; sh: 200; makefile: 13
file content (14 lines) | stat: -rwxr-xr-x 753 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:x="http://www.example.com/X" xmlns:y="http://www.example.com/Y" ecore:documentRoot="YDocumentRoot" ecore:nsPrefix="y" ecore:package="com.example.y" targetNamespace="http://www.example.com/Y">
  <xsd:import namespace="http://www.example.com/X" schemaLocation="x.xsd"/>
  <xsd:element name="y" substitutionGroup="x:x" type="y:Y"/>
  <xsd:complexType name="Y">
    <xsd:complexContent>
      <xsd:extension base="x:X">
        <xsd:sequence>
          <xsd:element name="b" type="xsd:string"/>
        </xsd:sequence>
      </xsd:extension>
    </xsd:complexContent>
  </xsd:complexType>
</xsd:schema>