openesb-components/ojc-core/encodersl/encoder-custom/test/data/c036.xsd

114 lines
5.0 KiB
XML
Executable File

<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://xml.netbeans.org/schema/test" xmlns:enc="urn:com.sun:encoder" targetNamespace="http://xml.netbeans.org/schema/test" elementFormDefault="qualified">
<xsd:annotation>
<xsd:appinfo source="urn:com.sun:encoder">
<enc:encoding name="Custom Encoding" namespace="urn:com.sun:encoder-custom-1.0" style="customencoder-1.0"/>
</xsd:appinfo>
</xsd:annotation>
<xsd:element name="root">
<xsd:annotation>
<xsd:appinfo source="urn:com.sun:encoder">
<top xmlns="urn:com.sun:encoder">true</top>
<nodeProperties xmlns="urn:com.sun:encoder-custom-1.0">
<nodeType>group</nodeType>
<order>sequence</order>
</nodeProperties>
</xsd:appinfo>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element name="groupNode1">
<xsd:annotation>
<xsd:appinfo source="urn:com.sun:encoder">
<nodeProperties xmlns="urn:com.sun:encoder-custom-1.0">
<nodeType>group</nodeType>
<order>sequence</order>
</nodeProperties>
</xsd:appinfo>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element name="fixed1">
<xsd:annotation>
<xsd:appinfo source="urn:com.sun:encoder">
<nodeProperties xmlns="urn:com.sun:encoder-custom-1.0">
<nodeType>fixedLength</nodeType>
<order>sequence</order>
<alignment>blind</alignment>
</nodeProperties>
</xsd:appinfo>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element name="fixedField1" type="xsd:string">
<xsd:annotation>
<xsd:appinfo source="urn:com.sun:encoder">
<nodeProperties xmlns="urn:com.sun:encoder-custom-1.0">
<nodeType>fixedLength</nodeType>
<alignment>blind</alignment>
<length>10</length>
</nodeProperties>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="fixedField2" type="xsd:string">
<xsd:annotation>
<xsd:appinfo source="urn:com.sun:encoder">
<nodeProperties xmlns="urn:com.sun:encoder-custom-1.0">
<nodeType>fixedLength</nodeType>
<alignment>blind</alignment>
<length>2</length>
<offset>12</offset>
<position>0</position>
</nodeProperties>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="fixed2">
<xsd:annotation>
<xsd:appinfo source="urn:com.sun:encoder">
<nodeProperties xmlns="urn:com.sun:encoder-custom-1.0">
<nodeType>fixedLength</nodeType>
<order>sequence</order>
<alignment>blind</alignment>
</nodeProperties>
</xsd:appinfo>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element name="fixedField1" type="xsd:string">
<xsd:annotation>
<xsd:appinfo source="urn:com.sun:encoder">
<nodeProperties xmlns="urn:com.sun:encoder-custom-1.0">
<nodeType>fixedLength</nodeType>
<alignment>blind</alignment>
<length>10</length>
</nodeProperties>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="fixedField2" type="xsd:string">
<xsd:annotation>
<xsd:appinfo source="urn:com.sun:encoder">
<nodeProperties xmlns="urn:com.sun:encoder-custom-1.0">
<nodeType>fixedLength</nodeType>
<alignment>blind</alignment>
<length>15</length>
</nodeProperties>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>