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

60 lines
2.6 KiB
XML
Executable File

<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://xml.netbeans.org/schema/customenc" xmlns:enc="urn:com.sun:encoder" xmlns:tns="http://xml.netbeans.org/schema/customenc" 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">
<urn:top xmlns:urn="urn:com.sun:encoder" xmlns:enc="urn:com.sun:encoder">true
</urn:top>
<urn:nodeProperties xmlns:urn="urn:com.sun:encoder-custom-1.0" xmlns:enc="urn:com.sun:encoder">
<urn:nodeType>group</urn:nodeType>
</urn:nodeProperties>
</xsd:appinfo>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element name="main" minOccurs="1" maxOccurs="unbounded">
<xsd:annotation>
<xsd:appinfo source="urn:com.sun:encoder">
<urn:nodeProperties xmlns:urn="urn:com.sun:encoder-custom-1.0">
<urn:nodeType>group</urn:nodeType>
<urn:order>any</urn:order>
</urn:nodeProperties>
</xsd:appinfo>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element name="one" type="xsd:string">
<xsd:annotation>
<xsd:appinfo source="urn:com.sun:encoder">
<urn:nodeProperties xmlns:urn="urn:com.sun:encoder-custom-1.0">
<urn:nodeType>fixedLength</urn:nodeType>
<urn:match>A</urn:match>
<urn:length>1</urn:length>
</urn:nodeProperties>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="two" type="xsd:string">
<xsd:annotation>
<xsd:appinfo source="urn:com.sun:encoder">
<urn:nodeProperties xmlns:urn="urn:com.sun:encoder-custom-1.0">
<urn:nodeType>fixedLength</urn:nodeType>
<urn:match>B</urn:match>
<urn:length>1</urn:length>
</urn:nodeProperties>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>